%% (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}}