\documentclass[AMA,STIX1COL,$for(classoption)$$classoption$$sep$,$endfor$]{WileyNJD-v2}

$if(longtable)$
\usepackage{longtable}
$endif$

$if(csl-refs)$
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newenvironment{cslreferences}%
  {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
  \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
  {\par}
$endif$

$for(header-includes)$
$header-includes$
$endfor$

$if(articletype)$
\articletype{$articletype$}
$endif$

$if(received)$
\received{$received$}
$endif$

$if(revised)$
\revised{$revised$}
$endif$

$if(accepted)$
\accepted{$accepted$}
$endif$

\raggedbottom

\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

\begin{document}

\title{$title$}

$for(author)$
\author[$author.num$]{$author.name$}
$endfor$

$if(authormark)$
\authormark{$authormark$}
$endif$

$for(address)$
\address[$address.num$]{$address.org$}
$endfor$

$if(corres)$
\corres{$corres$}
$endif$

$if(presentaddress)$
\presentaddress{$presentaddress$}
$endif$

$if(abstract)$
\abstract{$abstract$}
$endif$

$if(keywords)$
\keywords{$keywords$}
$endif$

\maketitle

$body$

$if(bibliography)$
\bibliography{$bibliography$}
$endif$

$for(include-after)$
$include-after$

$endfor$

\end{document}
