summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsetup/fspminion.sty
blob: f39448227f08cdfe26adc5e0b457afb565ef077e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20



\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont[SmallCapsFeatures={Numbers=OldStyle}]{Minion Pro}
\setsansfont[SmallCapsFeatures={Numbers=OldStyle}]{Myriad Pro}
\newfontfamily{\defaultfont}[SmallCapsFeatures={Numbers=OldStyle}]{Minion Pro}
\newfontfamily{\greekfont}[SmallCapsFont=fspmnscel]{Minion Pro}
\RequirePackage[Latin, Greek]{ucharclasses}
\setDefaultTransitions{\defaultfont}{}
\setTransitionsForLatin{\defaultfont}{}
\setTransitionsForGreek{\greekfont}{}

\RequirePackage{unicode-math}
\setmathfont{STIX2Math.otf}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Minion Pro} 
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{Minion Pro Bold} 
\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{Minion Pro Italic} 
\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{Minion Pro Bold Italic}