I have installed MinionPro.sty and like the text part of the font very much for my thesis. I do not like the numbers though since they disturb readability when there are many numbers in the text. So I tried

\setmathfont(Digits,Latin,Greek){Minion Pro}

My platform is Windows, MikTeX 2.9 (x64). I have also installed "Minion Pro" in C:\Windows\Fonts. When I try compiling in XeLaTeX, I get the following errors:

Undefined control sequence. \setmathfont(Digits,Latin,Greek){Minion Pro}
Missing \begin{document}. \setmathfont(Digits,Latin,Greek){Minion Pro}
Undefined control sequence. \setmathfont(Digits,Latin,Greek){Minion Pro}
Undefined control sequence. \setmathfont(Digits,Latin,Greek){Minion Pro}
Package mathspec Error: `amsmath' must be loaded earlier than 'mathspec'. \RequirePackage{amsmath}

So I compromised and tried Arno Pro for text and MinionPro for math as mentioned here in LuaLaTeX. Installed Arno Pro into Windows fonts.

Numbers={Proportional}]{Arno Pro}

No luck. First two errors with LuaLaTeX are

Undefined control sequence. Numbers={Proportional}]{Arno Pro}
Missing \begin{document}. Numbers={Proportional}]{Arno Pro}

EDIT: Complete main.tex file below

% \layoutversiontrue



    % \usepackage[a4,cam,center]{crop}
    % \crop[font=\upshape\mdseries\small\textsf]

%% Now begin customising things. See the fancyhdr docs for more info.
\renewcommand{\chaptermark}[1]{\markboth{Chapter \thechapter. {#1}}{}}

\DeclareGraphicsExtensions{.eps, .jpg, .jpeg, .png}



%\setmainfont{Minion Pro}
\setmathsfont(Digits,Greek)[Numbers={Proportional}]{Minion Pro}
%\setmathfont[range=\mathit]{Minion Pro Italic}

%Extension = .otf,
%Path = ./fonts/,
%UprightFont = *-Regular,
%BoldFont = *-Bold,
%ItalicFont = *-It,
%BoldItalicFont = *-BoldIt,


\algrenewcommand{\algorithmiccomment}[1]{\hskip3em// #1}









  • 1
    Welcome! Please post a complete minimal document we can copy-paste-compile. Right now, it really isn't clear to me what you have or have not done. We also need to know how you installed Minion and Arno. Did you install these as any other font for you system? I don't understand what this has to do with MinionPro.sty since you don't seem to be using that at all. – cfr Dec 26 '15 at 2:20
  • The idea is if I can only change the way numbers (symbols are okay) are displayed through MinionPro.sty, my problem would be solved. – Erobrere Dec 26 '15 at 10:55
  • Do you really think mathspec can be used with LuaLaTeX? I don't think so. – egreg Dec 26 '15 at 11:17
  • No, I used XeLaTex for compilation with the above code (see the first set of errors above). Thanks. – Erobrere Dec 26 '15 at 11:27
  • @Erobrere What is the problem with the numbers from MinionPro.sty? You can either use Old Style figures for text and/or math by using the options textosf and/or mathosf or you can have lining figures in text and/or math by using the options textlf and/or mathlf. – Henri Menke Dec 26 '15 at 14:26

You have several options to use Minion Pro in LaTeX.

  1. Use the mathspec package with XeLaTeX to load the OpenType text font as provided by Adobe Illustrator or Typekit.

    \setmainfont{Minion Pro}
    \setmathsfont(Digits,Greek,Latin)[Numbers={Proportional}]{Minion Pro}
    \setmathrm{Minion Pro}

    enter image description here

  2. Use the unicode-math package with XeLaTeX or LuaLaTeX (recommended) and load the OpenType text font as the text font and the commercial MinionMath as the math font.

    \setmainfont{Minion Pro}

    enter image description here

  3. Convert the OpenType fonts for use with pdfLaTeX following these instructions and use the package.


    enter image description here

For the sake of completeness here is the full MWE:


%% XeLaTeX solution
\setmainfont{Minion Pro}
\setmathsfont(Digits,Greek,Latin)[Numbers={Proportional}]{Minion Pro}
\setmathrm{Minion Pro}

%% Better XeLaTeX/LuaLaTeX solution,
%% but requires commercial MinionMath
%\setmainfont{Minion Pro}

%% pdfLaTeX solution

Lorem ipsum dolor sit amet
\[ \int_0^\infty e^{-\alpha x^2} \mathrm{d}x =
            \frac12\sqrt{\int_{-\infty}^\infty e^{-\alpha x^2}}
            \mathrm{d}x\int_{-\infty}^\infty e^{-\alpha y^2}\mathrm{d}y =
            \frac12\sqrt{\frac{\pi}{\alpha}} \]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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