[XeTeX] dealing with \$ character

Hans Hagen pragma at wxs.nl
Thu Jul 8 10:12:03 CEST 2004

```Jonathan Kew wrote:

> On 7 Jul 2004, at 11:40 pm, Jon Breitenbucher wrote:
>
>> I actually found that \\$ used the cm fonts to create the \$ glyph and
>> not Garamond Pro. That was my reason for starting the post about
>> \textdollar a while ago. I guess it is the same issue as \" and friends.
>>
>
> Well, in plain TeX \\$ is simply defined as \char"24, so it should
> print a dollar sign in any normal font. But LaTeX may do something
> different with it.

hm, the problem is that computer modern si non standard and that in some
cmr fonts there is a pound symbol instead; this is one of the reasons
why font systems in tex are often so complex ... they start with cmr and
then have to handle all kind of exceptions

Hans

-----------------------------------------------------------------