[XeTeX] escaping dollars

Jonathan Kew jonathan_kew at sil.org
Tue Feb 6 18:31:34 CET 2007


On 6 Feb 2007, at 5:25 pm, Pablo Rodríguez wrote:

> Using fontspec 1.13 (I guess), I get the wrong font when compiling the
> following document:
>
> \documentclass{article}
> \usepackage{fontspec}
> \setromanfont{Junicode}
> \begin{document}
> what's up \$
> \end{document}
>
> If I remove \$, only Junicode is inserted in the final document,  
> but if
> it isn't, I have the dollar character using a CM-like font.
>
> Is there any way to avoid this?

Try \usepackage{xunicode} ... I think that'll fix it (untested  
suggestion).

JK




More information about the XeTeX mailing list