You might not like the inline fraction displayed in a vertical layout. Just use Slashion to convert it to a slash fraction.
#import "@preview/slashion:0.1.1": slash-frac
#show math.equation.where(block: false): slash-frac
You may also use it solely
#import "@preview/slashion:0.1.1": slash-frac as sfrac
$sfrac(1/2)$, $sfrac(3, 4)$ or even $sfrac((5 + 6) / 7 + 8)$ are acceptable.
Notice
- This function converts only the outermoest fraction.
- This function has an option to turn off the auto parenthesizing feature:
slash-frac.with(parens: false)