[XeTeX] Diacritics

Ulrike Fischer news3 at nililand.de
Tue May 4 09:39:50 CEST 2010


Am Mon, 03 May 2010 23:52:42 +0100 schrieb José Carlos Santos:

> Your suggestion works. Thank you very much.

Then this should work too: (the first will naturally redefine \' for
all fonts, but as you can see you can use another command if you
want):

\documentclass{article}
\usepackage{xltxtra}
\setmainfont{Arial}
\DeclareTextAccent{\'}{EU1}{"00B4}
\DeclareTextAccent{\myacc}{EU1}{"00B4}
\begin{document}
n  \'n \myacc n
\end{document}


> 
> You were able to get this solution because you knew that "\char"00B4 is 
> the acute accent as Unicode has it". Where can I find this information 
> for other accents?

Well you can look at the table at unicode.org. But in general I
simply google for "unicode accent acute".


-- 
Ulrike Fischer 



More information about the XeTeX mailing list