summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.tex
blob: 1479678ed476e27fdd5a1fdb5f4d440e4e2a8328 (plain)
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
39
40
41
42
43
44
%\RequirePackage[no-math]{fontspec}
\defaultfontfeatures{Ligatures=TeX}
%\RequirePackage[garamond]{mathdesign}

\setmainfont[%
  NFSSFamily=Garamond,%
  ItalicFont=Garamond-Italic,%
  BoldFont=Garamond-Bold,%
  BoldItalicFont=Garamond-Bold,%
  SlantedFont=Garamond,%
  BoldSlantedFont=Garamond-Bold,%
  SlantedFeatures={FakeSlant=0.25},%
  BoldSlantedFeatures={FakeSlant=0.25},%
]{Garamond}
\newfontfamily{\greekfont}[%
  ItalicFont=Garamond-Italic,%
  BoldFont=Garamond-Bold,%
  BoldItalicFont=Garamond-Bold,%
  SlantedFont=Garamond,%
  BoldSlantedFont=Garamond-Bold,%
  SlantedFeatures={FakeSlant=0.25},%
  BoldSlantedFeatures={FakeSlant=0.25},%
]{Garamond}
\newfontfamily{\defaultfont}[%
  NFSSFamily=Garamond,%
  ItalicFont=Garamond-Italic,%
  BoldFont=Garamond-Bold,%
  BoldItalicFont=Garamond-Bold,%
  SlantedFont=Garamond,%
  BoldSlantedFont=Garamond-Bold,%
  SlantedFeatures={FakeSlant=0.25},%
  BoldSlantedFeatures={FakeSlant=0.25},%
]{Garamond}



\setmathfont{Garamond-Math.otf}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Garamond} 
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{Garamond-Bold} 
\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{Garamond-Italic}
\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{Garamond-Bold}


\endinput