[Tex/LaTex] upright uppercase math letter with Minion and xelatex

math-modemathspecxetex

just a quick question about Xelatex and Minion Pro. By default, uppercase letters as well as lowercase greek letters in math mode are italics. Can I get them upright by hand?

So far, I am using:

\usepackage[MnSymbol]{mathspec}
\usepackage{xltxtra}
\defaultfontfeatures{Scale=MatchLowercase}
\setmainfont[Mapping=tex-text]{Minion Pro}
\setsansfont[Mapping=tex-text]{Myriad Pro}
\setmathfont(Digits,Latin,Greek){Minion Pro}

maybe I should work with something like:

\setmathsfont[Set=Greek,Uppercase=Italic,Lowercase=Italic]{Minion Pro}

Thanks.

Best Answer

Just break your \setmainfont into two lines, and you should have separate control over Greek and Latin. E.g., to get Latin in italics and upright Greek:

 \setmathfont(Digits,Latin)[Uppercase=Italic,Lowercase=Italic]{Minion Pro}
 \setmathfont(Greek)[Uppercase=Regular,Lowercase=Regular]{Minion Pro}

(Reverse the options if you want upright Latin and italic Greek.)

Or maybe I just didn't understand what you were trying to do.

Related Question