[Tex/LaTex] MinionPro semibold/medium

boldfontsfontspecminionpro

After a day of struggle I managed to install the full family of MinionPro font on LaTeX.
After an hour of googling I cannot figure out how to use the medium (semibold) font. Ideally I would have something like a \sb command, eg., {\sb This is medium bold.}.

Best Answer

Here's a fontspec solution, which needs XeTeX or LuaTeX:

\documentclass[a6paper]{memoir}
\usepackage{fontspec}
\setmainfont[%
    Numbers=OldStyle,
    Kerning=Uppercase,
    SizeFeatures={%
        {Size={-9},Font=* Caption},
        {Size={9-14},Font=*},
        {Size={14-24},Font=* Subhead},
        {Size={24-},Font=* Display}
    },
]{Minion Pro}
\newfontfamily\semibold[%
    Numbers=OldStyle,
    Kerning=Uppercase,
    SizeFeatures={%
        {Size={-9},Font=* Caption},
        {Size={9-14},Font=*},
        {Size={14-24},Font=* Subhead},
        {Size={24-},Font=* Display}
    },
]{Minion Pro Semibold}
\newcommand{\blah}{Once upon a time, 
    \textit{in a distant
    galaxy} called \textbf{Ööç},
    there lived a computer
    named {\bfseries\itshape R.~J. Drofnats.}\par}
\sloppypar
\begin{document}
\blah
\semibold
\blah
\end{document}

Notes:

  1. Text courtesy of Prof. Knuth.
  2. I've included the SizeFeatures just for illustration
  3. I should have (perhaps) used Minion Std Black for the bold version of semibold; "this is left as an exercise for the reader".

Here's the result (with XeLaTeX):

enter image description here