summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-20 22:21:32 +0000
committerKarl Berry <karl@freefriends.org>2019-12-20 22:21:32 +0000
commitf27cb1d537a34677b1291d5365c80cde1416417c (patch)
tree0e2d0e89e70b388b3f45fe8e81491a09cdca51e8 /Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty
parent42fff9c15d299e41425b1aef482186e3cd2f4d9a (diff)
fontsetup (20dec19)
git-svn-id: svn://tug.org/texlive/trunk@53195 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty
new file mode 100644
index 00000000000..2192c0c32d3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty
@@ -0,0 +1,38 @@
+%% (C) Antonis Tsolomitis, GPL3.
+\RequirePackage{fontspec}
+\RequirePackage{unicode-math}
+\setmainfont[%
+ItalicFont=NewCM10-Italic.otf,%
+BoldFont=NewCM10-Bold.otf,%
+BoldItalicFont=NewCM10-BoldItalic.otf,%
+SlantedFont=NewCM10-Regular.otf,%
+SlantedFeatures={FakeSlant=0.25},
+BoldSlantedFont=NewCM10-Bold.otf,%
+BoldSlantedFeatures={FakeSlant=0.25},
+SmallCapsFeatures={Numbers=OldStyle}]{NewCM10-Regular.otf}
+
+\setsansfont[%
+ItalicFont=NewCMSans10-Oblique.otf,%
+BoldFont=NewCMSans10-Bold.otf,%
+BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+SlantedFont=NewCMSans10-Oblique.otf,%
+BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
+SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Regular.otf}
+
+\setmonofont[%
+ItalicFont=NewCMMono10-Italic.otf,%
+BoldFont=NewCMMono10-Bold.otf,%
+BoldItalicFont=NewCMMono10-BoldOblique.otf,%
+SlantedFont=NewCMMono10-Regular.otf,%
+SlantedFeatures={FakeSlant=0.25},
+BoldSlantedFont=NewCMMono10-Bold.otf,%
+BoldSlantedFeatures={FakeSlant=0.25},
+SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf}
+
+\setmathfont{NewCMMath-Regular.otf}
+
+\newcommand{\tttextsc}[1]{{\ttscshape#1}}
+
+
+
+