Thesis template for the Australian National University (ANU)
\documentclass[twoside,onecolumn,12pt,a4paper,openany]{book}
\usepackage{anuthesis}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{amsmath} % Advanced maths commands
\usepackage{amssymb} % Extra maths symbols
\usepackage{amscd}
\usepackage{physics}
\usepackage{rotating} % Rotating table
\usepackage[toc,page]{appendix}
\usepackage[parfill]{parskip}
\usepackage{textcomp} % for names like O{\textquotesingle}Shea in .bbl file
%\usepackage{footnote}
\usepackage{changepage} % to adjust page width for fat tables
%\usepackage{titlepic}
\usepackage{setspace}
\usepackage[colorlinks=true,
linkcolor=black,
urlcolor=black,
citecolor=black, breaklinks=true]{hyperref}
\usepackage{rotating}
\usepackage{longtable}
\usepackage{natbib}
\bibpunct{(}{)}{;}{a}{}{,} % to follow A&A style
\usepackage[flushleft]{threeparttable}
\usepackage{threeparttablex}
\usepackage{multirow}
\usepackage{bbding}
\usepackage{cleveref}
\crefformat{footnote}{#2\footnotemark[#1]#3}
\usepackage{sidecap}
\renewcommand{\bottomfraction}{0.7}
\newcommand{\thesistitle}{[TITLE LINE 1]}
\newcommand{\thesistitletwo}{[TITLE LINE 2]}
\newcommand{\thesistitlethree}{[TITLE LINE 3]}
\newcommand{\fullname}{[Author Name]}
\newcommand{\shortname}{[Short Author Name]}
\newcommand{\thesissubjects}{astronomy,astrophysics}
\newcommand{\thesisdate}{April 2023}
\newcommand{\fullthesisdate}{\today}
\newcommand{\resubmissiondate}{\today}
\newcommand{\thesisyear}{2023}
\def\TODO#1{{\color{red}{\bf [TODO:} {\it{#1}}{\bf ]}}}
%%%%%% AUTHORS - PLACE YOUR OWN PACKAGES HERE %%%%%
\usepackage{color}
\usepackage[normalem]{ulem}
\usepackage[dvipsnames]{xcolor}
% These are autoref macros
\def\chapterautorefname{Chapter}
\def\sectionautorefname{Section}
\def\subsectionautorefname{Section}
\def\subsubsectionautorefname{Section}
\def\figureautorefname{Figure}
\def\tableautorefname{Table}
\def\equationautorefname{equation}
% i.e. -- e.g. -- etc. -- et. al.
\newcommand{\eg}{{\em e.g.,}}
\newcommand{\ie}{{\em i.e.,}}
\newcommand{\etc}{{\em etc.}}
\newcommand{\etal}{{\em et al.}}
\newcommand{\cf}{{\em cf.}}
% There are editing macros
\newcommand{\red}[1]{{\textcolor{red}{#1}}}
\newcommand{\blue}[1]{{\textcolor{blue}{#1}}}
\newcommand{\cyan}[1]{{\textcolor{cyan}{#1}}}
\newcommand{\cut}[1]{{\red{\sout{#1}}}}
\newcommand{\add}[1]{{\cyan{#1}}}
% Autoref macros
\def\sectionautorefname{Section}
\def\subsectionautorefname{Section}
\def\subsubsectionautorefname{Section}
\def\figureautorefname{Figure}
\def\tableautorefname{Table}
\def\equationautorefname{equation}
\newcommand{\aref}[1]{\hyperref[#1]{Appendix~\ref{#1}}}
% Only include extra packages if you really need them. Common packages are:
%\usepackage{caption}
%\usepackage{subcaption}
%\captionsetup{compatibility=false} %https://tex.stackexchange.com/questions/31906/subcaption-package-compatibility-issue
\usepackage{multicol} % Multi-column entries in tables
\usepackage{bm} % Bold maths symbols, including upright Greek
\usepackage{booktabs} %to include pandas latex tables
\usepackage{ifpdf} %to fix issues while compiling on arxiv
\usepackage{float}
\usepackage{pdflscape} % Landscape pages
\usepackage{epigraph} % for quotes
%%%%%%%%%%%%%%%%%%%% DEFINE PAPER ALIASES HERE %%%%%%%%%%%%%%%%%%%
\onehalfspacing
\begin{document}
% epigraph settings, for quotes at the start of introduction and conclusions
\setlength{\epigraphwidth}{12cm}
\setlength{\afterepigraphskip}{1.5cm}
\renewcommand{\epigraphsize}{\small}
\renewcommand{\epigraphrule}{1pt}
\renewcommand{\epigraphflush}{flushright}
%\renewcommand{\textflush}{flushleft}
\citestyle{aa}
\pagestyle{empty}
%
%%% TITLE PAGE:
\pagenumbering{roman} % first use Roman numerals for page numbers
\begin{titlepage}
\begin{center}
\vspace*{0cm}
{ \fontsize{20}{10} \selectfont \thesistitle} \\
\vspace{0.3cm}
{ \fontsize{20}{10} \selectfont \thesistitletwo} \\
\vspace{0.3cm}
{ \fontsize{20}{10} \selectfont \thesistitlethree}
\vspace{2.0cm}
{\bf \huge \fullname}\\
%\vfill
\vspace{2cm}
{\large A thesis submitted for the degree of}\\
\vspace{0.5cm}
{\it \large Doctor of Philosophy}\\
\vspace{0.5cm}
{\large The Australian National University}\\
\vspace{0.5cm}
{ \large Research School of Astronomy \& Astrophysics} \par
\vspace{2.0cm}
\includegraphics[width=0.4\textwidth]{anu-logo-colour.pdf}\\
\vspace{2.0cm}
{\large \thesisdate}
% {\bf Submitted:}\\
%{\bf Approved:}\\
\vspace{1.75cm}
{\large \textcopyright\ Copyright by \fullname, \thesisyear \\}
\vspace{0.5cm}
{\large All Rights Reserved}
%\maketitle
\end{center}
\end{titlepage}
\sloppy
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
% PREFACE TO ELECTRONIC COPY
% remember to change bib style file to "astroads" for the PDF copy
%%% COMMENT THIS OUT FOR THE PRINT COPY
%\setcounter{page}{0}
%\phantomsection\addcontentsline{toc}{section}{Notes on the digital copy}
%\setlength\fboxsep{3mm}
%\setlength\fboxrule{1pt}
%\begin{center}
%\framebox{\huge{\textsc{Notes on the Digital Copy}}}
%\end{center}
%\vspace{5mm}
%This document makes extensive use of the hyperlinking features of \LaTeX. References to figures, tables, sections, chapters and the literature can be navigated from within the PDF by clicking on the reference. Internet addresses will be displayed in a browser.
%
%%Most object names are resolvable in the SIMBAD (\myurl{http://simbad.u-strasbg.fr/simbad/}) astronomical database. Click on an \object[NAME ETA CHA CLUSTER]{object} to be taken to its SIMBAD entry.
%
%The bibliography at the end of this thesis has been hyperlinked to the NASA Astrophysics Data Service (\myurl{http://www.adsabs.harvard.edu/}). Further information on each of the cited works is available through the link to ADS.
%
%\textbf{This page can be easily removed from the print copy\dots}
%%% END
%
%%% DEDICATION:
%
% dedication page
\include{dedication}
\cleardoublepage
\normalsize
%
%%% FRONT CONTENT:
%
% page numbering as roman numerals
% don't indent paragraphs
% increase the amount of space between paragraphs
\pagestyle{plain}
\pagenumbering{roman}
%
% disclaimer
%
% I don't like things showing up in the contents BEFORE the contents
% page itself, but you may wish to uncomment these lines.
%
%\phantomsection\addcontentsline{toc}{section}{Disclaimer}
\include{disclaimer}
%
% acknowledgements
% \phantomsection\addcontentsline{toc}{section}{Acknowledgments}
%\cleardoublepage
\include{acknowledgements}
%
% abstract
%\phantomsection\addcontentsline{toc}{section}{Abstract}
%\cleardoublepage
\include{abstract}
%
% table of contents, figures and tables
\setcounter{tocdepth}{1} % limit TOC to sections, i.e. 1.2, not the default 1.2.1
%\phantomsection\addcontentsline{toc}{section}{Contents}
\tableofcontents
\phantomsection\addcontentsline{toc}{section}{List of Figures}
\listoffigures
\phantomsection\addcontentsline{toc}{section}{List of Tables}
\listoftables\cleardoublepage
%
% quotation at the start of the thesis
%\include{quote}
%
%%% MAIN CONTENT:
%
% page numbering as numbers for content of thesis
\pagenumbering{arabic}
\pagestyle{fancy}
\fancyhead[LO]{\nouppercase{\rightmark}}
\fancyhead[RE]{\nouppercase{\leftmark}}
\fancyhead[LE]{\thepage}
\fancyhead[RO]{\thepage}
\fancyfoot{}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
%%%%%%%%%%%%%%%%%% MAIN CONTENT %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{introduction/introduction}
\include{Chapter1/body}
\include{Chapter2/body}
\include{conclusions/conclusions}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% BACK CONTENT:
%
\cleardoublepage
% for back matter, plain page style with no head/foot rules
%\pagestyle{plain}
%
% bibliography
\phantomsection\addcontentsline{toc}{chapter}{Bibliography}
% change bib style to 'apj' to remove the ADS links in the printed version
\bibliographystyle{astroads}
\bibliography{bibfile}
% appendices
\cleardoublepage
\phantomsection
\appendix
\end{document}