summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsetup/fspmsgaramondot.sty
blob: 3d3907cb8b0a456b2d3d4a9e23775fe57e96f0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%\RequirePackage[no-math]{fontspec}
\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
%\RequirePackage[garamond]{mathdesign}


\newfontfamily{\defaultfont}{Garamond}
\newfontfamily{\greekfont}{Garamond}

\RequirePackage[Latin, Greek]{ucharclasses}
\setDefaultTransitions{\defaultfont}{}
\setTransitionsForLatin{\defaultfont}{}
\setTransitionsForGreek{\greekfont}{}

\RequirePackage{unicode-math}
\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