Fix email
[lematema] / test / lematest-en.tex
1 % Load the class.
2 \documentclass[draft]{lematema}
3
4 % Article title: split lines with \\ if the automatic splitting isn't
5 % satisfactory
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
9 % \titlemark
10 \titlemark{Example article}
11
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}
17
18 % Mathematics Subject Classification
19 \MSC{C0D1C3, PR0V4}
20 % Keywords
21 \keywords{testing, test}
22
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 \\
26
27 \author{Name Surname}
28 \address{%
29 Some Department\\
30 Some University\\
31 \email{first.lastname@server.email}
32 }
33 \author{Some O. Person}
34 \address{%
35 Other Department\\
36 Other University\\
37 \email{another.author@other.server}
38 }
39
40 % Submission date, in format yyyy/mm/dd (numerical)
41 \date{2007/01/01}
42
43 % Other email addresses can be inserted with the simpler command
44 % \email{email.address}
45
46 % Document begins here
47 \begin{document}
48
49 \maketitle
50
51 % Abstract
52 \begin{abstract}
53 The article abstract, with a synthetical exposition of the main result.
54 \end{abstract}
55
56 % The article itself
57 \section{Introduction}
58 Some introduction can go here, for example
59
60 \section{Text}
61
62 It's possible to use some predefined \LaTeX\ environments for theorems,
63 corollaries, lemmas, propositions, definitions, remarks, notes and proofs.
64
65 \begin{lemma}
66 This is an example lemma.
67 \end{lemma}
68
69 \begin{thm}
70 This is an example theorem.
71 \begin{proof}
72 And indeed that's the name, completing the proof. Observe that at the end of
73 the proof the QED symbol is automatically added.
74 \end{proof}
75 \end{thm}
76
77 \begin{cor}\label{cor:refex}
78 And of course we can also have a corollary. We'll refer to this one later on.
79 \begin{proof}
80 Sometimes it's preferrable to put the QED symbol in some other place than
81 the one chosen by default. For example, this is the case when the proof
82 ends with an equation, in which case the QED symbol should go at the end of the
83 equation and not on the line after that. In this case, the author can use the
84 {\tt\string\qedhere} command:
85 \[
86 \sin^2\alpha + \cos^2\alpha = 1.\qedhere
87 \]
88 \end{proof}
89 \end{cor}
90
91 \begin{prop}[additional info]
92 This is a proposition. Observe how to add additiona information right before
93 the statement. This allows the author to add things such as bibliographical
94 references, theorem names etc.
95 \end{prop}
96
97 \section{More text}
98
99 \begin{exa}
100 This is an example, and we refer to corollary~\ref{cor:refex} above.
101 \end{exa}
102
103 \begin{rem}
104 And a remark. Recall that cross references to other statements are automatically
105 resolved, but it's necessary to compile the file at least twice.
106 \end{rem}
107
108 \begin{note}
109 We close with a note: for more information, consult the documentation for
110 \AmS-\LaTeX
111 \end{note}
112
113 \section{And another section}
114
115 And so on and so forth.
116
117 \section{And another one}
118
119 This is just to fill up more pages.
120
121 \section*{Acknowledgements}
122
123 We thank prof.Such~and~So and dr.~Some Doctor for their suggestions, ideas and whatnot.
124 And obviously prof. Donald~E.\ Knuth for the \TeX system\cite{Knuth96a} (that's
125 a bibliographical reference).
126
127 We now finish with some remarks on the bibliography. We recoomend collectiong
128 the bibliography in a Bib\TeX\ file with the same base name as the article:
129 this allows the insertion of the command \texttt{\string\bibhere} to insert it.
130 If the Bib\TeX\ file has a different basename (e.g.~\texttt{bibname}) you can
131 use the command \texttt{\string\bibliography\{bibname\}} instead.
132
133 As an alternative to Bib\TeX\ it's possible to use the standard \LaTeX\ environment
134 \texttt{thebibliography}.
135
136 As a closing note we recall that Bib\TeX\ by default only adds the cited bibliography items.
137 To include all the references it's necessary to use the \texttt{\string\nocite\{*\}} command.
138
139 \nocite{*}
140 \bibhere
141
142 \end{document}
143