summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/fontsetup/fspdefault.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/fontsetup/fspdefault.sty')
-rw-r--r--macros/unicodetex/latex/fontsetup/fspdefault.sty81
1 files changed, 81 insertions, 0 deletions
diff --git a/macros/unicodetex/latex/fontsetup/fspdefault.sty b/macros/unicodetex/latex/fontsetup/fspdefault.sty
index 77148fe43a..6650cb64c3 100644
--- a/macros/unicodetex/latex/fontsetup/fspdefault.sty
+++ b/macros/unicodetex/latex/fontsetup/fspdefault.sty
@@ -73,6 +73,33 @@ BoldSlantedFont=NewCMMono10-Bold.otf,%
BoldSlantedFeatures={FakeSlant=0.25},
SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Book.otf}
+\newfontfamily\uncial[%
+ SizeFeatures={%
+{Size=-8, Font=NewCMUncial08-Book.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial08-Book.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size=8, Font=NewCMUncial08-Book.otf,
+ BoldFont=NewCMUncial08-Bold.otf,%
+ SlantedFont=NewCMUncial08-Book.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size= 9-, Font = NewCMUncial10-Book.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Book.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ }%
+ },%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Book.otf,%
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+ ]{NewCMUncial10-Book.otf}
+
+\newcommand{\textuncial}[1]{{\uncial #1}}
+
\setmathfont{NewCMMath-Book.otf}
\DeclareOption{varnothing}{\setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}}
\ProcessOptions
@@ -300,3 +327,57 @@ SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Book.otf}
%SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Book.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{Ω}}
+%