[XeTeX] dealing with $ character

Bruno Voisin bvoisin at mac.com
Wed Jul 7 21:42:25 CEST 2004


Le 7 juil. 04, à 20:08, Stephen Moye a écrit :

> Catcodes tell TeX the function of a particular character. Normally $ 
> has a catcode of 3 which tels TeX that math is being typed in. A 
> catcode of 12 tells TeX to treat this as an "other" character with no 
> special significance -- just print it. There is a list of the catcodes 
> and their significance in The TeXBook, p 37.

In case you (Bruce) are more accustomed to LaTeX than plain TeX, you 
may be more familiar with the commands \makeatletter and \makeatother, 
defined in latex.ltx as:

\def\makeatletter{\catcode`\@11\relax}
\def\makeatother{\catcode`\@12\relax}

Bruno Voisin




More information about the XeTeX mailing list