Thomas Fehige
22. Juni 2016 um 14:34
Is there a clean and easy way in mkiv to create text inline fractions with a slash; something like 1{}^1/_2 to mean one and a half?
\definefontfeature[fraction][frac=yes]
\definehighlight[textfraction][style={\feature[+][fraction]}]

\starttext

\m{1\vfrac{1}{2}}

1\textfraction{1/2}

\stoptext

Wolfgang