I am writing a presentation using the beamer class and XeTeX. I have changed the sans font using \setsansfont
. Now some symbols in my equations are rendered using the mono font (like the lowercase letters).
How can I force math mode to render all symbols in the equations in the default Computer Modern, ignoring the font set with \setsansfont
?
Best Answer
By default, Beamer does some math font manipulation, because many fonts, such as the cm-sans used by default, don't provide matching mathematical glyphs. If you want the standard Computer Modern (serif) math font, just say
in the preamble. This suppresses any auto-manipulations.