I'm trying to use unicode-math in XeLaTeX to use Asana Math in a beamer presentation, but I am unable to use select the font for letters in math mode. See the following MWE:


\setmainfont{Linux Libertine O}
\setmathfont{Asana Math}
%\setmathfont[range=\mathit]{Asana Math} % has no effect

    Maths font test:
    \item math letters display in Libertine: $abcdefghijklmnopqrtuvwxyz$
    \item math operators and blackboard letters display in Asana Math: $\int_{-\infty}^{+\infty} \sum \mathbb{E}$

Which results in the following:

enter image description here

The letters are displayed in Linux Libertine, instead of Asana Math. I tried to tinker with the range option in unicode-math (as documented in the manual), to no avail.

Strangely, when I compile the document as an article, I get the results I expect. Am I missing something?

1 Answer 1



\usefonttheme{professionalfonts}%  don't change fonts inside beamer

\setmathfont{Asana Math}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .