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 mix Optima and AMS Euler using eulervm and mathspec in XeLaTeX. The relevant bit of code in my source file is as follows:

\setmathfont(Digits)[Numbers={Lining,Proportional}]{Optima nova LT Pro}
\setmathrm{Optima nova LT Pro}

Using this set up, Euler is used in math mode unless I specify \mathrm. For Greek and lowercase Latin characters this works out quite well, but for uppercase Latin I would very much prefer to use Optima's glyphs.

My current workaround is to stick \mathrm around every uppercase Latin variables in math mode, however this gets rather annoying after a while. Is there any way to coax XeLaTeX into using \mathrm by default only for uppercase Latin glyphs?

share|improve this question
I don't think that mathspec allows for specifying different fonts for Latin letters – egreg Jun 2 '12 at 22:27

Unfortunately mathspec doesn't allow for specifying separately uppercase and lowercase letters.

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.