% Kathmandu University thesis template, adapted from MbR_Thesis_V7.tex.
% Compile this file from the ku_thesis_template directory using pdfLaTeX.
% Edit thesis-info.tex first; see README.md for the complete workflow.
\documentclass[12pt,a4paper,oneside]{report}
\input{preamble}
\input{thesis-info}
\hypersetup{
pdftitle={\thesistitle},
pdfauthor={\authorname},
pdfsubject={\degreetype\ in \degreeprogram},
pdfkeywords={Kathmandu University, thesis}
}
\begin{document}
% Unnumbered pages must not share PDF anchors with the later numbered pages.
\hypersetup{pageanchor=false}
\pagestyle{empty}
\input{frontmatter/title}
\input{frontmatter/copyright}
\clearpage
% Preliminary pages start at i, after the title and copyright pages.
\pagenumbering{roman}
\hypersetup{pageanchor=true}
\pagestyle{fancy}
\input{frontmatter/authorization}
\input{frontmatter/evaluation}
\ifincludepreface
\input{frontmatter/preface}
\fi
\input{frontmatter/acknowledgments}
\thesistableofcontents
\thesislistoffigures
\thesislistoftables
\input{frontmatter/abstract}
\ifincludeabbreviations
\input{frontmatter/abbreviations}
\fi
\ifincludesymbols
\input{frontmatter/symbols}
\fi
\ifincludededication
\input{frontmatter/dedication}
\fi
% Edit, add, remove, or reorder the chapter files below to suit your research.
\clearpage
\pagenumbering{arabic}
\input{chapters/01_introduction}
\input{chapters/02_literature_review}
\input{chapters/03_methodology}
\input{chapters/04_results}
\input{chapters/05_discussion}
\input{chapters/06_conclusions}
\input{chapters/07_future_work}
% The TOC link is inserted at the bibliography heading, not the previous page.
\bibliographystyle{IEEEtran}
\bibliography{references}
\ifincludeappendices
\clearpage
\chapter*{APPENDICES}
\addcontentsline{toc}{chapter}{APPENDICES}
\appendix
% Suppress \chapter's automatic page break so Appendix A starts on the
% same page as the APPENDICES heading above.
\begingroup
\let\clearpage\relax
\let\cleardoublepage\relax
\input{appendices/appendix_a}
\endgroup
\input{appendices/appendix_b}
\fi
\end{document}