
\documentclass[12pt,Bold,TexShade]{USJThesis}

%% add the required packages
\usepackage{graphicx}
\usepackage{xcolor,pict2e}
\usepackage{url}
\usepackage{microtype}
\usepackage{texshade}
\usepackage{longtable}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage{float}
\usepackage{cite}
\usepackage{subcaption}
\usepackage{breqn}
\usepackage{natbib}
\usepackage{caption}
\usepackage[longtable]{multirow}
\usepackage{tabu}
\usepackage{colortbl}
\usepackage{footnote}
\usepackage{wrapfig}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{epstopdf}
\usepackage{lipsum, pdflscape}
\usepackage{tikz}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{geometry}
\usepackage{siunitx}
\usepackage{tocbibind}
\usepackage{chemformula}

\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}

\lstdefinestyle{mystyle}{
	backgroundcolor=\color{backcolour},   
	commentstyle=\color{codegreen},
	keywordstyle=\color{magenta},
	numberstyle=\tiny\color{codegray},
	stringstyle=\color{codepurple},
	basicstyle=\ttfamily\footnotesize,
	breakatwhitespace=false,         
	breaklines=true,                 
	captionpos=b,                    
	keepspaces=true,                 
	numbers=left,                    
	numbersep=5pt,                  
	showspaces=false,                
	showstringspaces=false,
	showtabs=false,                  
	tabsize=2
}

\lstset{style=mystyle}


%%       Define student-specific information here
\SetTitle{Title of the Thesis}% Write the title of your thesis here
\SetAuthor{Name}% Write your name to be displayed here
\SetIndexNum{Index number}% Write your index number. For example: ASXXXXXXX
\SetThesisDate{Date}% Set the submission date. For example: December,2020
\SetDepartment{Department name}% Write only the name of the Department. For example: Statistics. Do not write Department of Statistics.
\SetDegree{Degree}% For example: BSc (Honors) Statistics
\SetCourseCode{Course Code}% For example: STA XXX X.X
\SetSupervisor{Main Supervisor's name}% Write the name of the main supervisor with the title (Prof., Dr. so on)

%If multiple supervisors are involved, enter their details here:
\SetSupervisorTwo{2nd Supervisor's name}% Write the name of the second supervisor with the title (Prof., Dr. so on)
\SetSupervisorInstituteTwo{2nd Supervisor's Institute\\ Address Line 1\\ Address Line 2}% Write the name of the 2nd supervisor's institute. You may use \\ to go to a new line.
\SetSupervisorThree{3rd Supervisor's name}% Write the name of the third supervisor with the title (Prof., Dr. so on)
\SetSupervisorInstituteThree{3rd Supervisor's Institute\\ Address Line 1\\ Address Line 2}% Write the name of the third supervisor's institute. You may use \\ to go to a new line.


\newcommand*{\captionsource}[2]{%
	\caption[{#1}]{%
		#1%
		\\\hspace{\linewidth}%
		\textbf{\small Source:} #2%
	}%
}
\begin{document}
	\maketitle%
\pagenumbering{roman}

        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		%%         Declaration and Recommendation          %%
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

		\input{THESIS/FrontPages/DeclarationAndRecommendation}
		
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		%%         		  Dedication                       %%
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		
		\input{THESIS/FrontPages/Dedication}
		
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		%%         		 Acknowledgement                   %%
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		
		\input{THESIS/FrontPages/Acknowledgement}
		
		
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		%%         		   Abstract                        %%
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		
		\input{THESIS/FrontPages/Abstract}
		
		
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		%%         		   Contents                        %%
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
		
		\TOCHeading{\MakeUppercase{Table of Contents}}%
		\LOTHeading{\MakeUppercase{List of Tables}}%
		\LOFHeading{\MakeUppercase{List of Figures}}%
		\tableofcontents %
		\listoftables %
		\listoffigures %

	\pagenumbering{arabic}
	
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%%         		   Main Content                    %%
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%%       add your chapters here
	\input{THESIS/Chapters/Chapter1}
	
	\input{THESIS/Chapters/Chapter2}
	
	\input{THESIS/Chapters/Chapter3}
	
	\input{THESIS/Chapters/Chapter4}
	
	\input{THESIS/Chapters/Chapter5}
	
	\input{THESIS/Chapters/Chapter6}
	

	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%%         		   Bibliography                    %%
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	\bibHeading{References}
	%\nocite{*}
	\bibliography{BibFile}
	\bibliographystyle{apalike} %%      you may give the preferred style
	
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%%         	  	    Appendix                       %%
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%      add your appendices here
	\input{THESIS/Appendices/AppendixA}
	\input{THESIS/Appendices/AppendixB}

\end{document}