summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/fontsetup/fspminion.sty
blob: 47e5eab3fe36daa85588fb01340450854ca6c0e1 (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{STIXTwoMath-Regular.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}