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

\setmainfont[ItalicFont=FreeSerifbItalic.otf,
BoldFont=FreeSerifbBold.otf,
BoldItalicFont=FreeSerifbBoldItalic.otf,SmallCapsFont=FreeSerifb-SmallCapsAlt.otf]{FreeSerifb.otf}

\RequirePackage{unicode-math}
%\setmathfont{XITSMath-Regular.otf}
\setmathfont{STIX2Math.otf}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{FreeSerifb.otf} 
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{FreeSerifbBold.otf} 
\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{FreeSerifbItalic.otf} 
\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{FreeSerifbBoldItalic.otf}

\endinput