% Load the class.
\documentclass[draft,english]{lematema}
% Article title: split lines with \\ if the automatic splitting isn't
% satisfactory
\title{Example article with\\a title on multiple rows}
% The given title will also be used in headers. If it's too long, a shorter
% title should be specified for headers. This is done with the command
% \titlemark
\titlemark{Example article}
% The \titlenote command is used to add a comment to the title. This comment
% will appear in the footer of the first article page
\titlenote{Partly sponosered by Some Company}
% It's possible to add multiple title notes
\titlenote{Thanks a lot to everybody}
% Mathematics Subject Classification
\MSC{C0D1C3, PR0V4}
% Keywords
\keywords{testing, test}
% Article authors. Each author should be added with the \author command, and
% its affiliation should be specified with the \address command. It's possible
% to split the address on multiple lines using \\
\author{Name Surname}
\address{%
Some Department\\
Some University\\
\email{first.lastname@server.email}
}
\author{Some O. Person}
\address{%
Other Department\\
Other University\\
\email{another.author@other.server}
}
% Submission date, in format yyyy/mm/dd (numerical)
\date{2007/01/01}
% Other email addresses can be inserted with the simpler command
% \email{email.address}
% Document begins here
\begin{document}
\maketitle
% Abstract
\begin{abstract}
The article abstract, with a synthetical exposition of the main result.
\end{abstract}
% The article itself
\section{Introduction}
Some introduction can go here, for example
\section{Text}
It's possible to use some predefined \LaTeX\ environments for theorems,
corollaries, lemmas, propositions, definitions, remarks, notes and proofs.
\begin{dfn}
This is an example of definition $\mathcal A$
\end{dfn}
\begin{dfn}
This is another example of definition $\mathscr A$
\end{dfn}
\begin{lemma}
This is an example lemma.
\end{lemma}
\begin{thm}
This is an example theorem.
\begin{proof}
And indeed that's the name, completing the proof. Observe that at the end of
the proof the QED symbol is automatically added.
\end{proof}
\end{thm}
\begin{cor}\label{cor:refex}
And of course we can also have a corollary. We'll refer to this one later on.
\begin{proof}
Sometimes it's preferrable to put the QED symbol in some other place than
the one chosen by default. For example, this is the case when the proof
ends with an equation, in which case the QED symbol should go at the end of the
equation and not on the line after that. In this case, the author can use the
{\tt\string\qedhere} command:
\[
\sin^2\alpha + \cos^2\alpha = 1.\qedhere
\]
\end{proof}
\end{cor}
\begin{prop}[additional info]
This is a proposition. Observe how to add additiona information right before
the statement. This allows the author to add things such as bibliographical
references, theorem names etc.
\end{prop}
\section{More text}
\begin{exa}
This is an example, and we refer to corollary~\ref{cor:refex} above.
\end{exa}
\begin{rem}
And a remark. Recall that cross references to other statements are automatically
resolved, but it's necessary to compile the file at least twice.
\end{rem}
\begin{conj}
We can pose a conjecture
\end{conj}
\begin{que}
We can pose a question
\end{que}
\begin{prob}
We can pose a problem
\end{prob}
\begin{note}
We close with a note: for more information, consult the documentation for
\AmS-\LaTeX
\end{note}
\section{And another section}
And so on and so forth.
\section{And another one}
This is just to fill up more pages.
\section*{Acknowledgements}
We thank prof.Such~and~So and dr.~Some Doctor for their suggestions, ideas and whatnot.
And obviously prof. Donald~E.\ Knuth for the \TeX system\cite{Knuth96a} (that's
a bibliographical reference).
We now finish with some remarks on the bibliography. We recommend collecting
the bibliography in a Bib\TeX\ file with the same base name as the article:
this allows the insertion of the command \texttt{\string\bibhere} to insert it.
If the Bib\TeX\ file has a different basename (e.g.~\texttt{bibname}) you can
use the command \texttt{\string\bibliography\{bibname\}} instead.
As an alternative to Bib\TeX\ it is possible to use the standard \LaTeX\ environment
\begin{thebibliography}{99}
\bibitem{Knuth96a} D. E. Knuth, {\it The \TeX book}, Addison-Wesley, Reading, MA, 1984, 1990.
\bibitem{gr} G. Gr\"atzer, {\it More Math into} \LaTeX, Springer, 4th edition, 2007. % a book
\bibitem{eb} E. Ballico, {\it Real curves with fixed gonality and empty real locus}, Le Matematiche 60 (1) (2005), 129--131. % an article
\bibitem{sks} H.\,M. Srivastava - T. Kim - Y. Simsek, {\it q-Bernoulli numbers and polynomials associated with multiple q-zeta functions ans basic L-series}, Russian J. Math. Phys. 12 (2005), 241--268. % an article
\end{thebibliography}
\noindent
As a closing note we recall that Bib\TeX\ by default only adds the cited bibliography items.
To include all the references it's necessary to use the \texttt{\string\nocite\{*\}} command.
\nocite{*}
\bibhere
\end{document}