[XeTeX] xelatex + beamer + fontspec: result is not as expected
Wilfred van Rooijen
wvanrooijen at yahoo.com
Wed Feb 25 14:31:33 CET 2009
Hi all,
After some testing, I have found the result that the line
\def\familydefault{\rmdefault}
is the essential part. Why is this necessary? I've also added
\usepackage[no-math]{fontspec}
so I get Latin Modern in the equations, which I prefer.
Thanks for your help!
Wilfred
--- On Wed, 2/25/09, وفا خلیقی <vafakh9 at gmail.com> wrote:
> From: وفا خلیقی <vafakh9 at gmail.com>
> Subject: Re: [XeTeX] xelatex + beamer + fontspec: result is not as expected
> To: "Unicode-based TeX for Mac OS X and other platforms" <xetex at tug.org>
> Date: Wednesday, February 25, 2009, 12:56 AM
> Hi
>
> This is the code you would need:
>
> %%%%%%%%%%%%%%%%%%%%%
> \documentclass{beamer}
> \usepackage{fontspec}
> \def\familydefault{\rmdefault}
> \setmainfont[Scale=1,Mapping=tex-text]{Junicode}
> \begin{document}
> \begin{frame}{This is a Test..!}
> This is just a test..!
> \end{frame}
> \end{document}
> %%%%%%%%%%%%%%%%%%%%%%%%
>
> Hope this helps
>
> -- VK
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
More information about the XeTeX
mailing list