% Indian Institute of Technology Bhubaneswar Dissertation Template
%
% Please read the comments in this file and make appropriate edits.
% NOTE: Always refer to the ``Preparation and Submission Manual for
% Doctoral Dissertations and Masters Theses for 20**'', where 20** is
% the year of your graduation, for official preparations guidelines.
%
\documentclass[11pt]{iitbbs}
%%%%%%% Import packages %%%%%%%
% \usepackage{showframe} % makes the page borders visible, conflicts with xcolor
\usepackage{amsfonts,amsmath,amssymb,bold-extra,enumerate,float}
\usepackage{siunitx}
\graphicspath{{figures/}}
\usepackage{url,array,csquotes,multirow,tabularx}
% \usepackage{moderncvcompatibility}
% Packages for floats like figures and tables
% \usepackage{longtable}
\usepackage[acronym,nomain,toc]{glossaries}
\makeglossaries
\usepackage[intoc,noprefix]{nomencl}
\makenomenclature
\renewcommand{\nomname}{List of Symbols}
\usepackage[toc,page]{appendix}
\addbibresource{bibliography.bib}
%-------------------------------------------------------------------
%\flushbottom
%--------------------------------------------------------------------------
\raggedbottom % (Remove Unnecessary space b/w paragraphs)
%--------------------------------------------------------------------------
\begin{document}
\input{00_personalinfo}
% --------- Title and abstract etc in the front matter ----------- %
\pagenumbering{gobble}
% Set line spacing to 1 in frontmatter because
% with 12pt font, 1.5 spacing is too large
\setstretch{1}
\makeatletter
\input{00_Cover/frontcover}
\input{00_Cover/title_page}
%%%%%%%%%%%% Front Matter %%%%%%%%%%%%
\pagenumbering{roman}
\include{01_Dedication/Dedication}
\include{02_Approval/Approval}
\include{03_Certificate/Certificate}
\include{04_Declaration/Declaration}
\include{05_Acknowledgement/Acknowledgment}
\makeatother
% Fancy header
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
%%%%%%%%%%%% Abstract %%%%%%%%%%%%
\setstretch{2} % double spacing
\input{06_Abstract/Abstract}
\cleardoublepage\clearpage
%%%%%% List of Abbreviations %%%%%%
\input{07_Abbreviations/Abbreviations}
%%%%%% List of Symbols %%%%%%
\input{08_Symbols/symbols}
%%%%%% Table of Contents %%%%%%
%%%%%%% To create 1.5 spacing in contents
\setstretch{1.5}
\input{09_Contents/Contents}
\pagenumbering{arabic}
%%%%%%%% To create double spacing in chapters
\setstretch{2}
\renewcommand{\chapterheadstartvskip}{\vspace*{-2.5cm}}
\renewcommand{\sectionmark}[1]{\markright{\thesection~#1}{}}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~-~#1}{}}
\fancyhead[RE]{\leftmark}
\fancyhead[LO]{\rightmark}
%%%%%% Chapters %%%%%%
%% Remove any command starting with "\lipsum"
%% from the chapter text. They are used to generate
%% junk test paragraphs
\input{10_Chapter_1/Introduction}
\clearpage
% \newpage\null\newpage
\input{20_Chapter_2/Literature_review}
\clearpage
% \newpage\null\newpage
\input{30_Chapter_3/chapter_3}
\clearpage
% \newpage\null\newpage
\input{40_Chapter_4/chapter_4}
\clearpage
% \newpage\null\newpage
\input{50_Chapter_5/chapter_5}
\clearpage
% \newpage\null\newpage
\input{60_Conclusion/Conclusion}
\clearpage
%%%%%% Appendices %%%%%%
\appendix
%% Comment the following lines if you do not want to add
%% "Appendix" before appendix number in TOC
\renewcommand{\chaptername}{Appendix}
\addtocontents{toc}{\protect\renewcommand{\protect\cftchappresnum}{\chaptername~}}
\input{100_Appendices/appendix_0}
\input{100_Appendices/appendix_1}
\newpage
% \null\newpage
\renewcommand{\baselinestretch}{1}
%%%%%% Publications %%%%%%
\input{110_Publications/Publications}
\newpage\null\newpage
\let\cleardoublepage\clearpage
%%%%%% Bibliography %%%%%%
\renewcommand{\bibname}{References}
\fancyhead[LO,RE]{\bfseries \bibname}
\printbibliography[heading=bibintoc]
% Comment the following line if you don't want to print
% all the citations in the bibliography file
\nocite{*}
\end{document}