\defaultfontfeatures{Ligatures=TeX}
\setmainfont[ItalicFont=EBGaramond-Italic.otf,
BoldFont=EBGaramond-Bold.otf,
BoldItalicFont=EBGaramond-BoldItalic.otf,SmallCapsFeatures={Numbers=OldStyle}]{EBGaramond-Regular.otf}
\setmathfont{Garamond-Math.otf}