[XeTeX] Quotation marks

Ulrike Fischer news3 at nililand.de
Wed Jun 8 12:50:15 CEST 2011


Am Wed, 08 Jun 2011 11:31:48 +0100 schrieb José Carlos Santos:

> Hi all,
> 
> Can someone please explain why is it that if I compile the document:
> 
> \documentclass{article}
> \usepackage{fontspec,lmodern}
> \usepackage[T1]{fontenc}
> \begin{document}
> «A»
> \end{document}
> 
> what I get is
> 
> ńAż
> 
> instead of
> 
> «A» ?

Because you are using T1 font encoding. For xetex you should use
EU1. If you need fontenc for one or the other reason (you don't need
it in your example) load it before fontspec. Remove also the lmodern
package. fontspec already use this fonts as default.


-- 
Ulrike Fischer 



More information about the XeTeX mailing list