\hduthesis_provide_module:n {font}

\linespread{1.39}
\dim_set:Nn \parindent { 2\ccwd }
\newcommand \semilarge { \@setfontsize \semilarge{14}{16.5} }
\newcommand \semiLarge { \@setfontsize \semiLarge{16.5}{18} }

\setmainfont{texgyretermes}
  [
    Extension  = .otf,     UprightFont = *-regular, BoldFont = *-bold, ItalicFont = *-italic, BoldItalicFont = *-bolditalic
  ]
\setsansfont{texgyreheros}
  [
    Extension   = .otf,      BoldItalicFont = *-bolditalic,
    UprightFont = *-regular, BoldFont       = *-bold,
    ItalicFont  = *-italic,  scale          = .9,
  ]

\RequirePackage { amsmath, amssymb, mathtools, extarrows,
                  bm, cancel, physics2, fixdif, derivative }
\usephysicsmodule{ab, braket, ab.legacy, op.legacy}
\RequirePackage
  [ warnings-off = { mathtools-colon, mathtools-overbracket } ]
  {unicode-math}
\AtBeginDocument{
  \dim_set:Nn \abovedisplayskip {3pt}
  \dim_set:Nn \belowdisplayskip {3pt}
}

\tl_if_empty:NF \g__hduthesis_math_font
  { \setmathfont { \g__hduthesis_math_font } }
\tl_if_empty:NF \g__hduthesis_main_CJK_font
  { \exp_last_unbraced:No \setCJKmainfont \g__hduthesis_main_CJK_font }
\tl_if_empty:NF \g__hduthesis_sans_CJK_font
  { \exp_last_unbraced:No \setCJKsansfont \g__hduthesis_sans_CJK_font }
\tl_if_empty:NF \g__hduthesis_mono_CJK_font
  { \exp_last_unbraced:No \setCJKmonofont \g__hduthesis_mono_CJK_font }

\endinput
