How to write beveled fractions like ${}^a/_b$?
In contrast to $\frac{a}{b}$ and $a/b$ (see this question).
How to write beveled fractions like ${}^a/_b$?
In contrast to $\frac{a}{b}$ and $a/b$ (see this question).
There is the undocumented option Beveled
in the FractionBox
FractionBox[a, b, Beveled -> True] // DisplayForm
One can use Style
and FractionBoxOptions
to set Beveled
:
Plot[Sin[x], {x, -2 Pi, 2 Pi},
Ticks -> {Pi Range[-2, 2, 1/2], Automatic},
BaseStyle -> {FractionBoxOptions -> {Beveled -> True}}]
It doesn't look too good here, though:
This looks ok,
Style[3 Pi/2, FractionBoxOptions -> {Beveled -> True}]
but not in the "Label"
style,
Style[3 Pi/2, FractionBoxOptions -> {Beveled -> True}, "Label"]