\documentclass[12pt, a4paper, twoside]{Thesis} % A4 Paper size, Times new roman font, size 12 and two-sided paper as AMU guidelines
\usepackage{hyperref}
\usepackage[acronym]{glossaries}
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\usepackage{textcomp}
\usepackage{wrapfig}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{amsmath}
\usepackage{upgreek}
\usepackage{gensymb}
\usepackage{csquotes}
\usepackage{pdfpages}
\usepackage{lipsum}
\usepackage[open]{bookmark}
\usepackage{mathptmx}
\usepackage{tikz}
\usepackage{tabularx}
\usepackage{xparse} % for dynamic argument handling
\usepackage{expl3} % for using advanced LaTeX3 programming tools
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=2cm, minimum height=1cm,text centered, draw=black, fill=red!30]
\tikzstyle{io} = [trapezium, trapezium left angle=80, trapezium right angle=100, minimum height=1cm, text centered, draw=black, fill=blue!30, text width=1.5cm]
\tikzstyle{process} = [rectangle, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=orange!30, text width=2cm]
\tikzstyle{decision} = [diamond, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=green!30, text width=2cm]
\tikzstyle{arrow} = [thick,->,>=stealth]
% acronyms
\usepackage[withpage]{acronym}
\usepackage{array}
\newcolumntype{L}{>{\centering\arraybackslash}m{3cm}}
% Corrected definition for submission date
%\newcommand*{\submissiondate}[1]{\def\subdate{#1}}
% Corrected definition for number of co-supervisors
%\newcommand{\numcosupervisors}{2} % Define the number of co-supervisors here
% prints author names as small caps
\usepackage[acronym]{glossaries}
\makeatletter
\AtBeginDocument{%
\renewcommand*{\AC@hyperlink}[2]{%
\begingroup
\hypersetup{hidelinks}%
\hyperlink{#1}{#2}%
\endgroup
}%
}
\makeatother
%\usepackage{subcaption} %incompatible with subfig
\graphicspath{{Pictures/}} % Specifies the directory where pictures are stored
\usepackage[english]{babel}
\usepackage[square, numbers]{natbib} % Use the natbib reference package
\hypersetup{urlcolor=black, colorlinks=true} % Colors hyperlinks in blue - change to black if annoying
\title{\ttitle} % Defines the thesis title - don't touch this
\begin{document}
\makeatletter
\renewcommand*{\NAT@nmfmt}[1]{\textsc{#1}}
\makeatother
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the pre-content pages
%\setstretch{1.5} % Line spacing of 1.6 (double line spacing)
% Define the page headers using the FancyHdr package and set up for one-sided printing
\fancyhead{} % Clears all page headers and footers
\rhead{\thepage} % Sets the right side header to show the page number
\lhead{} % Clears the left side page header
\pagestyle{fancy} % Finally, use the "fancy" page style to implement the FancyHdr headers
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % New command to make the lines in the title page
% PDF meta-data
\hypersetup{pdftitle={\ttitle}}
\hypersetup{pdfsubject=\subjectname}
\hypersetup{pdfauthor=\authornames}
\hypersetup{pdfkeywords=\keywordnames}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
\HRule \\[0.4cm] % Horizontal line
{\huge \bfseries \ttitle}\\[0.4cm] % Thesis title
\HRule \\[1.5cm] % Horizontal line
\large \textit{A thesis submitted in fulfilment of the requirements\\ for the degree of \degreename}\\[0.4cm] % University requirement text
\textit{by}\\[0.4cm]
\authornames \\
\vfill
\graphicspath{ {Pictures/} }
\begin{figure}[hb]
\centering
\includegraphics[width=0.40\linewidth]{amu2.png}
\end{figure}
\DEPTNAME\\ % Research group name and department name
\FACNAME\\
\textsc{ \UNIVNAME}\\[1.5cm] % University name
\large \subdate\\[2cm] % Display the submission date here
\end{center}
\end{titlepage}
%----------------------------------------------------------------------------------------
% DECLARATION PAGE
%----------------------------------------------------------------------------------------
\Declaration{\addtocontents{toc}{\vspace{1em}}} % Add a gap in the Contents, for aesthetics
\setcounter{page}{2}
% \begin{minipage}{\textwidth}
% It is certified that the work contained in this thesis entitled \textbf{\enquote{\ttitle}} by \textbf{\authornames} has been carried out under my supervision and that it has not been submitted elsewhere for a degree.
% \end{minipage}
\begin{minipage}{\textwidth}
It is certified that the work contained in this thesis entitled \textbf{\enquote{\ttitle}} by \textbf{\authornames} has been carried out
\ifnum\numcosupervisors=0
{under my supervision} % Singular form
\else
{under our supervision} % Plural form
\fi
and that it has not been submitted elsewhere for a degree.
\end{minipage}
\vspace{20.00mm}
% Supervisor Layout
\begin{minipage}{0.49\textwidth}
\begin{flushleft}
{\textbf{\supnameA}\\
\deptA\\
\univA}
\end{flushleft}
\end{minipage}
\vspace{1em} % Optional space between supervisor and co-supervisors
% Dynamically printing co-supervisors
\printcosupervisors
\vfill
\clearpage
%----------------------------------------------------------------------------------------
% STUDENT DECLARATION
%----------------------------------------------------------------------------------------
\StudentDeclaration{\addtocontents{toc}{\vspace{1em}}} % Add a gap in the Contents, for aesthetics
This is to certify that the thesis titled \textbf{``\ttitle''} has been authored by me. It presents the research conducted by me under the supervision of \textbf{\supnameA}.\par
To the best of my knowledge, it is an original work, both in terms of research content and narrative, and has not been submitted elsewhere, in part or in full, for a degree. Further, due credit has been attributed to the relevant state-of-the-art collaborations with appropriate citations and acknowledgements in line with established norms and practices.\\ [2cm]
\begin{minipage}{.5\textwidth}
\begin{flushleft}
{\authornames\\ Enrollment No: \enrnum \\
\normalsize{\href{https://amu.ac.in/department/computer-engineering}{Computer Engineering Department}\\
\univname}}
\end{flushleft}
\end{minipage}
\vfill
\clearpage
%----------------------------------------------------------------------------------------
% ABSTRACT PAGE
%----------------------------------------------------------------------------------------
\lhead{\emph{Abstract}}
\abstract{\lipsum[1]}
%----------------------------------------------------------------------------------------
% ACKNOWLEDGEMENTS
%----------------------------------------------------------------------------------------
\clearpage
\acknowledgements{\lipsum[1-2]}
\clearpage
%----------------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES PAGES
%----------------------------------------------------------------------------------------
\tableofcontents
\listoffigures
\listoftables
%----------------------------------------------------------------------------------------
% ABBREVIATIONS
%----------------------------------------------------------------------------------------
\clearpage
\chapter*{Abbreviations}
\addtotoc{Abbreviations}
\input{acro_list}
%----------------------------------------------------------------------------------------
% CHAPTERS
%----------------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\input{Chapters/Chapter1}
\input{Chapters/Chapter2}
\input{Chapters/Chapter3}
\input{Chapters/Chapter4}
\input{Chapters/Chapter5}
\input{Chapters/Chapter6}
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\input{List_of_Publication}
\bibliographystyle{unsrt}
\bibliography{authentication}
\end{document}