2 \documentclass[draft]{lematema}
4 % Article title: split lines with \\ if the automatic splitting isn't
6 \title{Example article with\\a title on multiple rows}
7 % The given title will also be used in headers. If it's too long, a shorter
8 % title should be specified for headers. This is done with the command
10 \titlemark{Example article}
12 % The \titlenote command is used to add a comment to the title. This comment
13 % will appear in the footer of the first article page
14 \titlenote{Partly sponosered by Some Company}
15 % It's possible to add multiple title notes
16 \titlenote{Thanks a lot to everybody}
18 % Mathematics Subject Classification
21 \keywords{testing, test}
23 % Article authors. Each author should be added with the \author command, and
24 % its affiliation should be specified with the \address command. It's possible
25 % to split the address on multiple lines using \\
27 % To put email addresses in the affiliation, it's necessary to define commands
28 % for them beforehand, using \urldef. The syntax is as follow:
29 % \urldef{<command>}{\email}{<email address>}:
30 \urldef{\anemail}{\email}{first.lastname@server.email}
31 \urldef{\anotheremail}{\email}{another.author@other.server}
32 % The commands can then be used to insert the email addresses in the \address,
41 \author{Some O. Person}
48 % Submission date, in format yyyy/mm/dd (numerical)
51 % Other email addresses can be inserted with the simpler command
52 % \email{email.address}
54 % Document begins here
61 The article abstract, with a synthetical exposition of the main result.
65 \section{Introduction}
66 Some introduction can go here, for example
70 It's possible to use some predefined \LaTeX\ environments for theorems,
71 corollaries, lemmas, propositions, definitions, remarks, notes and proofs.
74 This is an example lemma.
78 This is an example theorem.
80 And indeed that's the name, completing the proof. Observe that at the end of
81 the proof the QED symbol is automatically added.
85 \begin{cor}\label{cor:refex}
86 And of course we can also have a corollary. We'll refer to this one later on.
88 Sometimes it's preferrable to put the QED symbol in some other place than
89 the one chosen by default. For example, this is the case when the proof
90 ends with an equation, in which case the QED symbol should go at the end of the
91 equation and not on the line after that. In this case, the author can use the
92 {\tt\string\qedhere} command:
94 \sin^2\alpha + \cos^2\alpha = 1.\qedhere
99 \begin{prop}[additional info]
100 This is a proposition. Observe how to add additiona information right before
101 the statement. This allows the author to add things such as bibliographical
102 references, theorem names etc.
108 This is an example, and we refer to corollary~\ref{cor:refex} above.
112 And a remark. Recall that cross references to other statements are automatically
113 resolved, but it's necessary to compile the file at least twice.
117 We close with a note: for more information, consult the documentation for
121 \section{And another section}
123 And so on and so forth.
125 \section{And another one}
127 This is just to fill up more pages.
129 \section*{Acknowledgements}
131 We thank prof.Such~and~So and dr.~Some Doctor for their suggestions, ideas and whatnot.
132 And obviously prof. Donald~E.\ Knuth for the \TeX system\cite{Knuth96a} (that's
133 a bibliographical reference).
135 We now finish with some remarks on the bibliography. We recoomend collectiong
136 the bibliography in a Bib\TeX\ file with the same base name as the article:
137 this allows the insertion of the command \texttt{\string\bibhere} to insert it.
138 If the Bib\TeX\ file has a different basename (e.g.~\texttt{bibname}) you can
139 use the command \texttt{\string\bibliography\{bibname\}} instead.
141 As an alternative to Bib\TeX\ it's possible to use the standard \LaTeX\ environment
142 \texttt{thebibliography}.
144 As a closing note we recall that Bib\TeX\ by default only adds the cited bibliography items.
145 To include all the references it's necessary to use the \texttt{\string\nocite\{*\}} command.