summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsetup/fspstixtwoot.sty
blob: f38c44654d4d49d389aab6a352a87404579fa2c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}


\setmainfont[%
  Script=Default,% make small caps work for both latn and grek
         ItalicFont=STIX2Text-Italic.otf,
	 BoldFont=STIX2Text-Bold.otf,
	 BoldItalicFont=STIX2Text-BoldItalic.otf,
         % RawFeature=+pnum,% variable width numbers
SmallCapsFeatures={Numbers=OldStyle}]{STIX2Text-Regular.otf}

\RequirePackage{unicode-math}
\setmathfont{STIX2Math.otf}


\endinput