summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/fontsetup/fspminion.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/fontsetup/fspminion.sty')
-rw-r--r--macros/unicodetex/latex/fontsetup/fspminion.sty20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/unicodetex/latex/fontsetup/fspminion.sty b/macros/unicodetex/latex/fontsetup/fspminion.sty
new file mode 100644
index 0000000000..f39448227f
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/fspminion.sty
@@ -0,0 +1,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}