# [XeTeX] dealing with \$ character

Stephen Moye stephenmoye at mac.com
Wed Jul 7 20:08:44 CEST 2004

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.

On Wednesday, July 07, 2004, at 01:39PM, Bruce D'Arcus <bdarcus at fastmail.fm> wrote:

>
>On Jul 7, 2004, at 1:21 PM, Stephen Moye wrote:
>
>> Then there must be more here than meets the eye because I just
>> implemented Hans' suggestion in a small project of my own and it works
>> perfectly.
>
>Yeah, turns out I was looking at the wrong xsl file.  Sorry for the
>noise.
>
>What does this code actually say, just in case I need to deal with
>other characters this way?
>
>\catcode`\\$=12
>
>Bruce
>
>_______________________________________________
>XeTeX mailing list
>postmaster at tug.org
>http://tug.org/mailman/listinfo/xetex
>
>