[XeTeX] Beamer and xelatex (or rather fontspec)

Axel Kielhorn tex at axelkielhorn.de
Sun Jun 10 08:45:15 CEST 2012


Am 10.06.2012 um 07:55 schrieb Nathan Sidoli:

> It seems like fontspec and beamer don't play well together.
> 
> I have included a minimal example, below.

> Any ideas would be welcome.
> 
> \documentclass{beamer}
> 
> %%
> %% Comment out the next three lines to see changes
> %%
> \usepackage{fontspec}
> \setmainfont[Mapping=tex-text]{Brill}
> \setsansfont{Brill}

You define [Mapping=tex-text] for the main (roman) font.
But Beamer uses the sansfont which doesn't have this mapping.

> \frametitle{Second frame}
> Without fontspec double n-dashes will be joined into one m-dash -- like so -- but with fontspec, we have to use a unicode m-dash – viola. \\

Actually Viola can use the --- notations as long as she remembers to activate the mapping:-)

BTW, please create a new e-mail for a new question, do not use reply.
This has nothing to do with critical editions.

Axel




More information about the XeTeX mailing list