\documentclass{hmjart}
\usepackage{amssymb}
\usepackage{graphicx}
\setcounter{page}{1}            % THE EDITOR WILL CHANGE THIS LINE
\begin{document}
\hmjlogo{}{}{}{}                % THE EDITOR WILL CHANGE THIS LINE

%
%%%%%%%%%%%%%%%%%%%%
%
% You can change the system of numbering of theorems, remarks, etc
% by changing the following definitions of theorem-like environments.
%
%
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{remark}[theorem]{Remark}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{assumption}[theorem]{Assumption}
%
\theoremstyle{definition}
\newtheorem*{proof}{Proof}
\newtheorem{definition}[theorem]{Definition}
%
%  You can change the system of numbering of equations, tables, figures,
%  by changing the following lines. 
%
\numberwithin{equation}{section}
\numberwithin{table}{section}
\numberwithin{figure}{section}
%
%%%%%%%%%%%%%%%%%%%%
%
\title[The Title]{The Title of The Paper}
\date{\today}            % THE EDITOR WILL CHANGE THIS LINE

\dedicatory{Dedicated to Professor X on the occasion of
  her Nth birthday}     % REMOVE THIS LINE IF NOT NECESSARY

\subjclass{Primary 12D05, 80M12; Secondary 32F18}
\keywords{Local cohomology, contact structure, Sch\"odinger equation}

% The first author
\author[T. Yamada]{Taro Yamada}
\address{Department of Mathematics\\
  Graduate School of Science \\
  Hiroshima University\\
  Higashi-Hiroshima 739-8526 JAPAN} 
\email{taroya@address.ac.jp}
 \curraddr{
   Kenkyujo Research Lab\\
   Dokoka Gaikoku}
\grants{The first author
  is supported by Grant-in-aid for Science Research, No. 123456}

% The second author
\author[J. Suzuki]{Jiro Suzuki}
\address{Department of Mathematics\\
  Daigaku University\\
  1-2-34 Shichouson Todoufuken 567-8901 Japan}
\email{jiro@address.ac.jp}
\grants{The second author
  is supported by Grant-in-aid for Science Research, No. 314159}

% Abstract
\begin{abstract}
You can customize the  numbering system of theoremlike-environments (theorems, propositions, definitions, remarks, etc.), and equations, figures, tables, 
by changing the preamble of this sample file {\tt sampleHMJ.tex}.
\end{abstract}

% \maketitle is after abstract
\maketitle

\section{Introduction}
%
The name of this file is {\tt sampleHMJ.tex}.
 %
 \begin{theorem}[Saburo's Theorem]
 In this sample file, 
theorem-like environments are numbered with the section number.
\end{theorem}
%
%
 \begin{proposition}
  In this sample file, 
  different 
theorem-like environments use the same counter;
that is, they are numbered consecutively.
\end{proposition}
%
You can change the system of numbering of 
theorem-like environments
by changing the preamble of the sample file.
(The current preamble is given in Figure~\ref{fig:current}.)
%
\begin{lemma}
  In this sample file, 
 equations are numbered with the section number.
  Hence we have 
 %
 \begin{equation}
 A=A
 \end{equation}
 %
 and 
  \begin{equation}
B=B.
 \end{equation}
\end{lemma}
%
You can also change the system of numbering of 
 equations, tables, figures,
by changing the preamble of the sample file.
See Figure~\ref{fig:current}.

\begin{figure}
{\small
\begin{verbatim}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{remark}[theorem]{Remark}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{assumption}[theorem]{Assumption}
%
\theoremstyle{definition}
\newtheorem*{proof}{Proof}
\newtheorem{definition}[theorem]{Definition}
%
\numberwithin{equation}{section}
\numberwithin{table}{section}
\numberwithin{figure}{section}
\end{verbatim}
}
\caption{Current preamble of the sample file}\label{fig:current}
\end{figure}



\section{A new section}
%
%
\subsection{A subsection}
%
%
%
\begin{definition}
Here is a definition.
The environment \verb|definition| is in  \verb|\theoremstyle{definition}|.
\end{definition}
%
%
%
\begin{corollary}
  Here is a corollary.
\end{corollary}

\begin{proof}
  This is the proof environment.
The command  \verb|\qed| is available. \qed
\end{proof}
%
\begin{remark}
  The environment \verb|remark| is in  \verb|\theoremstyle{theorem}|.
\end{remark}
%
\subsection{Various commands}
%
The following commands are available.
%
\begin{description}
\item[\texttt{\symbol{"5C}hmjlogo}]

The logo at the top-left of the first page.
Please put this command without
 arguments as
  \verb|\hmjlogo{}{}{}{}|.

\item[\texttt{\symbol{"5C}title}]
  
The title of your paper.   \verb|\title[|{\it short title}\verb|]{|{\it long title}\verb|}|.
The short title is
  optional.


%\item[\texttt{\symbol{"5C}thanks}]
%  
%  Add foot note to the title.

  %\verb|\thanks{|{\it foot note of the title}\verb|}|

\item[\texttt{\symbol{"5C}date}]

  Print (received Xxx 00, 0000) under the author's name. This will be
  handled later by an editor.

\item[\texttt{\symbol{"5C}grants}]
Grants information. 

\item[\texttt{\symbol{"5C}subjclass}]

AMS 2020 Mathematics
  Subject Classification.
  See  AMS webpage 
   (\texttt{http://www.ams.org/msc/}.)

\item[\texttt{\symbol{"5C}author}]
  
The author's name. 
  \verb|\author[|{\it short name}\verb|]{|{\it long name}\verb|}|.
  The short name is optional.

\item[\texttt{\symbol{"5C}address}]

  The address is printed at the last page of the paper.
  Use \verb|\\| to break line.

\item[\texttt{\symbol{"5C}curraddr}]

The author's current address.

\item[\texttt{\symbol{"5C}email}]

 The author's e-mail address.


\item[\texttt{\symbol{"5C}keywords}]
Keywords.

\end{description}
%
\begin{acknowledgments}% acknowledgment-> acknowledgments 2-13/03/13
 For the acknowledgments, please use the environment 
 \[
 \verb+\begin{acknowledgments}...\end{acknowledgments}+.
 \]
\end{acknowledgments}

\begin{thebibliography}{99}
\bibitem{WEB}
  M. Abe,  The title of the web page,
  http://www.abcd.com/foo.html
\bibitem{PAPER}
  J. Beck, The title of the paper, Journal Name, {\bf 34} (2005), 123--131.
\bibitem{BOOK}
  K. Chen, The title of the book, series, publisher, publisher's address,
  published year
\end{thebibliography}

\end{document}
