[XeTeX] Accented gliphs

Will Robertson wspr81 at gmail.com
Thu May 15 12:29:00 CEST 2008


On 15/05/2008, at 7:43 PM, Jacob Zimbarg Sobrinho wrote:

> \usepackage[latin1]{inputenc}

Don't use inputenc in XeTeX. Load xunicode instead, and ensure that  
you're using a font that contains the accents.

E.g.,

\documentclass{article}
\usepackage{xltxtra}
\begin{document}
\setmainfont{Charis SIL}
Line 1: á é í ó ú à è â ê\par
Line 2: \'a \'e  \'\i{}  \'o \'u \`a \`e  \^a \^e
\end{document}

Hope this helps,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080515/86556905/attachment.bin 


More information about the XeTeX mailing list