-
Notifications
You must be signed in to change notification settings - Fork 0
/
thefonts.sty
38 lines (33 loc) · 1006 Bytes
/
thefonts.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\RequirePackage{unicode-math}
\setmainfont[Numbers={OldStyle}]{STIXTwoText}[
Extension={.otf},
UprightFont={*-Regular},
BoldFont={*-SemiBold},
ItalicFont={*-Italic},
BoldItalicFont={*-SemiBoldItalic}
]
\setsansfont{SourceSans3}[
Path={/usr/local/share/fonts/SourceSans3/},
Extension={.ttf},
UprightFont={*-Regular},
BoldFont={*-SemiBold},
ItalicFont={*-Italic},
BoldItalicFont={*-SemiBoldItalic}
]
\setmathfont{STIXTwoMath-Regular.otf}
\setmonofont{SourceCodePro}[
Path={/usr/local/share/fonts/SourceCodePro/},
UprightFont={*-Regular},
BoldFont={*-SemiBold},
ItalicFont={*-Italic},
BoldItalicFont={*-SemiBoldItalic},
Scale=0.9
]
% \setmathfont{STIX2Math.otf}[
% SizeFeatures={
% {Size=6-},
% {Size=5-6,Font=STIX2Math.otf,Style=MathScript},
% {Size= -5,Font=STIX2Math.otf,Style=MathScriptScript}
% }]
%\newcommand{\blacksquare}{\mdlgblksquare}
%\newcommand{\square}{\mdlgwhtsquare}