# [XeTeX] dealing with \$ character

Stephen Moye stephenmoye at mac.com
Wed Jul 7 19:21:03 CEST 2004

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. I'm interested because I went off on a tangent trying to do some clever things to redefine \$ -- silly in the face of Hans' simple suggestion. I'm pretty sure that this should be possible even in LaTeX.

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

>
>On Jul 7, 2004, at 12:08 PM, Hans Hagen wrote:
>
>>> Following from previous discussion, is there a way that I can get TeX
>>> to accept the \$ character without having to do \\$?  My source is XML,
>>> so it's not convenient to modify there, or in the XSLT.
>>
>> \catcode`\\$=12
>
>Thanks Hans, but this -- in the preamble -- doesn't seem to work.  Is
>there something else I need to do?
>
>I just want to be able to typeset "\$4000".
>
>Bruce
>
>_______________________________________________
>XeTeX mailing list
>postmaster at tug.org
>http://tug.org/mailman/listinfo/xetex
>
>