\documentclass[instructions]{StylesAndSettings/uqthesis}
%\documentclass[final]{StylesAndSettings/uqthesis}
% set how close to the bottom of the page the page number is. Measurement is indicating distance from the last line of text
\setlength{\footskip}{9mm}
%*************************************
% FOR YOUR FINAL THESIS
%*************************************
%IMPORTANT!
%The default document class (above - line 1 & 2) for the template is \documentclass[instructions]{uqthesis} - this document class will show instructional material and examples relevant to the preliminary material in the compiled PDF preview. THESE INSTRUCTIONS ARE FOR YOUR REFERENCE ONLY AND ARE NOT TO BE INCLUDED IN YOUR FINAL THESIS!
%To turn off these instructions in your final thesis you MUST use the document class \documentclass[final]{uqthesis}
%To activate the final thesis document class you must UN-COMMENT THIS DOCUMENT CLASS (remove the % from the start of line 2) and comment out the instructional document class on line 1 (add % to the start of line 1).
%*************************************
% Introduction to template
%*************************************
%This is The University of Exeter and The University of Queensland Graduate School (QUEX) Official Combined LaTeX Thesis template.
%Be sure to observe the content of comments within the source code, these are prefaced with a percentage symbol.
%Most important instructions have been CAPITALISED.
%To uncomment an inactive command (if required) remove the % from in front of the command.
%Please see the README for more information.
%This file loads the necessary packages, sets the page styles, and defines required macros.
%Edit this if you are comfortable with LaTeX.
%Other tweaks can be made in StylesAndSettings/uqthesis.cls, but change these at your own risk!
%See README for version.
%You must have the memoir class installed.
\input{StylesAndSettings/LaTexPackages.tex}
% ***************************************************
% Title page
% ***************************************************
%***THESIS TITLE***
%Use Sentence Case (capitalise only the first word and proper nouns).
\title{Thesis Title}
%***YOUR NAME***
%Do not include initials or middle names. Do not include your supervisor(s)' name(s).
\author{First name Family name}
%***YOUR CURRENT DEGREES***
%Use abbreviations. Do not include the date or location of your degree. Do not include the degree for which this thesis is being submitted. The degrees listed on the title page must be tertiary degrees that have already been awarded. The name of the institution is not required
\currentdegrees{Candidate’s academic degrees}
%***ORCID ID***
%Add and hyperlink your ORCID
\orcid{\href{add your ORCID url here}{Candidate's ORCID}}
%***YEAR OF SUBMISSION***
%The year of submission is required. The month/day is not required.
\date{\{year\}}
%***TYPE OF DEGREE***
\submittedfor{Doctor {\{Master\}} of Philosophy}
%***YOUR SCHOOL***
%Use Title Case (capitalise every word which is not a conjunction or preposition).
%See - https://blog.apastyle.org/apastyle/2012/03/title-case-and-sentence-case-capitalization-in-apa-style.html - for help.
%You must list your enrolling units at both institutions.
\school{\{Name of the Enrolling Units\}}
%HBAR fix added by Michael
% (this issue is related to the use of the mathptmx package)
\begin{document}
\renewcommand{\hbar}{\mathchar'26\mkern-7.5mu h}
\pagenumbering{arabic}
\setcounter{page}{1}
% Assemble title page
\maketitle
\clearpage
% ***************************************************
% Preface
%****************************************************
\pagestyle{plain}
\section*{\uline{Abstract}}
\normalfont
%Open abstract.tex to edit
\input{./PreliminaryPages/Abstract.tex}
\clearpage
% ***************************************************
\section*{\uline{Declaration by author}}
%DO NOT EDIT.
\input{./PreliminaryPages/Authordeclaration.tex}
\clearpage
%YOU MUST EDIT THIS DOCUMENT.
\input{./PreliminaryPages/Preliminary.tex}
\let\cleardoublepage=\clearpage % this removes a blank page that appears when you place a prelim page after the TOC
\end{document}