[XeTeX] Maths and Symbols in Latex

Jonathan Kew jonathan_kew at sil.org
Wed Jun 30 20:54:00 CEST 2004

On 30 Jun 2004, at 11:45 am, Jon Breitenbucher wrote:

> On Jun 30, 2004, at 2:21 PM, Jonathan Kew wrote:
>> I'd recommend using {\char"2022} rather than {\XeTeXglyph...} <snip>
> Strange, when I do \renewcommand{\textdollar}{\char"0024} I must enter 
> {\textdollar}100,000 in the source or I get an error
> ! Bad character code (147712).
> <to be read again>
>                    ,
> l.67 ...e ground".   Carnegie gave \textdollar 100,
>                                                   000   to help rebuild
> ?

Ah, yes. (That would mess up a \XeTeXglyph-based definition too, btw.)

That should ensure that as TeX is reading the number, it stops where 
you want and doesn't continue reading if the macro happens to be 
followed by digits.

Or you could use
as the ^^^^ notation reads exactly 4 hex digits, if I remember right.

(147712 is the decimal equivalent of hex 0024100, in case you wondered 
where that came from.)


More information about the XeTeX mailing list