%%% Prepared by Wai Qian Tham, on 4 June 2024.
%% Prepared with comments and instructions for report writing. However, the writing guide is specifically for scientific writing, following IEEE guidelines. Do consult library services or any departmental writing guidelines for report writing.
%% This main page contains the preamble, and the only content here is the title and the abstract. Other content writing can be done in the .tex files in the other folders.
\documentclass[a4paper]{article}
% \documentclass[a4paper, twocolumn]{article}
%% Language and font encodings
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%% Sets page size and margins
\usepackage[a4paper,top=2cm,bottom=2cm,left=2.5cm,right=2.5cm,marginparwidth=1.75cm]{geometry}
%% Useful packages
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{xcolor}
\definecolor{tcdBlue}{RGB}{5, 105, 185}
\usepackage[colorlinks=true,allcolors=.,urlcolor=blue]{hyperref} % allowing hyperlinking of references. You can set the colour of the links or turn the colorlinks to false if no colour preferable.
\usepackage[numbers]{natbib} % for Vancouver numbering style citation. Remove the [numbers] command for author-year Harvard style referencing.
%% optional changes to the style. Comment (Ctrl+/) to remove these options.
% change font to sans-serif fonts.
\renewcommand{\familydefault}{\sfdefault}
% Format chapter headings appropriately to include tcd blue.
\usepackage{titlesec}
\titleformat{\section}[hang]{\normalfont\Large\bfseries\color{tcdBlue}}{\thesection}{1em}{}{}
%% For nomenclature. Comment away if not used.
% \usepackage{nomencl} % for nomenclature
% \usepackage{etoolbox} % to group nomenclature
% \usepackage{multicol} % for multiple columns in a page/table
\hyphenation{op-tical net-works semi-conduc-tor}
\begin{document}
\title{Simple report layout with TCD blue section colour \\ (report with cover page option also available)}
\author{Name Surname 1, Name Surname 2}
\maketitle
\begin{abstract}
Input abstract here. The abstract should be short, and contain a summary of what is to be expected in the report. Some key findings is recommended to be highlighted in the abstract.
\end{abstract}
% \tableofcontents % Optional. Remove if unnecessary (or ugly).
% \input{Addendum/nomenclature} % Optional. Remove if unnecessary.
\input{1_introduction/introduction.tex} % introduction to the report.
\input{2_background/background} % background of article or theory
\input{3_method/method} % methodology
\input{4_results/results} % elaborating on the results
\input{5_analysis/analytics} % analyse the data. Can be combined with the results section to form one combined section.
\input{6_conclusion/conclusion}
\input{Addendum/Acknowledgement}
\addcontentsline{toc}{section}{Acknowledgements}
%% References
\bibliographystyle{unsrtnat} % Vancouver reference style (numbering).
% \bibliographystyle{agsm} % Harvard reference style (author-year).
\bibliography{B_bibs/bibliography}
\addcontentsline{toc}{section}{Bibliography}
%% Appendices
\input{Addendum/Declaration}
\addcontentsline{toc}{section}{Declaration}
\input{A_appendix/appendix.tex}
\end{document}