%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% HKUST Thesis LaTeX Template
%%
%% Check the project website for latest updates:
%% https://github.com/HKFoggyU/hkust-thesis
%%
%% Contributors:
%% https://github.com/HKFoggyU/hkust-thesis/graphs/contributors
%% 
%% License:
%% LaTeX Project Public License (version 1.3c)
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Pass options to loaded packages in `.cls` file:
% \PassOptionsToPackage{separate-uncertainty=true, separate-uncertainty-units=single}{siunitx}
%% The following option is to display the full name of the authors.
%% It comes with the setting to display the full author names in the List of Publications
\PassOptionsToPackage{giveninits=false}{biblatex}
\documentclass[
  %customlatinfont = windows,
  %custombibstyle = nature,
  displaycommittee = false,
  % blankpage = true,
]{hkustthesis}
%% Thesis information
\hkustsetup {
  %% Please wrap the items with {}.
  %% If one item is not applicable, just leave it {}.
  %% Please do not leave any blank lines without {}.
  info = {
    degree        = {phd},  %% phd / mphil
    title         = {Triggering\texorpdfstring{\\}{}the Forth Impact},
    keywords      = {Neon, Genesis, Evangelion},
    author        = {Cruel Angel},
    school        = {School of SEELE},
    department    = {Department of NERV},
    program       = {Human Instrumentality},
    major         = {},
    supervisor    = {Prof. Adams},
    %% Co-supervisor; leave it {} if not available
    co-supervisor = {Prof. Lilith},
    submit-month  = {August 2021},      % <month year>
    submit-date   = {13 August 2021},   % <date month year>
    defend-date   = {8 March 2021},     % <date month year>
    depthead      = {Prof. Ikari Yui, Head of Department},
    %% reviewers only for some departments, like ECE
    reviewer      = {Prof. AAA (Chairperson), 
                     Prof. BBB (Supervisor),
                     Prof. CCC (Co-Supervisor),
                     Prof. DDD,
                     Prof. EEE,
                     Prof. FFF},
    reviewerdept  = {Department of Electronic and Computer Engineering,
                     Department of ECE,
                     Department of ECE,
                     Department of ECE,
                     Department of ECE,
                     Department of Physics},
    reviewerext   = {Prof. FFF (External Examiner),
                     Department of HH\\{University of UU, at VV}},
    % reviewerext   = {},
    city          = {Geo Front},
  }
}
%% Import extra packages
% \usepackage{indentfirst, xspace, xcolor}
%% The following option is to set hyperref colors for preview,
%% but commented by default for submission and printing
% \hypersetup{
%   colorlinks=true,
%   linkcolor=black,
%   urlcolor=blue,
%   citecolor=red,
%   anchorcolor=blue
% }
%% Add custom command
% \newcommand{\todo}[1]{\textcolor{red}{TODO: #1}}
\newcommand{\eg}{\textit{e.g.}, }
\newcommand{\ie}{\textit{i.e.}, }
%% Set the specific author in bold style.
%% See https://tex.stackexchange.com/a/304968
%% Need to set `author+an = {n=highlight}` for your n-th authorship in bib file.
%% See more examples in the PDF manual.
\renewcommand*{\mkbibnamegiven}[1]{\ifitemannotation{highlight}{\textbf{#1}}{#1}}
\renewcommand*{\mkbibnamefamily}[1]{\ifitemannotation{highlight}{\textbf{#1}}{#1}}
%% Remember to generate valid `bib` files, e.g., proper treatment of special characters
%% The bib file for `List of Publications`
\addbibresource{mythesis_LoP.bib}
%% Import bib file for bibliography
\addbibresource{mythesis.bib}
\begin{document}
%% -------------------------------------------------
%% Thesis structure: In the order of
%% -------------------------------------------------
%% Titlepage  -> Authorization -> Signature ->
%% Acknowledgements ->
%% TOC -> List of Figures -> List of Tables ->
%% Abstract -> 
%% -------------------------------------------------
%% <Main body> -> 
%% -------------------------------------------------
%% References -> (Appendices)
%% -------------------------------------------------
\frontmatter
\maketitle 
%% Revision to the Guidelines on Thesis Preparation [w.e.f. Spring 2024/25]
%% Abstract should be positioned immediately after the Title page
\input{chapters/Pre_Abstract.tex}
\authorization
\signaturepage
\input{chapters/Pre_Acknowledgements.tex}
\tableofcontents
\listoffigures
\listoftables
% TODO: see \cmd{\newlistofalgorithms}
\newlistofalgorithms % This is to maintain the same appearance
%% Dedication and Preface are optional
%\input{chapters/Pre_Dedication.tex}
%\input{chapters/Pre_Preface.tex}
%% -------------------------------------------------
%% Main body
%% -------------------------------------------------
\mainmatter
\input{chapters/Ch_Introduction.tex}
\input{chapters/Ch_ExampleChapter.tex}
\input{chapters/Ch_Conclusion.tex}
%% -------------------------------------------------
%% References
%% -------------------------------------------------
\printbibliography[heading=bibintoc,title=References]
%% -------------------------------------------------
%% Appendices
%% -------------------------------------------------
\appendix
\input{chapters/Appendix_Publications.tex}
\input{chapters/Appendix_Requirements.tex}
\end{document}