%%
%% This is file `hdu-typeset.code.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hduthesis.dtx  (with options: `typeset')
%% -----------------------------------------------------------------------
%%   Copyright (C) 2023-2025 by Mingyu Xia <myhsia@outlook.com>          *
%%                                                                       *
%%   It may be distributed and/or modified under the conditions of the   *
%%   LaTeX Project Public License (LPPL), either version 1.3c of this    *
%%   license or (at your option) any later version. The latest version   *
%%   of this license is in the file                                      *
%%                                                                       *
%%       http://www.latex-project.org/lppl.txt                           *
%%                                                                       *
%%   This work has the LPPL maintenance status `maintained'.             *
%%                                                                       *
%%   The Current Maintainer of this work is Mingyu Xia.                  *
%% -----------------------------------------------------------------------
\__hdu_provide_module:n {typeset}
\RequirePackage { circuitikz, pgfplots, listings, hologo,
                  lipsum, zhlipsum, booktabs, multicol }
\pgfplotsset { compat = newest }
\hologoFontSetup { general = \sffamily }
\graphicspath
  {
    {./figure/}{./figures/}{./image/}{./images/}
    {./graphics/}{./graphic/}{./pictures/}{./picture/}
  }
\linespread{1.39}
\dim_set:Nn \parindent { 2\ccwd }
\cs_new_protected:Nn \__hdu_font_semilarge:
  { \@setfontsize \__hdu_font_semilarge:{14}{16.5} }
\cs_new_protected:Nn \__hdu_font_semiLarge:
  { \@setfontsize \__hdu_font_semiLarge:{16.5}{17.5} }
\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 { mathtools,  amssymb, cancel,  fixdif,
                  derivative, siunitx, physics2 }
\usephysicsmodule { ab, braket, op.legacy, bm-um.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__hdu_math_font
  { \setmathfont { \g__hdu_math_font } }
\tl_if_empty:NF \g__hdu_main_CJK_font
  { \exp_last_unbraced:No \setCJKmainfont \g__hdu_main_CJK_font }
\tl_if_empty:NF \g__hdu_sans_CJK_font
  { \exp_last_unbraced:No \setCJKsansfont \g__hdu_sans_CJK_font }
\tl_if_empty:NF \g__hdu_mono_CJK_font
  { \exp_last_unbraced:No \setCJKmonofont \g__hdu_mono_CJK_font }
%% -----------------------------------------------------------------------
%%   This work consists of the files hduthesis.dtx,                      *
%%                                   hdu-graphics.dtx,                   *
%%                               and hduthesis.ins,                      *
%%             and the derived files hduthesis.cls,                      *
%%                                   hdu-<module>.code.tex,              *
%%                                   beamerthemehdu.sty,                 *
%%                                   hdulogo.pdf,                        *
%%                                   hdutitle.pdf,                       *
%%                                   hdubadge.pdf,                       *
%%                                   hdumotto.pdf,                       *
%%                                   hduthesis.pdf,                      *
%%                               and README.md.                          *
%% -----------------------------------------------------------------------
%%
%% End of file `hdu-typeset.code.tex'.
