%%%%%%%%%%%%%%%%%% USAGE INSTRUCTIONS %%%%%%%%%%%%%%%%%%
% - Compile using LuaLaTeX and biber, unless there is a particular reason not to. Do not use the older LaTex/PDFLaTeX or BibTeX (the fonts won't work correctly).
% - Expect to get 2 warnings when working correctly, one on xcolor and hyperref, and one on ExtSizes saying is better to use a class. These can be ignored.
% - Font, font size, and the report 'year' must all be specified in \documentclass or the template won't work correctly. (There's no error checking/default cases!)
% - Options for fonts are: calibri, times, palatino, garamond, arial, tahoma, verdana, trebuchet. Note however that not all these are installed on Overleaf, you need to install to your project if use (e.g. calibri)
% - Options for font size are: 10pt, 11pt, 12pt or 14pt. 12pt is the reccomended value in the thesis guidelines
% - Options for 'year' are: first, second, third, thesis.
% - As many further packages as wanted can be loaded. Below are just an example set. Note that template itself loads a number of packages, including hyperref and csquote.
% - References are handed using biblatex.
% - There is more documentation in the header of uom_these_casson.cls file if you need more help
% - Link to the presentation of theses policy: http://www.regulations.manchester.ac.uk/pgr-presentation-theses/
%%%%%%%%%%%%%%%%%% META DATA SETUP %%%%%%%%%%%%%%%%%%
% This is where the document title and author are set. Other details for the title page are set later
% Note that if/when you edit these you may need to 'Recompile from scratch' to get the changes to display in the PDF. (In Overleaf, select the down arrow to the right of the 'Recompile' button)
\begin{filecontents*}{\jobname.xmpdata}
\Title{A data reduction algorithm incorporating a low power continuous wavelet transform for use in wearable electroencephalography systems}
\Author{Alexander J. Casson}
\Language{en-GB}
\Copyrighted{True}
% More meta-data fielda can be added here if wanted, see https://ctan.org/pkg/pdfx?lang=en for fields
\end{filecontents*}
%%%%%%%%%%%%%%%%%% DOCUMENT SETUP %%%%%%%%%%%%%%%%%%
\documentclass[times,12pt,thesis]{uom_thesis_casson} % See above for font options. Size can be: 10pt, 11pt, 12pt or 14pt. Year can be: first, second, third, or thesis.
%%%%%%%%%%%%%%%%%% PACKAGES AND COMMANDS %%%%%%%%%%%%%%%%%%
% Packages - some useful examples
\usepackage{graphicx} % for adding graphics files
\graphicspath{ {./images/} }
\usepackage{amsmath} % assumes amsmath package installed
\allowdisplaybreaks[1] % allow eqnarrays to break across pages
\usepackage{amssymb} % assumes amsmath package installed
\usepackage{url} % format hyperlinks correctly
\usepackage{rotating} % allow portrait figures and tables
\usepackage{multirow} % allows merging of rows in tables
\usepackage{lscape} % allows pages to be typeset in landscape mode
\usepackage{tabularx} % allows fixed width tables
\usepackage{verbatim} % enhanced version of built-in verbatim environment
\usepackage{footnote} % allows more control over footnote environments
\usepackage{float} % allows H option on floats to force here placement
\usepackage{booktabs} % improve table line spacing
\usepackage{lipsum} % for adding dummy text here
\usepackage[base]{babel} % required for lisum package
\usepackage{subcaption} % for multiple sub-figures in a single float
\usepackage{siunitx} % add SI units
% Custom commands
\newcommand{\degree}{\ensuremath{^\circ}}
\newcommand{\sus}[1]{$^{\mbox{\scriptsize #1}}$} % superscript in text (e.g. 1st can be 1\sus{st})
\newcommand{\sub}[1]{$_{\mbox{\scriptsize #1}}$} % subscript in text
\newcommand{\otoprule}{\midrule[\heavyrulewidth]}
\newcolumntype{Z}{>{\centering\arraybackslash}X} % tabularx centered columns
% Add your commands here
%%%%%%%%%%%%%%%%%% REFERENCES SETUP %%%%%%%%%%%%%%%%%%
% Setup your references here. Change the reference style here if wanted
\usepackage[style=ieee,backend=biber,backref=true,hyperref=auto,maxbibnames=3,minbibnames=1]{biblatex}
% Note backref=true adds a page number (and hyperlink) to each reference so you can easily go back from the references to the main document. You may prefer backref=false if you need to stick strictly to a given reference style
% Fixes which can't be applied in the .cls file
\DefineBibliographyStrings{english}{backrefpage = {cited on p\adddot}, backrefpages = {cited on pp\adddot}}
\renewcommand*{\bibfont}{\large}
% Add more .bib files here if wanted
\addbibresource{references.bib}
%%%%%%%%%%%%%%%%%% AUTOMATIC WORD COUNT SETUP %%%%%%%%%%%%%%%%%%
% Automatically counts the words present and makes a \mywordcount variable. This is used later to automatically add the word count (which can be overridden if wanted)
% See https://www.overleaf.com/learn/how-to/Is_there_a_way_to_run_a_word_count_that_doesn%27t_include_LaTeX_commands%3F for info on what words are counted and how to control this. Any changes to what's counted need to be made in uom_thesis_casson.cls, in the \newcommand{\quickwordcount} command. The default doesn't count words in headings, captions, or references and so you may get slightly different numbers if use a different word count tool
% This can be a bit fragile. If it doesn't work, there's an option later on to just type in a numer
\quickwordcount{\currfilebase} % run word count. This just counts the words. Is displayed with the \wordcount command later
%%%%%%%%%%%%%%%%%% START DOCUMENT %%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%% LIST OF THESIS REVISIONS %%%%%%%%%%%%%%%%%%
%TC:ignore % turns off the word count for this section
%\begin{uomlotr} % only for resubmitted theses, if wanted.
% Optional. Is for examiners receiving a revised version of the thesis to help them check that any required changes have been made. It is removed from the thesis before the final submitted version.
% If is wanted, uncomment this section. (Keep TC:ignore and TC:endignore commented, otherwise these will contribute to the automatic word count)
% Most people probably find this easiest to make their list of revisions as a seperate document, but you can do it here if you would like. This would let you do a \pageref{sec:my_label} to a \label{sec:my_label} so can say e.g. "On page 14 I added more info", and the 14 be automatically calculated.
% Policy asks for this to be removed from the final thesis, which messes up the page numbers somewhat. Done here so that the final post-award thesis is correct. In the pre-examination thesis the numbers displayed on the page will be one lower than the number displayed by the PDF reader. Remove this page if not wanted/needed, and/or is a first or second year report
%\lipsum[1-3] % generate dummy text for here
%\end{uomlotr}
%TC:endignore % turn word count back on
%%%%%%%%%%%%%%%%%% COVID-19 impact statement %%%%%%%%%%%%%%%%%%
%TC:ignore % turns off the word count for this section
%\begin{uomcovid}
% Optional. Only for use by people starting before September 2022.
% If is wanted, uncomment this section. (Keep TC:ignore and TC:endignore commented, otherwise these will contribute to the automatic word count)
% Policy asks for statement to be before the title page
% Policy asks for this to be removed from the final thesis post-examination, which messes up the page numbers somewhat. Done here so that the final post-examination thesis is correct. In the pre-examination thesis the numbers displayed on the page will be one lower than the number displayed by the PDF reader. Remove this page if not wanted/needed, and/or is a first or second year report
%\lipsum[1-3] % generate dummy text for here
%\end{uomcovid} % \clearpage is added automatically
%TC:endignore % turn word count back on
%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%
% Title and author are automatically taken from the document meta-data defined above
\makeatletter
\title{\xmp@Title}
\author{\xmp@Author}
\makeatother
% Set the below yourself
\faculty{Science and Engineering} % "Faculty of" is added automatically
\school{School of Engineering} % "School of" not added automatically (as if in AMBS, School comes at the end rather than the start), so enter full name of School here
\departmentordivision{Department of Electrical and Electronic Engineering} % "Department of" or "Division of" not added automatically (as some Schools use Departments while others use Divisions), so enter full name of Dept./Division here
\submitdate{2024} % regulations ask only for the year, not month
\wordcount{\mywordcount} % use \wordcount{} to set the count. Can just type in a number (e.g. \wordcount{1000} if don't want to use the automatic count.) This is automatically displayed after the table of contents.
\maketitle
%%%%%%%%%%%%%%%%%% LISTS OF CONTENT %%%%%%%%%%%%%%%%%%
% Probably don't need all of these unless final thesis
\uomtoc % contents
\uomlof % figures
\uomlot % tables
\begin{uomlop} % list of publications.
% Can use biblatex to \printbibliography[heading=none] to populate automatically, or can add a custom list via the tocloft package, but probably easier to just type in unless you have lots!
Publications go here.
\end{uomlop}
\begin{uomterms}
Enter terms and abbreviations as table or similar
% Add list of terms and abbreviations by hand if wanted. Is no formal requirement to have one. There are lots of packages to help with this if you don't want to do by hand
\end{uomterms}
%%%%%%%%%%%%%%%%%% ABSTRACT %%%%%%%%%%%%%%%%%%
\begin{abstract} % put abstract here. Limit is 1 page.
This is abstract text.
\lipsum[1-2]
\end{abstract}%
\clearpage
%%%%%%%%%%%%%%%%%% LAY ABSTRACT %%%%%%%%%%%%%%%%%%
\begin{uomlay} % Optional. Limit is 1 page. Delete if not wanted
This is lay abstract text.
\lipsum[1-2]
\end{uomlay}
%%%%%%%%%%%%%%%%%% DECLARATION OF ORIGINALITY %%%%%%%%%%%%%%%%%%
\begin{uomoriginality} % Don't need unless final thesis.
\uomoriginalitydeclaration
% If the standard originality decalaration is sufficient, saying no portion of the work has been submitted in support of an application for another degree or qualification, the above command will automatically add the required text and nothing else is needed in this section.
% If the standard statment isn't sufficient, then comment out the \uomoriginalitydeclaration command and type in your own text here explaining the authorship of any re-used portions.
\end{uomoriginality}
%%%%%%%%%%%%%%%%%% COPYRIGHT STATEMENT %%%%%%%%%%%%%%%%%%
\uomcopyrightstatement % Don't need unless final thesis. No options are needed. Having this command will add the required declarations
%%%%%%%%%%%%%%%%%% ACKNOWLEDGEMENTS %%%%%%%%%%%%%%%%%%
\begin{uomacknowledgements} % probably don't need unless final thesis
Acknowledgements go here.
\end{uomacknowledgements}
%%%%%%%%%%%%%%%%%% ABOUT THE AUTHOR %%%%%%%%%%%%%%%%%%
\begin{uomauthor} % Optional. Delete if not wanted
If desired, a brief statement for External Examiners giving the candidate’s degree(s) and research experience, even if the latter consists only of the work done for this thesis.
\end{uomauthor}
%%%%%%%%%%%%%%%%%% Start content %%%%%%%%%%%%%%%%%%
\uomstartmainbody % Don't delete. used to flag to the hyperlinks in the PDF that the main content is starting
%%%%%%%%%%%%%%%%%% CHAPTER 1 %%%%%%%%%%%%%%%%%%
\chapter{Introduction} % probably better to use \input{} or \include{} for each chapter to draw content from other files rather than having everything in one big file
\lipsum[1-5] % generate dummy text for here
%%%%%%%%%%%%%%%%%% CHAPTER 2 %%%%%%%%%%%%%%%%%%
\chapter{Literature review}
\section{Introduction}
\lipsum[1]
\section{Example display items}
This is an example of providing a cross-reference to \autoref{sec:really_good_work}. Similarly, this is an example cross-reference to a sub-section, \autoref{sec:content}.
This is an example of adding references \cite{ref:jCAS09,ref:jCAS09a,ref:jCAS10}. If you want the author name, or similar, you can use: \citeauthor*{ref:jCAS09} \citeyear{ref:jCAS09} introduced a really good idea. (This is for when you primarily use numbered citations, but occasionally need an author's name. If using author names as the reference everywhere, change style=ieee in the biblatex setup above to whatever reference style you want, and then just use the cite command.)
For adding \emph{emphasis} use the emph command. In general, try to avoid texttt, textit, textbf and similar commands --- these don't tell the document \emph{why} the style is being changed, and this information is needed for screen readers. In contrast, emph gives meaning to the change in format. By default it uses italics, but you can change the style if you want to.
Below are two example tables. \autoref{table:example_tabularx} is an example using tabularx to fix the size of the table to be the same width as the page, with columns that auto-wrap if the text is too long. \autoref{table:example_tabular} is an example using tabular where the width of the table is set by its contents. It may go beyond the width of the page.
\begin{table}
\centering
\caption[Short caption for list of tables]{Example table. Full caption goes here. Often a short caption in [] is used as well as the main caption to keep the list of figures tidy; it gets messy if there are long captions going over more than one line.}
\label{table:example_tabularx}
\begin{tabularx}{\linewidth}{ZZZZZ}
\toprule
\multirow{2}{*}{Participant} & \multicolumn{2}{c}{Number / \%} & \multicolumn{2}{c}{Duration / \%} \\
& Prime dresses & Non-prime dresses & Prime dresses & Non-prime dresses \\
\otoprule
1 & 33.33 & 33.91 & 20.83 & 18.42 \\
2 & 13.04 & 17.50 & 04.93 & 07.62 \\
3 & 22.73 & 20.10 & 13.00 & 08.20 \\
4 & 31.34 & 21.88 & 10.57 & 11.09 \\
5 & 08.47 & 19.32 & 03.04 & 09.73 \\
\hline
Mean & 16.4 & 16.5 & 07.8 & 07.5 \\
Standard deviation & 09.7 & 06.6 & 05.4 & 03.3 \\
\bottomrule
\end{tabularx}
\end{table}
\begin{table}
\centering
\caption[Short caption for list of tables]{Example table. Full caption goes here. Often a short caption in [] is used as well as the main caption to keep the list of figures tidy; it gets messy if there are long captions going over more than one line.}
\label{table:example_tabular}
\begin{tabular}{ccccc}
\toprule
\multirow{2}{*}{Participant} & \multicolumn{2}{c}{Number / \%} & \multicolumn{2}{c}{Duration / \%} \\
& Prime dresses & Non-prime dresses & Prime dresses & Non-prime dresses \\
\otoprule
1 & 33.33 & 33.91 & 20.83 & 18.42 \\
2 & 13.04 & 17.50 & 04.93 & 07.62 \\
3 & 22.73 & 20.10 & 13.00 & 08.20 \\
4 & 31.34 & 21.88 & 10.57 & 11.09 \\
5 & 08.47 & 19.32 & 03.04 & 09.73 \\
\hline
Mean & 16.4 & 16.5 & 07.8 & 07.5 \\
Standard deviation & 09.7 & 06.6 & 05.4 & 03.3 \\
\bottomrule
\end{tabular}
\end{table}
This is an example equation in text \(2\sin{\omega t}\). Below is an example of a displayed equation. See \autoref{equ:example} for info.
\begin{equation}
a^{2} + b^{2} = c^{2} \label{equ:example}
\end{equation}
This is an example of a quote in text \textcquote{ref:jCAS10}{The electroencephalogram (EEG) is a classic noninvasive method for measuring a person's brainwaves}. Below is an example of a displayed quote. Both are using the csquotes package.
\begin{displaycquote}{ref:jCAS10}
Electrodes are placed on the scalp to detect the microvolt-sized signals that result from synchronized neuronal activity within the brain.
\end{displaycquote}
This is an example figure. See \autoref{fig:uom_logo} for more details. Alternatively, can put multiple figures into a subfigure environment, for example \autoref{fig:uom_logo_in_subfig}, or \autoref{fig:subfig_b} to cite a particular sub-figure.
\begin{figure}
\centering
\includegraphics[alt={Put short description for screen readers here},width=0.3\textwidth,keepaspectratio=true]{uom_logo.pdf}
\caption[Short caption for list of figures]{Example figure. Full caption goes here. Often a short caption in [] is used as well as the main caption to keep the list of figures tidy; it gets messy if there are long captions going over more than one line.}
\label{fig:uom_logo}
\end{figure}
\begin{figure}
\centering
\begin{subfigure}{0.3\linewidth}
\includegraphics[alt={Put short description for screen readers here},width=\textwidth,keepaspectratio=true]{uom_logo.pdf}
\caption{}
\label{fig:subfig_a}
\end{subfigure}
\begin{subfigure}{0.3\linewidth}
\includegraphics[alt={Put short description for screen readers here},width=\textwidth,keepaspectratio=true]{uom_logo.pdf}
\caption{}
\label{fig:subfig_b}
\end{subfigure}
\begin{subfigure}{0.3\linewidth}
\includegraphics[alt={Put short description for screen readers here},width=\textwidth,keepaspectratio=true]{uom_logo.pdf}
\caption{}
\label{fig:subfig_c}
\end{subfigure}
\caption{Three copies of the University logo. (a) Copy one. (b) Copy two. (c) Copy three.}
\label{fig:uom_logo_in_subfig}
\end{figure}
An example code listing is given in \autoref{code:example}. See \url{https://www.overleaf.com/learn/latex/Code_listing} for more examples of how to display code. Code in the body of the text can be included as \lstinline{for} or \lstinline{while} or \lstinline{main}.
\begin{lstlisting}[language=Python, caption={My code example}, label={code:example}]
import numpy as np
def my_filter(in,f_obj):
y = filter(f_obj,in)
return y
\end{lstlisting}
\section{Summary}
\lipsum[6] % adds dummy text to fill up the example
%%%%%%%%%%%%%%%%%% CHAPTER 3 %%%%%%%%%%%%%%%%%%
\chapter{Really good work} \label{sec:really_good_work}
\section{Introduction}
\lipsum[1] % adds dummy text to fill up the example
\section{Content} \label{sec:content}
\subsection{Introduction}
\lipsum[1] % adds dummy text to fill up the example
\subsection{Detail}
\lipsum[7-11] % adds dummy text to fill up the example
\subsection{More detail}
\lipsum[1-3] % adds dummy text to fill up the example
\subsection{Summary}
\lipsum[1] % adds dummy text to fill up the example
\section{Summary}
\lipsum[6] % adds dummy text to fill up the example
%%%%%%%%%%%%%%%%%% CONCLUSIONS %%%%%%%%%%%%%%%%%%
\chapter{Conclusions}
\lipsum[1] % adds dummy text to fill up the example
%%%%%%%%%%%%%%%%%% REFERENCES %%%%%%%%%%%%%%%%%%
\printbibliography[title={References},heading=bibintoc] % a single list of references for the whole thesis
%%%%%%%%%%%%%%%%%% APPENDICES %%%%%%%%%%%%%%%%%%
\begin{uomappendix}
\chapter{First Appendix}
\section{Section in Appendix}
\lipsum[1-6]
\chapter{Second Appendix}
\section{Section in Appendix}
\lipsum[1-6]
\end{uomappendix}
%%%%%%%%%%%%%%%%%% END MATTER %%%%%%%%%%%%%%%%%%
\end{document}