TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 7 down vote accepted


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

\setmathfont{Asana Math}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.