[NTG-context] Text inline fractions

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed Jun 22 15:45:30 CEST 2016


> Thomas Fehige <mailto:thomas at fehige.de>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160622/1cd054dd/attachment.html>


More information about the ntg-context mailing list