[NTG-context] Text inline fractions

Thomas Fehige thomas at fehige.de
Sat Jun 25 20:33:50 CEST 2016


Lovely, thanks Wolfgang! (Wish I knew how to find such things on my 
own.) Cheers -- Thomas

Am 22.06.2016 um 15:45 schrieb Wolfgang Schuster:
>> 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
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


More information about the ntg-context mailing list