%\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
