[XeTeX] fontspec, fractions, and parens

Scott Murman smurman at segosha.net
Mon Nov 19 05:59:23 CET 2007


>   xunicode.sty  gives you macros for some of these:
>
> \DeclareUTFcharacter[\UTFencname]{x00BC}{\textonequarter}
> \DeclareUTFcharacter[\UTFencname]{x00BD}{\textonehalf}
> \DeclareUTFcharacter[\UTFencname]{x00BE}{\textthreequarters}
>
> Does this meet your requirements?

thanks, that was what i envisioned, except that to get the spacing to  
work correctly one needs to enclose them in braces, which seems like  
it could be handled directly via the definition, perhaps as

\DeclareUTFcharacter[\UTFencname]{x00BC}{\_textonequarter}
\def\textonequarter{{\_textonequarter}}

or similar

why isn't the extended list of fractions you quoted included in the  
xunicode package?

-SM-



More information about the XeTeX mailing list