Version 1.3
[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{dfn}
66 This is an example definition
67 \end{dfn}
68
69 \begin{lemma}
70 This is an example lemma.
71 \end{lemma}
72
73 \begin{thm}
74 This is an example theorem.
75 \begin{proof}
76 And indeed that's the name, completing the proof. Observe that at the end of
77 the proof the QED symbol is automatically added.
78 \end{proof}
79 \end{thm}
80
81 \begin{cor}\label{cor:refex}
82 And of course we can also have a corollary. We'll refer to this one later on.
83 \begin{proof}
84 Sometimes it's preferrable to put the QED symbol in some other place than
85 the one chosen by default. For example, this is the case when the proof
86 ends with an equation, in which case the QED symbol should go at the end of the
87 equation and not on the line after that. In this case, the author can use the
88 {\tt\string\qedhere} command:
89 \[
90 \sin^2\alpha + \cos^2\alpha = 1.\qedhere
91 \]
92 \end{proof}
93 \end{cor}
94
95 \begin{prop}[additional info]
96 This is a proposition. Observe how to add additiona information right before
97 the statement. This allows the author to add things such as bibliographical
98 references, theorem names etc.
99 \end{prop}
100
101 \section{More text}
102
103 \begin{exa}
104 This is an example, and we refer to corollary~\ref{cor:refex} above.
105 \end{exa}
106
107 \begin{rem}
108 And a remark. Recall that cross references to other statements are automatically
109 resolved, but it's necessary to compile the file at least twice.
110 \end{rem}
111
112 \begin{note}
113 We add a note: for more information, consult the documentation for
114 \AmS-\LaTeX
115 \end{note}
116
117 \begin{que}
118 We can ask some question.
119 \end{que}
120
121 \begin{prob}
122 We can also set some problem.
123 \end{prob}
124
125
126
127
128
129 \section{And another section}
130
131 And so on and so forth.
132
133 \section{And another one}
134
135 This is just to fill up more pages.
136
137 \section*{Acknowledgements}
138
139 We thank prof.Such~and~So and dr.~Some Doctor for their suggestions, ideas and whatnot.
140 And obviously prof. Donald~E.\ Knuth for the \TeX system\cite{Knuth96a} (that's
141 a bibliographical reference).
142
143 We now finish with some remarks on the bibliography. We recommend collecting
144 the bibliography in a Bib\TeX\ file with the same base name as the article:
145 this allows the insertion of the command \texttt{\string\bibhere} to insert it.
146 If the Bib\TeX\ file has a different basename (e.g.~\texttt{bibname}) you can
147 use the command \texttt{\string\bibliography\{bibname\}} instead.
148
149 As an alternative to Bib\TeX\ it's possible to use the standard \LaTeX\ environment
150 \texttt{thebibliography}.
151
152 As a closing note we recall that Bib\TeX\ by default only adds the cited bibliography items.
153 To include all the references it's necessary to use the \texttt{\string\nocite\{*\}} command.
154
155 \nocite{*}
156 \bibhere
157
158 \end{document}
159