%% \NeedsTeXFormat{LaTeX2e} \def\fileversion{1.061} \def\filedate{2015/04/11} \ProvidesPackage{minion2pro}[\filedate\space v\fileversion] \RequirePackage[T1]{fontenc} \RequirePackage{textcomp} \let\orig@footnote=\thefootnote \let\orig@makefnmark=\@makefnmark \RequirePackage{etoolbox} \renewcommand*{\rmdefault}{MinionPro-TLF} % the default until end of preamble \def\useosf{\edef\zmn@figurestyle{OsF}} \@onlypreamble\useosf \def\useproportional{\edef\zmn@figurealign{}} \@onlypreamble\useproportional \newif\ifzmn@sups \newif\ifzmn@scosf \newif\ifzmn@babel \ifdefined\bbl@tempa \zmn@babeltrue\fi \IfFileExists{fontaxes.sty}{ \RequirePackage{fontaxes} \DeclareRobustCommand\swshape{\not@math@alphabet\swshape\relax \fontprimaryshape\itdefault\fontsecondaryshape\swdefault\selectfont} \fa@naming@exception{shape}{{n}{sw}}{nw} \fa@naming@exception{shape}{{it}{sw}}{sw} \fa@naming@exception{figures}{{superior}{proportional}}{Sup} \fa@naming@exception{figures}{{superior}{tabular}}{Sup} \def\sufigures{\@nomath\sufigures \fontfigurestyle{superior}\selectfont} \DeclareTextFontCommand{\textsu}{\sufigures} \let\textsuperior\textsu \fa@naming@exception{figures}{{inferior}{proportional}}{Inf} \fa@naming@exception{figures}{{inferior}{tabular}}{Inf} \def\infigures{\@nomath\infigures \fontfigurestyle{inferior}\selectfont} \DeclareTextFontCommand{\textin}{\infigures} \let\textinferior\textin \fa@naming@exception{figures}{{ornament}{proportional}}{Orn} \fa@naming@exception{figures}{{ornament}{tabular}}{Orn} \def\ornaments{\@nomath\ornaments \fontencoding{U}\fontfigurestyle{ornament}\selectfont} \DeclareTextFontCommand{\textornaments}{\ornaments} \providecommand{\ornament}[1]{\textornaments{\char##1}} \fa@naming@exception{figures}{{numerators}{proportional}}{Numr} \fa@naming@exception{figures}{{numerators}{tabular}}{Numr} \fa@naming@exception{figures}{{denominators}{proportional}}{Dnom} \fa@naming@exception{figures}{{denominators}{tabular}}{Dnom} }{} \IfFileExists{xkeyval.sty}{ \newcommand*{\MinionPro@scale}{1} \RequirePackage{xkeyval} \DeclareOptionX{scale}{\renewcommand*{\MinionPro@scale}{##1}} \DeclareOptionX{scaled}{\renewcommand*{\MinionPro@scale}{##1}} }{ \let\DeclareOptionX\DeclareOption \let\ExecuteOptionsX\ExecuteOptions \let\ProcessOptionsX\ProcessOptions } \DeclareOptionX{lining}{\edef\zmn@figurestyle{LF}} \DeclareOptionX{lf}{\edef\zmn@figurestyle{LF}} \DeclareOptionX{oldstyle}{\useosf} \DeclareOptionX{osf}{\useosf} \DeclareOptionX{tabular}{\edef\zmn@figurealign{T}} \DeclareOptionX{proportional}{\useproportional} \DeclareOptionX{p}{\useproportional} \DeclareOptionX{sups}{\zmn@supstrue} \DeclareOptionX{scosf}{\zmn@scosftrue} \ExecuteOptionsX{lining,tabular} \ProcessOptionsX\relax \ifzmn@sups % \def\f@@tn@te{footnote} \def\@makefnmark{% \ifx\@mpfn\f@@tn@te% \ifx\thefootnote\orig@footnote% \hbox{\sustyle\hspace*{.04em}\@thefnmark\hspace*{.04em}}% \else% \orig@makefnmark% \fi \else% \orig@makefnmark% \fi} \fi \DeclareRobustCommand{\lfstyle}{% \not@math@alphabet\lfstyle\relax \fontfamily{MinionPro-LF}\selectfont % }% to get lf \DeclareRobustCommand{\tlfstyle}{% \not@math@alphabet\tlfstyle\relax \fontfamily{MinionPro-TLF}\selectfont % }% to get tlf \DeclareRobustCommand{\osfstyle}{% \not@math@alphabet\osfstyle\relax \fontfamily{MinionPro-OsF}\selectfont % }% to get osf \DeclareRobustCommand{\tosfstyle}{% \not@math@alphabet\tosfstyle\relax \fontfamily{MinionPro-TOsF}\selectfont % }% to get tosf \DeclareRobustCommand{\textlf}[1]{% {\lfstyle #1}% }% to get lf \DeclareRobustCommand{\texttlf}[1]{% {\tlfstyle #1}% }% to get tlf \DeclareRobustCommand{\textosf}[1]{% {\osfstyle #1}% }% to get osf \DeclareRobustCommand{\texttosf}[1]{% {\tosfstyle #1}% }% to get tosf \DeclareRobustCommand{\textsu}[1]{% {\sustyle #1}% }% to get sup style \ifzmn@scosf % \DeclareRobustCommand{\textsc}[1]{% {\fontfamily{MinionPro-\zmn@figurealign OsF}\scshape\selectfont #1}% }\fi% use OsF in small caps %\renewcommand* % {\rmdefault} % {MinionPro-\MinionPro@figurealign\MinionPro@figurestyle} %\renewcommand*{\familydefault}{\rmdefault} \ifzmn@babel \renewcommand*{\rmdefault}{MinionPro-\zmn@figurealign% \zmn@figurestyle} \normalfont \else \AtEndPreamble{% \renewcommand*{\rmdefault}{MinionPro-\zmn@figurealign% \zmn@figurestyle} \normalfont} \fi \endinput