# [XeTeX] math fonts in beamer documents

VAFA KHALIGHI vafa.khalighi at students.mq.edu.au
Thu Nov 13 09:44:32 CET 2008

if we make a beamer document like

%%%%%%%%%%%%%%%%%
\documentclass{beamer}
\usepackage{unicode-math}
\setmathfont{Cambria Math}
\begin{document}
\begin{frame}
$$1234$$
\end{frame}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%

Then the maths font does not change to Cambria Math, but if we just put
\setmathfont{Cambria Math} after \begin{document}, then it changes the math
font to Cambria Math. Obviously beamer is doing some things here which at
the moment I do not understand. My question is what can I do so that in the
example above the maths font will be Cambria Math ? (of course without
putting \setmathfont{Cambria Math} after \begin{document})

Thanks
--
Life is not empty,
There is kindness, there is apple and there is faith

One day will come,
and to a mendicant I will endow a jasmine''

-- Sohrab Sepehri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20081113/1b2a2eb7/attachment.html