diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fspdefaultfontsot.sty | 38 |
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}} + + + + |