%%%%%%%%%%%%%%%%%% DOCUMENT SETUP %%%%%%%%%%%%%%%%%%
\DocumentMetadata{lang=en-US,pdfversion=2.0,pdfstandard=UA-2,tagging=on,testphase={phase-III,title,math,table,firstaid}} % edit language if needed, but otherwise leave unchanged
% TAGGING: will become this when Overleaf catches up with current LaTeX versions
%\DocumentMetadata{lang=en-GB,pdfversion=2.0,pdfstandard={UA-2,A-4F},tagging=on}
%%%%%%%%%%%%%%%%%% NOTE %%%%%%%%%%%%%%%%%%
%%SJZN: Many comments have been lifted entirely from the U of Manchester beta accessibility template, which I like because of how it handles the documentation. I'll preface my own comments as above, with the SJZN after two percents.
% - This is a beta version of the thesis template that adds the \DocumentMetadata command. It produces PDF files which include a range of features to improve accessibility. If interested you can read about it here: https://www.latex-project.org/publications/indexbytopic/pdf/
% - It fundamentally works, but produces a few warnings, and you may find that a number of third party packages don't work. (For example we usually use \tabularx for making fixed width tables, but isn't compatible with DocumentMetadata yet.)
% - If you have a relatively 'vanilla' thesis, with just text, figures, and simple tables, everything will likely work with no issues. If this is the case, I would suggest you use this template. You get a PDF that works better with screen readers and other accessibility tools, for no extra effort. If you have issues using this version, then just use the 'regular' one at https://www.overleaf.com/latex/templates/university-of-manchester-phd-thesis-and-continuation-reports/hgngpshkptbd. There are some parts in the example which are just commented out because they don't work yet.
% - The intention is that this version will become the default template in the future, but it likely needs few more years to become stable. Accessibility features are still being actively developed in LaTeX, and as Overleaf Uses TexLive, which packages LaTeX once per year, then can be quite a delay before new features become available. You can use it now if you want to though.
%%%%%%%%%%%%%%%%%% 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 biblatex, patching footnotes failed, and one about font shape 10.95 not available. These can be ignored.
% - 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.
% - Link to the presentation of dissertation policy: https://grad.wisc.edu/current-students/doctoral-guide/#dissertation-guide
%%SJZN<-many packages will simply not work to express mathematical symbols and they won't work to be read as they should. We await development of these packages to enable accuracy of mathematical expressions read by screen readers. In some cases, you may need to create alternative text to allow your mathematical expressions to be read. See the conclusion for an example.
%%%%%%%%%%%%%%%%%% PACKAGES AND COMMANDS %%%%%%%%%%%%%%%%%%
\documentclass[11pt]{report}
% 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
% TAGGING: Re-add when supported for tagging
%\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
% Add your packages here
\usepackage{fancyhdr} %for margin and spacing requirements
\usepackage{setspace} %for margin and spacing requirements
\usepackage[style=authoryear,sorting=none]{biblatex}
\usepackage{unicode-math}%%important
\usepackage[width=150mm,top=35mm,bottom=25mm,bindingoffset=6mm]{geometry}
\usepackage{tagpdf}%<- this allows for document tagging
\tagpdfsetup{
activate-all
}%<- suggested for correct use of table tagging, and space issues
\pagestyle{fancyplain}% <- use fancyplain instead fancy
\fancyhf{}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\setlength{\headheight}{14pt}
\renewcommand{\familydefault}{\sfdefault} % changes font to sans-serif
\addbibresource{references.bib}
\directlua{callback.register("post_linebreak_filter", parsepara)}%<-removing glue to make screen reader easier to understand. For more information: https://www.overleaf.com/latex/examples/using-luatex-to-convert-interword-glue-to-spaces-and-kerns/sfdkdkybrvkv
\title{Thesis Title}
\author{Author Name}
\date{Day Month Year}
\begin{document}
\pagenumbering{roman}
\input{titlepage}
\input{abstract}
\chapter*{Dedication}
To mum and dad
\chapter*{Declaration}
I declare that..
\chapter*{Acknowledgements}
I want to thank...
Supported by grant numbers...
\tableofcontents
\listoffigures
\listoftables
\doublespacing
\chapter{Introduction}
\pagenumbering{arabic}
\input{chapters/introduction}
\chapter{Chapter Two Title}
\input{chapters/chapter02}
\chapter{Chapter Three Title}
\input{chapters/chapter03}
\chapter{Chapter Four Title}
\input{chapters/chapter04}
\chapter{Conclusion}
\input{chapters/conclusion}
\appendix
\chapter{Appendix Title}
\input{chapters/appendix}
\singlespacing
\urlstyle{same}
\printbibliography
\end{document}