Better language handling
[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 % 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,
33 % as shown below:
34
35 \author{Name Surname}
36 \address{%
37 Some Department\\
38 Some University\\
39 \anemail
40 }
41 \author{Some O. Person}
42 \address{%
43 Other Department\\
44 Other University\\
45 \anotheremail
46 }
47
48 % Submission date, in format yyyy/mm/dd (numerical)
49 \date{2007/01/01}
50
51 % Other email addresses can be inserted with the simpler command
52 % \email{email.address}
53
54 % Document begins here
55 \begin{document}
56
57 \maketitle
58
59 % Abstract
60 \begin{abstract}
61 The article abstract, with a synthetical exposition of the main result.
62 \end{abstract}
63
64 % The article itself
65 \section{Introduction}
66 Some introduction can go here, for example
67
68 \section{Text}
69
70 It's possible to use some predefined \LaTeX\ environments for theorems,
71 corollaries, lemmas, propositions, definitions, remarks, notes and proofs.
72
73 \begin{lemma}
74 This is an example lemma.
75 \end{lemma}
76
77 \begin{thm}
78 This is an example theorem.
79 \begin{proof}
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.
82 \end{proof}
83 \end{thm}
84
85 \begin{cor}\label{cor:refex}
86 And of course we can also have a corollary. We'll refer to this one later on.
87 \begin{proof}
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:
93 \[
94 \sin^2\alpha + \cos^2\alpha = 1.\qedhere
95 \]
96 \end{proof}
97 \end{cor}
98
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.
103 \end{prop}
104
105 \section{More text}
106
107 \begin{exa}
108 This is an example, and we refer to corollary~\ref{cor:refex} above.
109 \end{exa}
110
111 \begin{rem}
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.
114 \end{rem}
115
116 \begin{note}
117 We close with a note: for more information, consult the documentation for
118 \AmS-\LaTeX
119 \end{note}
120
121 \section{And another section}
122
123 And so on and so forth.
124
125 \section{And another one}
126
127 This is just to fill up more pages.
128
129 \section*{Acknowledgements}
130
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).
134
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.
140
141 As an alternative to Bib\TeX\ it's possible to use the standard \LaTeX\ environment
142 \texttt{thebibliography}.
143
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.
146
147 \nocite{*}
148 \bibhere
149
150 \end{document}
151