summaryrefslogtreecommitdiff
path: root/texmf-dist/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-05 23:57:52 +0900
committerNorbert Preining <norbert@preining.info>2021-05-05 23:57:52 +0900
commitb020ed8d68a79946c4678a71d049c808244bb5ec (patch)
treee8e6a9a66b590cc18e60f6686004a03e3b807f6c /texmf-dist/tex
parent2bb5438924c3f565e6195321ccc55c51bf7b4c71 (diff)
Add fontsetup-nonfree
Diffstat (limited to 'texmf-dist/tex')
-rw-r--r--texmf-dist/tex/latex/fontsetup-nonfree/fspcambria.sty9
-rw-r--r--texmf-dist/tex/latex/fontsetup-nonfree/fsplucidaot.sty28
-rw-r--r--texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty46
-rw-r--r--texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.sty55
-rw-r--r--texmf-dist/tex/latex/fontsetup-nonfree/fsppalatinoot.sty35
5 files changed, 173 insertions, 0 deletions
diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fspcambria.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fspcambria.sty
new file mode 100644
index 00000000..b2947bb3
--- /dev/null
+++ b/texmf-dist/tex/latex/fontsetup-nonfree/fspcambria.sty
@@ -0,0 +1,9 @@
+%%
+%% Load Cambria fonts (C) A. Tsolomitis
+%%
+\RequirePackage{fontspec}
+\setmainfont[Contextuals=AlternateOff,BoldFont=Cambria-Bold,ItalicFont=Cambria-Italic,BoldItalicFont=Cambria-BoldItalic]{Cambria}
+\RequirePackage{unicode-math}
+\setmathfont{Cambria Math}
+
+\endinput
diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fsplucidaot.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fsplucidaot.sty
new file mode 100644
index 00000000..2287f486
--- /dev/null
+++ b/texmf-dist/tex/latex/fontsetup-nonfree/fsplucidaot.sty
@@ -0,0 +1,28 @@
+\RequirePackage{fontspec}
+\setmainfont[% main font
+ UprightFont=LucidaBrightOT,
+ ItalicFont=LucidaBrightOT-Italic,
+ BoldFont=LucidaBrightOT-Demi,
+ BoldItalicFont=LucidaBrightOT-DemiItalic,
+ SmallCapsFeatures={Numbers=OldStyle},
+ ]{LucidaBrightOT.otf}
+\setsansfont[%
+ UprightFont=LucidaSansOT,
+ ItalicFont=LucidaSansOT-Italic,
+ BoldFont=LucidaSansOT-Demi,
+ BoldItalicFont=LucidaSansOT-DemiItalic,
+ SmallCapsFeatures={Numbers=OldStyle},
+]{LucidaSansOT.otf}
+%
+\setmonofont[%
+ UprightFont=LucidaSansTypewriterOT,
+ ItalicFont=LucidaSansTypewriterOT-Oblique,
+ BoldFont=LucidaSansTypewriterOT-Bold,
+ BoldItalicFont=LucidaSansTypewriterOT-BoldOblique,
+ SmallCapsFeatures={Numbers=OldStyle},
+ ]{LucidaSansTypewriterOT.otf}
+% support for OpenType math fonts:
+\RequirePackage{unicode-math}
+\setmathfont{LucidaBrightMathOT.otf}
+\setmathfont[version=bold]{LucidaBrightMathOT-Demi.otf}
+
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}
diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.sty
new file mode 100644
index 00000000..5f50b8bf
--- /dev/null
+++ b/texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.sty
@@ -0,0 +1,55 @@
+%\RequirePackage[no-math]{fontspec}
+\RequirePackage{fontspec}
+\defaultfontfeatures{Ligatures=TeX}
+%\RequirePackage[garamond]{mathdesign}
+
+\setmainfont[%
+ NFSSFamily=Garamond,%
+ ItalicFont=Garamond-Italic,%
+ BoldFont=Garamond-Bold,%
+ BoldItalicFont=Garamond-Bold,%
+ SlantedFont=Garamond,%
+ BoldSlantedFont=Garamond-Bold,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+]{Garamond}
+\newfontfamily{\greekfont}[%
+ ItalicFont=Garamond-Italic,%
+ BoldFont=Garamond-Bold,%
+ BoldItalicFont=Garamond-Bold,%
+ SlantedFont=Garamond,%
+ BoldSlantedFont=Garamond-Bold,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+]{Garamond}
+\newfontfamily{\defaultfont}[%
+ NFSSFamily=Garamond,%
+ ItalicFont=Garamond-Italic,%
+ BoldFont=Garamond-Bold,%
+ BoldItalicFont=Garamond-Bold,%
+ SlantedFont=Garamond,%
+ BoldSlantedFont=Garamond-Bold,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+]{Garamond}
+
+
+\RequirePackage{iftex}
+\ifxetex
+\RequirePackage[Latin, Greek]{ucharclasses}
+\setDefaultTransitions{\defaultfont}{}
+\setTransitionsForLatin{\defaultfont}{}
+\setTransitionsForGreek{\greekfont}{}
+\else
+\relax
+\fi
+
+\RequirePackage{unicode-math}
+\setmathfont{Garamond-Math.otf}
+\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Garamond}
+\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{Garamond-Bold}
+\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{Garamond-Italic}
+\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{Garamond-Bold}
+
+
+\endinput
diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fsppalatinoot.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fsppalatinoot.sty
new file mode 100644
index 00000000..48528a88
--- /dev/null
+++ b/texmf-dist/tex/latex/fontsetup-nonfree/fsppalatinoot.sty
@@ -0,0 +1,35 @@
+\RequirePackage{fontspec}
+\defaultfontfeatures{Ligatures=TeX}
+\setmainfont[SmallCapsFeatures={Numbers=OldStyle},%
+ NFSSFamily=Palatino Linotype,%
+ ItalicFont=PalatinoLinotype-Italic,%
+ BoldFont=PalatinoLinotype-Bold,%
+ BoldItalicFont=PalatinoLinotype-BoldItalic,%
+]{PalatinoLinotype-Roman}
+\newfontfamily{\greekfont}[SmallCapsFont=fsplpscel,
+ ItalicFont=PalatinoLinotype-Italic,%
+ BoldFont=PalatinoLinotype-Bold,%
+ BoldItalicFont=PalatinoLinotype-BoldItalic,%
+]{PalatinoLinotype-Roman}
+\newfontfamily{\defaultfont}[SmallCapsFeatures={Numbers=OldStyle},%
+ NFSSFamily=Palatino Linotype,%
+ ItalicFont=PalatinoLinotype-Italic,%
+ BoldFont=PalatinoLinotype-Bold,%
+ BoldItalicFont=PalatinoLinotype-BoldItalic,%
+]{PalatinoLinotype-Roman}
+
+\RequirePackage{iftex}
+\ifxetex
+\RequirePackage[Latin, Greek]{ucharclasses}
+\setDefaultTransitions{\defaultfont}{}
+\setTransitionsForLatin{\defaultfont}{}
+\setTransitionsForGreek{\greekfont}{}
+\else
+\relax
+\fi
+
+\RequirePackage{unicode-math}
+\setmathfont{texgyrepagella-math.otf}
+
+
+\endinput