\documentclass[
journal=pasa,
manuscript=research-paper, %% or "review"
year=202X,
volume=YY,
]{cup-journal}
\usepackage{amsmath}
\usepackage{amssymb,microtype,siunitx,booktabs}
\sisetup{detect-all,separate-uncertainty=true}
\title{The Title}
\author{F. Author}
\affiliation{First affiliation}
\email[F. Author]{author@something.edu.au}
%\alsoaffiliation{Joint first authors}
\author{S. Author}
\affiliation{Second affiliation}
%\handlingeditor{Excellent E Editor}
%\doi{10.1017/pasa.2020.32}
\received {dd Mmm YYYY}
\revised {dd Mmm YYYY}
\accepted {dd Mmm YYYY}
\published{22 September 202X}
\keywords{XXXXXXXXXXXXX} %% First letter not capped
% \jel{Q11; Q12; D81; M31}
% \msc{Q14; Q18; E21}
% \abbreviations{
% BDHS: Bangladesh Demographic and Health Survey,
% IDA: Fe-deficiency anaemia,
% IFA: Fe-folic acid,
% MNP: multiple micronutrient powder,
% VAD: vitamin A deficiency
% }
\begin{document}
\begin{abstract}
This is the abstract.
\end{abstract}
\section{INTRODUCTION }
\label{sec:int}
\subsection{A subsection}
XXXX
The layout of this paper is as follows. XXX.
Throughout we assume cosmological parameters of $H_0=70\,$km\,s$^{-1}$\,Mpc$^{-1}$, $\Omega_M=0.3$,
$\Omega_\Lambda=0.7$ and $\Omega_{\rm{k}} = 0$.
\section{XXXX}
\label{sec:xxx}
\section{DISCUSSION}
\label{sec:discussion}
Discuss.
\section{SUMMARY}
\label{sec:conclusion}
Summarise.
\begin{acknowledgement}
This is an acknowledgement.
\end{acknowledgement}
% PASA uses footnotes, not endnotes. \endnote in this template will behave like \footnote; and \printendnotes will not output anything.
% \printendnotes
\bibliography{bibtemplate}
%\appendix
\end{document}