[XeTeX] fontspec, fractions, and parens
Will Robertson
wspr81 at gmail.com
Sun Nov 18 23:55:48 CET 2007
On Nov 19, 2007 9:02 AM, Ross Moore <ross at ics.mq.edu.au> wrote:
> Maybe you are already using something like this, in which
> case there could be alternative outputs from a particular font.
> fontspec.sty offers access to these options:
>
> 861:\zf at define@font at feature{Fractions}
> 862:\zf at define@feature at option{Fractions}{On}{11}{1}{+frac}
> 863:\zf at define@feature at option{Fractions}{Off}{11}{0}{-frac}
> 864:\zf at define@feature at option{Fractions}{Diagonal}{11}{2}{}
> 865:\zf at define@feature at option{Fractions}{Alternate}{}{}{+afrc}
>
> provided they are supported in the font, of course.
Yep. There's also the Numerator and Denominator VerticalPosition
features. Then you'd glue them together with a fraction slash glyph.
See xltxtra's \vfrac for a macro that will create arbitrary "vulgar"
fractions if the font supports it...
Will
More information about the XeTeX
mailing list