# MinionPro semibold/medium

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.}.

-
Please provide a minimal working example (MWE). – Marc van Dongen Mar 20 '13 at 9:08

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={24-},Font=* Display}
},
]{Minion Pro}
\newfontfamily\semibold[%
Numbers=OldStyle,
Kerning=Uppercase,
SizeFeatures={%
{Size={-9},Font=* Caption},
{Size={9-14},Font=*},
{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):

-

I assume you have set up the semibold variant like

   \DeclareFontShape{T1}{MinionPro}{sb}{n}{
}{}


in an .fd file. Then you can define a user interface for it like

\newcommand*{\sbdefault}{sb}
\DeclareRobustCommand{\sbshape}{%
\not@math@alphabet\sbshape\relax
\fontshape\sbdefault\selectfont}

\DeclareTextFontCommand{\textsb}{\sbshape}


A good description of all that is the Font Installation Guide.

-

If you want to use mainly the semibold instead of the bold, use the following fontspec (in XeTeX or LuaTeX):

BoldFont={* Semibold}


A MWE:

\documentclass{article}
\usepackage{fontspec}
\setmainfont[
BoldFont={* Semibold},
]{Minion Pro}
\begin{document}
This is a \textbf{sample}
\end{document}


However, it looks like fontspec automatically selects the semibold option. You can check the difference with

BoldFont={* Bold}

-