%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Author: Nasrullah Khan %%%
%%% Email: nasrullahsays@gmail.com %%%
%%% WeChat: @nmykhan %%%
%%% ORCID: 0000-0002-4942-9583 %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt,onecolumn,openright]{book}
\let\cleardoublepage\relax
% NOTE: If you face some NON-SENSE ERRORs, Restart the IDE/TexStudio.
% Configure title, author, etc of the thesis in TexFiles/settings.tex
%================================================================%
% All packages and new commands are treated in an own document %
%================================================================%
\input{Extras/settings}
\begin{document}
\frontmatter
%================================================================%
% Auxiliary pages
%================================================================%
\pagenumbering{alph}
\include{Extras/firstpage}
%\thispagestyle{plain}
\phantomsection
%\addcontentsline{toc}{chapter}{Declaration of Authorship}
\include{Extras/Declaration}
\thispagestyle{empty}
%\addcontentsline{toc}{chapter}{Dedication}
\include{Extras/Dedication}
\pagenumbering{roman}
\phantomsection
%\addcontentsline{toc}{chapter}{Abstract in Chinese Language}
\include{Extras/ChineseAbstract}
%\thispagestyle{empty} % To avoid page numbers in blank pages
\phantomsection
%\addcontentsline{toc}{chapter}{Abstract in English Language}
\include{Extras/EnglishAbstract}
%================================================================%
% Table of contents, list of figures and tables
%================================================================%
\tableofcontents % Prints the main table of contents
%\addcontentsline{toc}{chapter}{Table of Contents}
\newpage
\listoffigures % Prints the list of figures
\newpage
\listoftables % Prints the list of tables
\newpage
\listofalgorithms
\newpage
%\addcontentsline{toc}{chapter}{List of Symbols}
\thispagestyle{plain}
\include{Extras/Symbols}
\newpage
%\addcontentsline{toc}{chapter}{List of Abbreviations}
\thispagestyle{plain}
\include{Extras/Abbreviations}
\newpage
\mainmatter
%================================================================%
% Chapters
%================================================================%
\include{Chapters/Chapter1}
\include{Chapters/Chapter2}
\include{Chapters/Chapter3}
\include{Chapters/Chapter4}
\include{Chapters/Chapter5}
\include{Chapters/Chapter6}
\include{Chapters/Chapter7}
\include{Chapters/Chapter8}
\newpage
%%================================================================%
%% Bibliography
%%================================================================%
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
% Choose citation styles depending on whether you want numeric/alphabetic in settings.tex
\printbibliography
\newpage
%%================================================================%
%% acknowledgements
%%================================================================%
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Acknowledgements}
\include{Extras/Acknowledgements}
%================================================================%
% Appended papers
%================================================================%
%The actual papers that are included in the thesis
\thispagestyle{empty}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{List of Publications}
\include{Extras/Publications}
\newpage
%\part{Appended Papers}
%\newpage
%\thispagestyle{empty} % To avoid page numbers in blank pages
%\cleardoublepage
%\include{TexFiles/appendedPapers}
%================================================================%
% Appendices
%================================================================%
%\cleardoublepage
%I place all appendices at the end of the thesis. Of course, you can also change this so that each appendix is directly following the paper it belongs to.
%\addcontentsline{toc}{chapter}{Appendix}
\pagenumbering{Alph}
\appendix
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Appendix}
\chapter{Thesis Summary}\label{ThesisSummary}
\input{Extras/Thesis Summary}
\end{document}