\documentclass[11pt, oneside]{report}
\usepackage{IEEEtrantools}
\usepackage{geometry}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\linespread{1.5}
\usepackage{hyperref}
\usepackage{mathptmx}
\usepackage{xcolor}
\usepackage{hyperref}
%\usepackage[style=authoryear, defernumbers=true, backend=biber,dashed=false, maxnames=999,maxcitenames=2,giveninits=true,urldate=long,uniquename=false,uniquelist=false]{biblatex}
\usepackage[style=ieee]{biblatex}
\addbibresource{References.bib}
%\addbibresource{biblio.bib}
%% pretty captions
\usepackage{caption}
\usepackage{subcaption}
%%% allows you to create Rules, Definitions, Lemmas, Theorems etc.
\usepackage{amsthm}
\usepackage{amsfonts}
%\usepackage[]{algorithm2e}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{float} % to allow figures across 2 columns
\newtheorem{theorem}{Theorem}
\newtheorem{definition}{Definition}
\newtheorem{lemma}{Lemma}
\newtheorem{Rule}{Rule}
\numberwithin{definition}{chapter}
\numberwithin{theorem}{chapter}
\numberwithin{lemma}{chapter}
\numberwithin{Rule}{chapter}
\numberwithin{equation}{chapter}
\newcommand\tab[1][1cm]{\hspace*{#1}}
\usepackage[super]{nth}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{placeins}
\usepackage{pdfpages}
\usepackage{attachfile2}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{csquotes}
\usepackage{fancyhdr}
%\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
%\renewcommand{\footrulewidth}{0.4pt}
\fancyhead{}
\fancyhead[L]{SHORTENED TITLE} %%% CHANGE AS APPROPRIATE (you may need to use a shortened form of the title)
\fancyhead[R]{Student ID: .......} %%% CHANGE AS APPROPRIATE
\fancyfoot{}
\fancyfoot[C]{\thepage}
\usepackage{titlesec}
\titlespacing{\chapter}{0pt}{*4}{*2.5}
\titleformat{\chapter}{\normalfont\huge\bf}{\thechapter}{20pt}{\huge\bf}
%% prevents Chapter 1 (then new line and Introduction) - turns into 1. Introduction
%% Call your references "References" rather than Bibliography, then also allow for a separate Bibliography if needed.
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\perdatasource{references.bib}
\step[fieldset=keywords, fieldvalue={, primary}, append]
}
\map{
\perdatasource{biblio.bib}
\step[fieldset=keywords, fieldvalue={, secondary}, append]
}
}
}
\input{Formatting}
\setcounter{tocdepth}{3} % allow only sections (not subsections in table of contents)
\begin{document}
\input{Title_page}
\input{Declaration}
\newpage
\input{Acknowledgements}
\input{Abstract} %% any other "Front matter" should go here before the table of contents - format in a style similar to the file Abstract.tex
\tableofcontents
\listoftables
\addtocontents{toc}{~\hfill\textbf{Page}\par} % comment this line out if you want to remove "Page"
\input{Introduction}% standard chapter format
\input{Key_Contributions.tex}
\input{Literature_Review.tex}
\input{Research_Methodology.tex}
\input{Results.tex}
\input{Conclusion.tex}
\vfill
%%%%%%%%%%%%%%%%%%
\appendix
\input{appendix} % uncomment these two lines of code if you have don't have an appendix!
\printbibliography[ title= References]\addcontentsline{toc}{chapter}{References}
\end{document}