[XeTeX] Em-dash
Herbert Schulz
herbs at wideopenwest.com
Fri Apr 30 16:54:26 CEST 2010
On Apr 30, 2010, at 9:16 AM, José Carlos Santos wrote:
> Hi all (yes, it's me again!):
>
> If I compile this file:
>
> \documentclass{article}
> \pagestyle{empty}
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> \begin{document}
> ---
> \end{document}
>
> with XeLaTeX, then I get a PDF file which contains a single character, namely an em-dash. But if I add, say, \setmainfont{Arial} before \begin{document}, then what I get is ---. Why? Do I have to use \textemdash instead?
>
> Best regards,
>
> Jose Carlos Santos
Howdy,
\setmainfont[Mapping=tex-text]{Arial}
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the XeTeX
mailing list