[XeTeX] xelatex + beamer + fontspec: result is not as expected

Jonathan Kew jonathan at jfkew.plus.com
Wed Feb 25 17:36:20 CET 2009


On 25 Feb 2009, at 13:31, Wilfred van Rooijen wrote:

> Hi all,
>
> After some testing, I have found the result that the line
>
> \def\familydefault{\rmdefault}
>
> is the essential part. Why is this necessary?

Because beamer defaults to using the sans family. I guess the "beamer  
way" to change this would be to say

   \usefonttheme{serif}

though I haven't tried this myself. Personally, I just do

   \setsansfont[Mapping=tex-text]{Optima}

or whatever....

JK



More information about the XeTeX mailing list