summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-09 21:05:32 +0000
committerKarl Berry <karl@freefriends.org>2021-12-09 21:05:32 +0000
commit339ba2b572524df1b306969a12c997682dd994a6 (patch)
treeb04c6e228aff7a5ba0ad5f3f196bede5fa350df4 /Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty
parentd591e5abd44a7f052daf9e40281051f5aeeb2c02 (diff)
fontsetup (9dec21)
git-svn-id: svn://tug.org/texlive/trunk@61261 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty97
1 files changed, 95 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty b/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty
index ecea2a5026a..8b56159469a 100644
--- a/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty
+++ b/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty
@@ -25,6 +25,12 @@
BoldSlantedFont=NewCM10-Bold.otf,%
SmallCapsFeatures={Numbers=OldStyle}}%
},%
+ SmallCapsFeatures={Numbers=OldStyle},%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SlantedFont=NewCM10-Regular.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ ItalicFont=NewCM10-Italic.otf,%
SlantedFeatures={FakeSlant=0.25},%
BoldSlantedFeatures={FakeSlant=0.25},%
]{NewCM10-Regular.otf}
@@ -49,8 +55,12 @@
BoldItalicFont=NewCMSans10-BoldOblique.otf,%
SmallCapsFeatures={Numbers=OldStyle},%
}},
-SlantedFont=NewCMSans10-Oblique.otf,%
-BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
+ ItalicFont=NewCMSans10-Oblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+ SlantedFont=NewCMSans10-Oblique.otf,%
+ BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
]{NewCMSans10-Regular.otf}
\setmonofont[%
@@ -63,6 +73,35 @@ BoldSlantedFont=NewCMMono10-Bold.otf,%
BoldSlantedFeatures={FakeSlant=0.25},
SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf}
+\newfontfamily\uncial[%
+ SizeFeatures={%
+{Size=-8, Font=NewCMUncial08-Regular.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial08-Regular.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size=8, Font=NewCMUncial08-Regular.otf,
+ BoldFont=NewCMUncial08-Bold.otf,%
+ SlantedFont=NewCMUncial08-regular.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size= 9-, Font = NewCMUncial10-Regular.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Regular.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ }%
+ },%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Regular.otf,%
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+ ]{NewCMUncial10-Regular.otf}
+
+\newcommand{\textuncial}[1]{{\uncial #1}}
+
+
+
\setmathfont{NewCMMath-Regular.otf}
\DeclareOption{varnothing}{\setmathfont[CharacterVariant=1]{NewCMMath-Regular.otf}}
\ProcessOptions
@@ -290,3 +329,57 @@ SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf}
%SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Regular.otf}
\newcommand{\ipatextsans}{\sffamily\addfontfeature{StylisticSet=5}}
\newcommand{\textsansipa}[1]{{\ipatextsans#1}}
+%
+% Up versions for chemistry
+\newcommand{\chemalpha}{\textrm{α}}
+\newcommand{\chembeta}{\textrm{β}}
+\newcommand{\chemgamma}{\textrm{γ}}
+\newcommand{\chemdelta}{\textrm{δ}}
+\newcommand{\chemepsilon}{\textrm{ε}}
+\newcommand{\chemzeta}{\textrm{ζ}}
+\newcommand{\chemeta}{\textrm{η}}
+\newcommand{\chemtheta}{\textrm{θ}}
+\newcommand{\chemiota}{\textrm{ι}}
+\newcommand{\chemkappa}{\textrm{\char"03F0}}
+\newcommand{\chemlambda}{\textrm{λ}}
+\newcommand{\chemmu}{\textrm{μ}}
+\newcommand{\chemnu}{\textrm{ν}}
+\newcommand{\chemxi}{\textrm{ξ}}
+\newcommand{\chemomicron}{\textrm{ο}}
+\newcommand{\chempi}{\textrm{π}}
+\newcommand{\chemrho}{\textrm{ρ}}
+\newcommand{\chemrhoalt}{\textrm{\char"03F1}}
+\newcommand{\chemsigma}{\textrm{σ}}
+\newcommand{\chemsigmaalt}{\textrm{ς}}
+\newcommand{\chemtau}{\textrm{τ}}
+\newcommand{\chemupsilon}{\textrm{υ}}
+\newcommand{\chemphi}{\textrm{φ}}
+\newcommand{\chemchi}{\textrm{χ}}
+\newcommand{\chempsi}{\textrm{ψ}}
+\newcommand{\chemomega}{\textrm{ω}}
+%
+\newcommand{\chemAlpha}{\textrm{Α}}
+\newcommand{\chemBeta}{\textrm{Β}}
+\newcommand{\chemGamma}{\textrm{Γ}}
+\newcommand{\chemDelta}{\textrm{Δ}}
+\newcommand{\chemEpsilon}{\textrm{Ε}}
+\newcommand{\chemZeta}{\textrm{Ζ}}
+\newcommand{\chemEta}{\textrm{Η}}
+\newcommand{\chemTheta}{\textrm{Θ}}
+\newcommand{\chemIota}{\textrm{Ι}}
+\newcommand{\chemKappa}{\textrm{Κ}}
+\newcommand{\chemLambda}{\textrm{Λ}}
+\newcommand{\chemMu}{\textrm{Μ}}
+\newcommand{\chemNu}{\textrm{Ν}}
+\newcommand{\chemXi}{\textrm{Ξ}}
+\newcommand{\chemOmicron}{\textrm{Ο}}
+\newcommand{\chemPi}{\textrm{Π}}
+\newcommand{\chemRho}{\textrm{Ρ}}
+\newcommand{\chemSigma}{\textrm{Σ}}
+\newcommand{\chemTau}{\textrm{Τ}}
+\newcommand{\chemUpsilon}{\textrm{Υ}}
+\newcommand{\chemPhi}{\textrm{Φ}}
+\newcommand{\chemChi}{\textrm{Χ}}
+\newcommand{\chemPsi}{\textrm{Ψ}}
+\newcommand{\chemOmega}{\textrm{Ω}}
+%