\documentclass{nzjm}
\usepackage{amsmath,amsthm,amsfonts,amssymb,amsbsy,latexsym,graphicx}

% The details below will be filled in by the journal during production
\def\currentvolume{**}
\def\currentyear{****}
\def\pagerange{**--**}
\def\doinumber{****}
% The details above will be filled in by the journal during production
\setcounter{page}{1}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}

\theoremstyle{definition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{example}[theorem]{Example}
\newtheorem{definition}[theorem]{Definition}

\numberwithin{equation}{section}



\begin{document}

\title[NZMJ sample]{Title of a paper for NZJM}
\author[F. Author]{First Author}
\author[S. Pencil]{Second Pencil}
\author[T. Writer]{Third Writer}
\date{6 February, 2017}
\thanks{Part of this work is supported by ****.}
\keywords{keyword1; keyword2; keyword3.}
\subjclass[2010]{00A00, 11B11}

\begin{abstract}
This is the abstract.
\end{abstract}

\maketitle



\section{Introduction}

Every paper has an introduction.
Usually the introduction contains the main result of the paper.
The main result of this paper is the next theorem.

\begin{theorem} \label{t1}
Let $H$ be a Hilbert space and $x,y \in H$.
Then $x \perp y$ if and only if
\begin{equation}
\label{eq1}
\|x + y\|^2 = \|x\|^2 + \|y\|^2.
\end{equation}
\end{theorem}


\section{Preliminaries}

We recall some results from \cite{paper1} and \cite{book2}.


\section{Proof of the main theorem}

Before we can proof Theorem~\ref{t1}, we need a lemma.

\begin{lemma} 
This is the crucial lemma.
\end{lemma}
\begin{proof}
See \cite[Lemma~3.14]{conf3}. 
\end{proof}

Now we are able to prove the main result of this paper.

\begin{proof}[{\bf Proof of Theorem~\ref{t1}}]
Suppose $x \perp y$. Then blah blah blah. Hence we obtain~\eqref{eq1}.
Conversely, suppose~\eqref{eq1} holds. Then blah blah blah.
\end{proof}


\begin{thebibliography}{99}

\bibitem{paper1} A. B. Author, C. Familyname and D. E. Writer,
{\it The title of a paper on a specific topic}, New Zealand J. Math.
{\bf 99} (2015), 123--230.

\bibitem{book2} C. D. Name, {\it A very interesting Booktitle},
Series Title 98, Publisher, City, 2011.

\bibitem{conf3} D. E. Writer, {\it Paper in a conference proceedings},
Name of the Conference, Place of conference, 
Series Title 99, 2--5, Publisher, City, 2012.

\end{thebibliography}



\smallskip
\smallskip
\smallskip
\smallskip
\smallskip
\smallskip
\smallskip

\begin{minipage}{0.31\textwidth}
%you mustn't put a blank-line break in here!
\begin{flushleft}
\begin{footnotesize}
First Author\\ University of City,\\ Private Bag 1234,\\ City 4321,\\ Country\\
email@address
\end{footnotesize}
\end{flushleft}
\end{minipage}
\noindent\begin{minipage}{0.31\textwidth}
\begin{flushleft}
\begin{footnotesize}
Second Pencil\\ University of City,\\ Private Bag 1234,\\ City 4321,\\ Country\\
e.mail@address 
\end{footnotesize}
\end{flushleft} %you mustn't put a blank-line break in here!
\end{minipage}
\begin{minipage}{0.31\textwidth}
\begin{flushleft}
\begin{footnotesize}
Third Writer,\\University of Town,\\ P.O. Box 1,\\ Town 2345,\\ Country\\
em.ail@address
\end{footnotesize}
\end{flushleft} %you mustn't put a blank-line break in here!
\end{minipage}
%you mustn't put a blank-line break in here!
\end{document}
