[XeTeX] unicode euro symbol (€) in input file
Ulrike Fischer
news3 at nililand.de
Mon Dec 21 19:13:42 CET 2009
Am Mon, 21 Dec 2009 17:46:49 +0100 schrieb Jan Kanis:
> (I'm not quite sure if this is the right list for these kind of user
> questions. If not, please tell me which one is.)
>
> Is there a way to make XeTeX give the right output when it encounters a
> unicode euro symbol in it's input? i.e. do the same as the \euro
> command?
>
> I couldn't find anything online. I was thinking about defining the €
> character as a special character, just like $ and such, but I couldn't
> find how to do that. Is there a \defcharacter or something?
Well depends which symbol you want to get. If you want the symbol
from the current font it works out-of-the-box:
\documentclass{article}
\usepackage{fontspec}
\begin{document}
€
\end{document}
--
Ulrike Fischer
More information about the XeTeX
mailing list