% Original Author: Rajiv Verma (rajivnitece@gmail.com)
% NIT Kurukshetra, India-136119
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,timesnewroman,12pt,twoside]{report}
%\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1.25in,rmargin=1in}
\usepackage{authblk,lineno,hyperref,color,lscape,url,sectsty}
\usepackage[autostyle]{csquotes}
\usepackage[dvipsnames]{xcolor}
\usepackage[labelfont=bf]{caption}
\usepackage{emptypage}
\usepackage{array,float,multirow,graphicx,setspace,cleveref,cite,url,titlesec,tocloft}
%\usepackage{mathrsfs}
\usepackage{}
\usepackage{amsmath,amsfonts,mathtools,notoccite}
\usepackage{chngcntr,rotating,pdflscape,enumitem,algpseudocode,algorithm,subcaption}
\usepackage{calligra}
\numberwithin{equation}{section}
\linespread{1.3}
\titleformat{\chapter}[display]
%{\normalfont\huge \bfseries}{\chaptertitlename\ \thechapter}{5pt}{\Huge}
{\normalfont \huge \filleft \bfseries\color{black}}{\chaptertitlename\ \thechapter}{8pt}{\LARGE}
\titlespacing*{\chapter}{0pt}{0pt}{10pt}
\graphicspath{{./Figures/}}
\renewcommand\cftaftertoctitle{\par\noindent\rule{\textwidth}{2pt}\par\vskip-3.5em}
\renewcommand\cftafterloftitle{\par\noindent\rule{\textwidth}{2pt}\par\vskip-3.0em}
\renewcommand\cftafterlottitle{\par\noindent\rule{\textwidth}{2pt}\par\vskip-3.0em}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
	%%%%%%%%%%%%%%%%%%%  Title page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\pagenumbering{roman}
	\input{titlepage.tex}                    % title page
	\cleardoublepage                         % for blank page
	%%%%%%%%%%%%%%%%%%%  Certificate page %%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{certificate.tex}     
	\addcontentsline{toc}{chapter}{Certificate} 
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%% Dedication page %%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{dedication.tex}                   % dedication page
	\addcontentsline{toc}{chapter}{Dedication}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%% Acknowledgement page %%%%%%%%%%%%%%%%%%%%%%%%%%
    \input{acknowledgment.tex}
    \addcontentsline{toc}{chapter}{Acknowledgments}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%% Abstract page %%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{abstract.tex}
	\addcontentsline{toc}{chapter}{Abstract}
	\clearpage
	%%%%%%%%%%%%%%%%%%% Table of contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\begin{flushright}
		\tableofcontents
	\end{flushright}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%% Table of figures %%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\begin{flushright}
		\listoffigures
		\addcontentsline{toc}{chapter}{List of Figures}
	\end{flushright}	
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%% Table of tables %%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\begin{flushright}
		\listoftables
		\addcontentsline{toc}{chapter}{List of Tables}
	\end{flushright}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%% Table of acroymns %%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{LOA.tex}
	\addcontentsline{toc}{chapter}{List of Acronyms/Abbreviations}
	\clearpage
	%%%%%%%%%%%%%%%%%%% Table of symbols %%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \input{LOS.tex}
	\addcontentsline{toc}{chapter}{List of Symbols}
	\cleardoublepage
	%%%%%%%%%%%%%% Chapters 1-7 %%%%%%%%%%%%%%
	\pagenumbering{arabic}
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{chapters/chapter1.tex}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{chapters/chapter2.tex}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{chapters/chapter3.tex}
	\clearpage
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-4 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{chapters/chapter4.tex}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{chapters/chapter5.tex}
	\clearpage	
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{chapters/chapter6.tex}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-7 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{chapters/chapter7.tex}
	\clearpage
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% List of publications %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\input{listofpublications.tex}
	\addcontentsline{toc}{chapter}{List of Publications}
	\cleardoublepage
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\addcontentsline{toc}{chapter}{Biblography}
	\bibliography{thesisref}
	\bibliographystyle{unsrt}
\end{document}