From b020ed8d68a79946c4678a71d049c808244bb5ec Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 5 May 2021 23:57:52 +0900
Subject: Add fontsetup-nonfree

---
 .../tex/latex/fontsetup-nonfree/fspminion.sty      | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty

(limited to 'texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty')

diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty
new file mode 100644
index 00000000..292f3dd7
--- /dev/null
+++ b/texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty
@@ -0,0 +1,46 @@
+
+
+
+\RequirePackage{fontspec}
+\defaultfontfeatures{Ligatures=TeX}
+\setmainfont[SmallCapsFeatures={Numbers=OldStyle},%
+  NFSSFamily=MinionPro,%
+  ItalicFont=MinionPro-It,%
+  BoldFont=MinionPro-Bold,%
+  BoldItalicFont=MinionPro-BoldIt,%
+]{MinionPro-Regular}
+\setsansfont[SmallCapsFeatures={Numbers=OldStyle},%
+  NFSSFamily=MyriadPro,%
+  ItalicFont=MyriadPro-It,%
+  BoldFont=MyriadPro-Bold,%
+  BoldItalicFont=MyriadPro-BoldIt,%
+]{MyriadPro-Regular}
+\newfontfamily{\greekfont}[SmallCapsFont=fspmnscel,%
+  ItalicFont=MinionPro-It,%
+  BoldFont=MinionPro-Bold,%
+  BoldItalicFont=MinionPro-BoldIt,%
+]{MinionPro-Regular}
+
+\newfontfamily{\defaultfont}[SmallCapsFeatures={Numbers=OldStyle},%
+  NFSSFamily=MinionPro,%
+  ItalicFont=MinionPro-It,%
+  BoldFont=MinionPro-Bold,%
+  BoldItalicFont=MinionPro-BoldIt,%
+]{MinionPro-Regular}
+\RequirePackage{iftex}
+\ifxetex
+\RequirePackage[Latin, Greek]{ucharclasses}
+\setDefaultTransitions{\defaultfont}{}
+\setTransitionsForLatin{\defaultfont}{}
+\setTransitionsForGreek{\greekfont}{}
+\else
+\relax
+\fi
+
+
+\RequirePackage{unicode-math}
+\setmathfont{STIXTwoMath-Regular.otf}
+\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{MinionPro-Regular} 
+\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{MinionPro-Bold} 
+\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{MinionPro-It} 
+\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{MinionPro-BoldIt}
-- 
cgit v1.2.3

