\documentclass[ph,msthesis]{usuthesis}

%{{{ Packages
\usepackage{amssymb}           % add ams symbols stuff
\usepackage{amsmath}
\usepackage{graphicx}          % add graphics
\usepackage{subcaption}
\usepackage{xcolor}
%\usepackage{flafter}           % Cause floats to appear after
                               % environment.
%\usepackage{siunitx}           % Provides standard formatting of SI units.

\usepackage{hyperref} % Creates hyperlinks within document
\hypersetup{colorlinks=true, linkcolor=blue,
  citecolor=blue,urlcolor=blue} % Use when compiling the digital copy
%\hypersetup{colorlinks=true, linkcolor=black,
% citecolor=black,urlcolor=black} % Use when compiling the printed copy

% The following allows for hyperlinked DOIs to be inserted in the
% manuscript by using \doi{}.
\usepackage{doi}
% fixes doi
\renewcommand{\doitext}{}

\usepackage{lscape}

% You don't need this package once you have your stuff
\usepackage{lipsum}

%  AGU uses a modified version of APA for citation and reference styles
\usepackage{apacite}
\bibliographystyle{apacite}

% change apacite to use et al. after two authors instead of 6
\usepackage{regexpatch}
\makeatletter
\xpatchcmd{\@@cite}{\def\BCA##1##2{{\@BAstyle ##1}}}{\def\BCA##1##2{{\@BAstyle ##2}}}{}{}
\makeatother

% only create hyperlinks in doi uris
\renewenvironment{APACrefURL}[1][]{}{}
\AtBeginEnvironment{APACrefURL}{\renewcommand{\url}[1]{}}

% Set spacing around figures and tables to triple space
\setlength{\intextsep}{2em} % Vertical space above & below [h] floats
\setlength{\textfloatsep}{2em} % Vertical space below (above) [t] ([b]) floats

% The following is added if you are using the multiple-paper format to
% add references after each chapter:
%\usepackage[sectionbib]{chapterbib}
%}}}

\author{Your Name Here}
\title{Your Thesis or Dissertation Title}

% The Committee
\majorprof{Your Major Professor, Ph.D.}
\firstreader{Commitee Member Two, Ph.D.}
\secondreader{Committee Member Three, Ph.D.}

% Graduate Dean
\graddean{Graduate Dean, Ph.D.}
\deantitle{Vice Provost of Graduate Studies}

\academicdegree{Master of Science}
\month{May}
\gradyear{2022}
%
\begin{document}
    %{{{ Frontmatter
    \preliminaries   % set frontmatter style

    \maketitle
    \makecopyright        % optional

    \include{abstract}
    \include{publicabstract}
%    \include{dedication}  % optional
    \include{acknowl}     % optional
%
    \tableofcontents

%    \listoftables
    \listoffigures
    %}}}

    %{{{ The main body of the thesis
    \body  % set main body style
    % Chapters
    \include{chapter1}
    \include{chapter2}
    \include{chapter3}

    % Endmatter
    \bibliography{thesis}

    \include{appendix}
    \include{vita}
    %}}}
\end{document}
