% This is a template file to be used with the jaca document class.
% September 2018.

% --------------------------------------------------------------------
% Read carefully the user's guide provided with this file
% before editig
% --------------------------------------------------------------------

% --------------------------------------------------------------------
% Before submitting your article, clean this file and check that you 
% have strictly followed the guidelines given in the user's guide
% --------------------------------------------------------------------

\documentclass{jaca}  % See the user's guide for allowed options
\usepackage{graphicx} % To include graphics

% Do not load fontenc, amsmath, amsfonts, amssymb or amsthm. Already
% done by the document class. Put below your own command or
% environment definitions, if any.


% ********************************************************************
% BODY OF THE DOCUMENT
% ********************************************************************

\begin{document}

% ====================================================================
% Title, authors, abstract, keywords and AMS codes
% ====================================================================

\title{Title of your article}

% If your title is too long to fit on the running head:
% \title[short title]{Title of your article}

% If your title is too long to fit on one line:
% \title[short title]{Title first line  \\ title second line}

\author{Your full name (e.g. John Smith)}

% If there are two authors:
% \author{First author and second author}

% If there are three or more authors:
% \author{First author, second author,...,nth author and last author}

% If the authors' names do not fit on one line:
% \author[abbreviated list]{first line \\ second line}
% In the optional argument put something like first author et al.

\begin{abstract}
  Text of your abstract. 
\end{abstract}

\KeysAndCodes{Keywords separated by commas}{AMS classification codes}

% ====================================================================
% Section 1
% ====================================================================

\section{The first section of your paper}\label{sec1}

Text of the first section. You can write here your results.

\begin{defn}
  This is a definition.
\end{defn}

\begin{thm}\label{thm1}
  This is an example of theorem.
\end{thm}

\begin{proof}
  This is a trivial proof.
\end{proof}

\begin{rem}
  And this is a remark that cites Theorem \ref{thm1}.
\end{rem}

% ====================================================================
% Section 2
% ====================================================================

\section{The second section of your paper}\label{sec2}

\subsection{A subsection in the second section}

Every section may be divided into subsections.

\subsection{Another subsection}

\subsubsection{A subsubsection}

Moreover, every subsection can be subdivided, in turn, into
subsubsections.

\subsubsection{Another subsubsection}

This is the text of the second subsubsection of the second subsection of 
Section~\ref{sec2}.

\subsection{Test}

Here we check some of the commands defined in \texttt{jaca}:
\begin{itemize}
  \item Number sets:
        \begin{equation*}
           \Nset \subset \Zset \subset \Qset \subset \Rset \subset \Cset.
        \end{equation*}

  \item $\log$-like functions: 
        \begin{equation*}
           \div(f\,\mathbf{u})=(\grad f)\cdot\mathbf{u}
           + f\,\div\mathbf{u}
        \end{equation*}
        
  \item Vectors:
        \begin{equation*}
           (\vec*{\alpha}\times\vec*{\beta}) \cdot 
           (\vec{a}\times\vec{b}) =
           \begin{vmatrix}
              \vec*{\alpha}\cdot\vec{a} & \vec*{\beta}\cdot\vec{a} \\
              \vec*{\alpha}\cdot\vec{b} & \vec*{\beta}\cdot\vec{b}
           \end{vmatrix}
        \end{equation*}

  \item Delimiters:
        \begin{gather*}
           \norm{v}_{m,\Omega}=\pdelim{\sum_{\abs{\alpha}\leq m}
             \int_{\Omega} \abs{\partial^\alpha v(x)}^2\,dx}^{1/2}, 
           \quad
           \norm[4]{\sum_{i=1}^n \lambda_i (\vec{x}_i^\ast + \vec{y}_i)} 
             \leq \sum_{i=1}^n \abs{\lambda_i} 
             \pdelim[1]{\norm[0]{\vec{x}_i^\ast} + \norm{\vec{y}_i}}, \\
           (x,y,z)\in\ooi{-1,+\infty}\times\coi{-3,2}\times\oci{-\infty,5}
           \qquad(\text{intervals in French notation})
        \end{gather*}
\end{itemize}

We now recall that the bibliography contains two articles
(cf.~\cite{LopArc89} and \cite{Mad06}), a book (cf.~\cite{Cia02}), a
manual (cf.~\cite{amsmath}) and a webpage (cf.~\cite{urlbst}).

% ====================================================================
% Section n
% ====================================================================

\section{Last section}

You can easily include figures (remember to load the \textsf{graphicx}
package).

\begin{figure}[tp]
  \centering
  \framebox[0.6\textwidth]{\rule[-9ex]{0pt}{19ex}Your graphic would be here}
  % \includegraphics[some options]{the graphics filename}
  \caption{Example of a  figure.}\label{fig1}
\end{figure}

% ====================================================================
% Acknowledgements
% ====================================================================

\ack Write here your acknowledgements (to persons or institutions) and 
references to research projects.

% ====================================================================
% References
% ====================================================================

% 1. Build your bib file and write its name below instead of bibmodel.
% 2. Run pdfLaTeX on the tex file.
% 3. Run BibTeX on the aux file.
% 4. Run LaTeX again a couple of times to get the correct 
%    cross-references.
%
% In many LaTeX editors, the above loop can be done just by pressing 
% a couple of buttons. 
  
\bibliographystyle{acmurl}
\bibliography{bibmodel}
   
% ====================================================================
% Address
% ====================================================================

% Single author 

\begin{address}
  Your name \\
  first line of your address \\
  second line \\
  last line \\
  \texttt{your.email@address}
\end{address}

% Two authors with the same address

% \begin{address}
%   first author and second author \\
%   first line of the address \\
%   second line \\
%   last line \\
%   \texttt{first author's email} and \texttt{second author's email}
% \end{address}

% Two authors with different addresses: first option

% \begin{address}
%   first author \\
%   first line of the address \\
%   second line \\
%   last line \\
%   \texttt{first author's email}
% \end{address}
% 
% \begin{address}
%   second author \\
%   first line of the address \\
%   second line \\
%   last line \\
%   \texttt{second author's email}
% \end{address}

% Two authors with different addresses: second option

% \begin{address}[2]
%   first author \\
%   first line of the address \\
%   second line \\
%   last line \\
%   \texttt{first author's email}
% \end{address}
% \begin{address}
%   second author \\
%   first line of the address \\
%   second line \\
%   last line \\
%   \texttt{second author's email}
% \end{address}

% Three authors. There are many cases. The simplest way to proceed: 
% put every author in a separate address environment. You can also,
% for example:
% 
% * join two consecutive addresses on the same line (see the second
%   option for two authors with different addresses)
%   
% * join several authors with the same address (see two authors
%   with the same address)

\end{document}