\usepackage{fontspec}
\defaultfontfeatures{Ligatures={Common, Required, Contextual}}
\setmainfont{EB Garamond}

\newcommand{\DUtitletitle}[1]{%
    {\begin{center}\textbf{\textsc{#1}}\end{center}}
 }

% Change the font for bold text
\let\bf\textbf
\renewcommand{\textbf}[1]{{\AltFont\selectfont\bf{#1}}}

\setmonofont{Latin Modern Mono Light}
\newfontfamily\EBGaramond 
  {EB Garamond}
  [ Mapping=tex-text ]

\newfontfamily\EBLigatures 
  {EB Garamond}
  [ Mapping = tex-text
  , Ligatures = 
    { Common
    , Required
    , Contextual
    , Historic } ]

\newfontfamily\AltFont[Mapping=tex-text]{Linux Libertine O}
\newfontfamily\CaviarDreamsFont[Path=../fonts/, Mapping=tex-text]{CaviarDreams}
\newfontfamily\CaviarDreamsBoldFont[Path=../fonts/, Mapping=tex-text]{CaviarDreams_Bold}
