[NTG-context] 1/2 symbol
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Wed Mar 4 10:40:47 CET 2009
Am 04.03.2009 um 10:32 schrieb Thomas A. Schmitz:
> On Mar 4, 2009, at 10:26 AM, Vyatcheslav Yatskovsky wrote:
>
>> Hello,
>>
>> Easy question: how to get 1/2 symbol without entering math mode
>> (using Minion Pro font)?
>
> Have you tried \onehalf or ½ (in mkiv)?
What the combination to get ½ on a mac?
Another way is to use the 'frac' feature.
\definefontfeature[frac][default][script=latn,frac=yes]
\definefont[minion][name:minionproregular*default]
\def\utffrac{\groupedcommand{\setfontfeature{frac}}{}}
\starttext
\minion 1/2 \utffrac{1/2} 1/2 \utffrac{12345/6789} 12345/6789
\stoptext
Wolfgang
More information about the ntg-context
mailing list