\documentclass[leqno,twoside]{article}
\headsep 0.5cm \pagestyle{myheadings}
\usepackage{amssymb,amsmath,latexsym, amsthm,enumerate, nsjom, amsfonts}
\title{} \author{} \date{}
\markboth{Jelena Aleksi\'c, Aleksandar Pavlovi\'c}{Sample file}\setcounter{page}{1}
%\usepackage[dvipdfm, pdfstartview=FitH]{hyperref} % Use LaTeX and then DVI2PDF,
% or, if you plan to use packages only compatible with PDFLaTeX
\usepackage[pdftex, pdfstartview=FitH]{hyperref}

\usepackage{graphicx}
% Use this package if you plan to put some pictures

%If you want equations number as (2.1), where, 2 is the section number then use
\numberwithin{equation}{section} %You may omit this line if you want numbering as (1)

 \newtheorem{thm}{Theorem}[section]
 \newtheorem{cor}[thm]{Corollary}
 \newtheorem{lem}[thm]{Lemma}
 \newtheorem{prop}[thm]{Proposition}
 \theoremstyle{definition}
 \newtheorem{defn}[thm]{Definition}
  \newtheorem{ex}[thm]{Example}
 \theoremstyle{remark}
 \newtheorem{rem}[thm]{Remark}

 \usepackage[paperwidth=165mm, paperheight=235mm, twoside, hmargin={25mm,20mm}, vmargin={20mm,20mm} ]{geometry}

% You may use some variations of this environments, for instance, with separate global counters
% \newtheorem{defn}{Definition}
% Also, you may use your own names for environments like
% \newtheorem{df}{Definition}
% or whatever you prefer, but, please, use them

\begin{document}
\thispagestyle{empty}

\begin{flushleft}
\vspace*{-1.1cm} {\sc  Novi Sad J.\ Math.}  {\sc Vol.\ XX, No.\ Y,
20ZZ, ???-??? } \\
\url{https://doi.org/10.30755/NSJOM.XXXXX}
\end{flushleft}
\vspace{0.8cm}
% PRAVLJENJE NASLOVA
\begin{center}
{\large \bf SAMPLE FILE\footnote{This is one place where you can put acknowledgement}

} \vspace*{3mm}

% Title should be in upper case

{\bf Jelena Aleksi\'c\footnote{Department of Mathematics and Informatics, Faculty of Science, University of Novi Sad,\\ e-mail: \href{mailto:jelena.aleksic@dmi.uns.ac.rs}{jelena.aleksic@dmi.uns.ac.rs}} and Aleksandar Pavlovi\'c\footnote{Department of Mathematics and Informatics, Faculty of Science, University of Novi Sad,\\ e-mail: \href{mailto:apavlovic@dmi.uns.ac.rs}{apavlovic@dmi.uns.ac.rs}}\footnote{Corresponding author}}
\end{center}
% Authors should be ordered alphabetically!!!!
% Please, use your FULL NAME and put an email address in affiliation. The example with underline in e-mail address:
%\href{mailto:my_address@wikibooks.org}{my\_address@wikibooks.org}

\begin{abstract}
Abstract has to be selfcontained and without any references.
\\[2mm] {\it AMS Mathematics  Subject Classification $(2010)$}: 00A11; 55B55
% Please do not use not complete classification like 54Axx
\\[1mm] {\it Key words and phrases:} sample file; NSJOM
% put as many key words as you like separated by semi-colon

\end{abstract}










\section{Introduction}

This is just a small sample file in which are given few rules and examples for preparing file for publishing in NSJOM.  The idea is to have fully functional PDF file with active hyperlinks, quotations and citations in a document. Therefore, using theorem environments is important. Of course, you may use your own definitions.

We intend in future to put more examples which can make preparation of LaTeX file for NSJOM more easier.


If you have any question or doubts, please do not hesitate to ask:

   \href{mailto:nsjom@dmi.uns.ac.rs}{nsjom@dmi.uns.ac.rs}.


\section{Definitions}

If you are putting references, please do in the following way: \cite{dm2}, or \cite{1,2,3}. Also you may use something like \cite[ch. 3]{Mar}.

Definitions, theorems, lemmas have to be in the appropriate environments.
\begin{defn}
This is just a sample of a definition.
\end{defn}

You may do something like:
\begin{defn}[\cite{dm2}]
This is just a sample of a definition with citation.
\end{defn}
or
\begin{rem}[Gauss]
Here goes a remark.
\end{rem}


\section{Main results}

\begin{thm}\label{TH001}
After theorem usually goes its proof.
\end{thm}
\begin{proof}
Proof  has its own environment which ends with QED symbol.
\end{proof}


\begin{lem}
There holds
\begin{equation}\label{EQ001}
1+1=2.
\end{equation}
\end{lem}
\begin{proof}
The proof of Equation \eqref{EQ001} is easy.
\end{proof}

Please use labels for easier referring of previous theorems, lemmas and similar. Like

Theorem \ref{TH001} is just an example of \emph{proof} environment.

This is how to put pictures. You may use color pictures, but it will be printed grayscale. Online version will be in full colour.
\begin{figure}[htbp]
\begin{center}
\includegraphics[bb=0 0 645 642, width=5truecm,height=5truecm]{PMF.JPG}
\end{center}
\caption{\small Faculty of Sciences, Novi Sad} \label{PIC01}
\end{figure}


For a JPG file you have to define Bounding Box. For EPS it is within a file.

\section*{Acknowledgement}
This is also a place where you can put acknowledgement.


\bibliography{NSJOMBIB}{}
\bibliographystyle{acm}

% References will be automatically ordered alphabetically and those not cited in the text will not appear in the list. Citation should be done using, for instance,  \cite{1}
% Formatted bibTeX data can be found at https://mathscinet.ams.org/mref
% More examples can be found in details of each published or accepted paper since 2018
% Some instructions can be found at https://nwalsh.com/tex/texhelp/bibtx-7.html

\vspace*{2mm} \noindent{\it Received by the editors  February 19,
2018}

\noindent{\it First  published online   July 8,
2018}


\end{document}

