# [XeTeX] fontspec's \setmathrm seems to have no effect

Peter Dyballa Peter_Dyballa at Web.DE
Thu Sep 1 16:50:45 CEST 2011

Am 01.09.2011 um 14:27 schrieb Daniel Greenhoe:

> So instead of the \setmathrm giving me the font I requested, I seem to
> be getting a computer modern font. Why would this be???

Because you don't set your maths in \mathrm! The default for maths is a sans-serif font, because the text usually consists of a serif font.

--
Greetings

Pete

If we don't succeed, we run the risk of failure.
– George W. Bush