summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsetup/fspgfsdidotclassicot.sty
blob: d1f26d14c754404264a9ded4c40ca6224685edb1 (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
%\RequirePackage[no-math]{fontspec}
\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}

%\RequirePackage[garamond]{mathdesign}


%\newfontfamily{\defaultfont}[Scale=1.087,ItalicFont=GFSDidot_Classic,ItalicFeatures={FakeSlant=0.2},BoldFont=GFSDidot_Classic,BoldFeatures={FakeBold=2},BoldItalicFont=GFSDidot_Classic,BoldItalicFeatures={FakeSlant=0.2,FakeBold=2}]{GFSDidot_Classic.otf}

\newfontfamily{\defaultfont}[Scale=1.05,
  ItalicFont=GFSPorson,ItalicFeatures={FakeSlant=0.1,FakeStretch=.92},BoldFont=GFSDidot_Classic,BoldFeatures={FakeBold=1.4,LetterSpace=2},BoldItalicFont=GFSPorson,BoldItalicFeatures={FakeBold=1.4,FakeStretch=.92,FakeSlant=0.1,LetterSpace=2}]{GFSDidot_Classic.otf}

\newfontfamily{\latinfont}[ItalicFont=ugmri8a,BoldFont=ugmm8a,BoldItalicFont=ugmmi8a]{ugmr8a.otf}
\RequirePackage[Latin, Greek]{ucharclasses}
\setDefaultTransitions{\defaultfont}{}

\setTransitionsForLatin{\latinfont}{}
\setTransitionsForGreek{\defaultfont}{}

\RequirePackage{unicode-math}
\setmathfont{Garamond-Math.otf}


\endinput