[XeTeX] escaping dollars

Pablo Rodríguez oinos at web.de
Tue Feb 6 20:03:09 CET 2007


Jonathan Kew wrote:
> 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).

Thanks Jonathan, it works when mapping it to text-tex.


Pablo


More information about the XeTeX mailing list