Debian Codegraph @

texmf-dist/doc/latex/nwejm/examples/sample.tex

raw
1 % This is an example of the usage of the `nwejmart' class dedicated to articles
2 % submitted to the North-Western European Journal of Mathematics.
3 %
4 % The language of the article is by default English. Should it be French, German
5 % or Dutch instead, it would be specified as \documentclass' option.
6 \documentclass[
7 % french % If the language of the article will be French
8 % german % If the language of the article will be German
9 % dutch % If the language of the article will be Dutch
10 ]{nwejmart}
11 %
12 % The following package should not be used for a real article! ;)
13 \usepackage{lipsum}
14 %
15 % Replace below the examples of simple and sophisticated bibliographic files
16 % `sample.bib' and `biblatex-examples.bib' by your own bibtex file(s),
17 % preferrably at `biblatex' format (don't forget the `.bib' extension
18 % below). This will require an extra `biber' compilation. See `biblatex'
19 % package's documentation for more details.
20 \addbibresource{sample.bib}
21 \addbibresource{biblatex-examples.bib}
22 %
23 % Should acronyms be used in the article, define them thanks to \newacronym
24 % command from `glossaries' package as follows:
25 % - 1st argument: ⟨label⟩ of the acronym (also called key),
26 % - 2nd argument: ⟨short form⟩ of the acronym (lowercase!),
27 % - 3rd argument: ⟨long form⟩ of the acronym,
28 % and use them with \gls{⟨label⟩} (or, if needed, with \acrshort{⟨label⟩}).
29 % See `glossaries' package's documentation for more details.
30 \newacronym{nwejm}{nwejm}{North-Western European Journal of Mathematics}
31 %
32 \begin{document}
33 %
34 % Title of the article. A short form (that will be displayed in the headers and
35 % in the volume's TOC) may be specified as optional argument.
36 \title{Article's Title}
37 %
38 % Subtitle of the article, if any. A short form may be specified as optional
39 % argument.
40 % \subtitle{Article's Subtitle}
41 %
42 % Author(s) of the article:
43 % - one \author command per author,
44 % - mandatory argument entered as `⟨Last Name⟩, ⟨First Name⟩'.
45 % Use the key-value `affiliation={⟨affiliation⟩}' optional argument to specify
46 % one or more affiliations. An affiliation can be tagged
47 % (`affiliation=[⟨tag⟩]{⟨affiliation⟩}') and reused later
48 % (affiliationtagged={⟨tag⟩}).
49 \author[affiliation={Affiliation 1}]{Last1, First1}
50 \author[affiliation=[aff2]{Affiliation 2}]{Last2, First2}
51 \author[affiliation={Affiliation 3},affiliation={Affiliation 3 bis}]{Last3, First3}
52 \author[affiliation={Affiliation 4},affiliationtagged={aff2}]{Last4, First4}
53 %
54 % The abstract is entered as usually.
55 \begin{abstract}
56 \lipsum[1]
57 \end{abstract}
58 %
59 % The keywords are entered thanks to \keywords command, as a comma separated list.
60 \keywords{foo,bar,baz}
61 %
62 % The Mathematical Subject Classification (MSC) are entered thanks to \msc
63 % command,as a comma separated list.
64 \msc{11B13,11B30,11P70}
65 %
66 \maketitle
67 %
68 % Acknowledgments, if any, are entered thanks to \acknowledgments command (and
69 % will be displayed just before the bibliography, thanks to the
70 % \printbibliography command).
71 \acknowledgments{Thanks to mum, daddy and all my buddies.}
72 %
73 % Unnumbered sections, if needed, are entered as usually with the starred
74 % version of the \section command. Note that:
75 % - their titles will automatically be displayed in the headers (and in the
76 % volume's TOC),
77 % - no need to use the starred versions of the subsequent \subsection commands
78 % (if any)
79 \section*{Recommendations for \LaTeX}
80 Don't use:
81 \begin{itemize}
82 \item \verb"$$...$$" but \verb"\[...\]"
83 \item \verb"$a \over b$" but \verb"$\frac{a}{b}$"
84 \item \verb"{\cal ...}" but \verb"\mathcal{...}"
85 \item \verb"{\bf ...}" but \verb"\textbf{...}"
86 \item \verb"{\it ...}" but \verb"\emph{...}"
87 \item \verb"\'e" for instance to get an accent but type it directly (\verb"é")
88 using the UTF8 encoding.
89 \end{itemize}
90 %
91 % Use mainly the \autocite command (from `biblatex' package) to cite
92 % references. Depending on the context, \textcite command (among others) may be
93 % used. See `biblatex' package's documentation for more details.
94 More generally, it is worth having a look at documents that highlight obsolete
95 commands and
96 packages\autocite{ensenbach2016,ensenbach2011,trettin2007,ensenbach2011a,trettin2007a}.
97 %
98 \section*{Introduction}
99 %
100 \subsection{Citations tests}
101 %
102 \begin{enumerate}
103 \item It\footnote{Foo bar.} is well known\autocite{baez/article}
104 that... Moreover, it is well known\autocite{companion} that...
105 \item \textcite{baez/article} have proved... Moreover, \textcite{companion}
106 have proved...
107 \end{enumerate}
108 %
109 \subsection{Cross-references tests}
110 %
111 % The cross-references are entered thanks to the \vref command (from `varioref'
112 % package) and the `cleveref' features. Note that:
113 % - the name of the object referenced is automatically added,
114 % - the page of the object referenced is automatically added (if not on the
115 % same page).
116 Cf. \vref{thm-bolzano-weierstrass} \& \vref{rmk-euler} \&
117 \vref{eq-euler} \& \vref{sec-first-numbered}.
118 %
119 \subsection{Acronyms tests}
120 %
121 % As said above, use \gls{⟨label⟩} to display the acronym labelled ⟨label⟩. Note
122 % that, automatically:
123 % - the first occurrence of this command displays the /complete/ form of the
124 % acronym (long form followed by the short one in parentheses),
125 % - the subsequent occurrences of this command display only the short form of the
126 % acronym,
127 % - if an occurrence should be displayed as the short form of an acronym,
128 % regardless it is the first one or not, the command \acrshort{⟨label⟩} is to
129 % be used.
130 \begin{enumerate}
131 \item The present article is published in the \gls{nwejm}.
132 \item Moreover, the present article is published in the \gls{nwejm}.
133 \end{enumerate}
134 %
135 \subsection{Miscellaneaous}
136 %
137 % Use:
138 % - the \century command to display centuries, even negative ones,
139 % - the \aside command for interpolated clauses,
140 % - the \ie command for "that is",
141 % - the \acrlong when need to display (only) the long form of an acronym.
142 \begin{itemize}
143 \item It has been proved in the \century{19} \aside{more than 100 years ago}
144 that...
145 \item This has been conceptualized in the \century{-3} \aside*{more than 2000
146 years ago}.
147 \item \acrshort{nwejm} \ie{} \acrlong*{nwejm}.
148 \item \acrshort{nwejm} \ie*{} \acrlong*{nwejm}.
149 \end{itemize}
150 %
151 \subsection{Theorems tests}
152 %
153 % The theorems and the like are entered as usually. Note that, should one of
154 % them be unnumbered, the environment used would be starred.
155 \begin{theorem}[Bolzano–Weierstrass]\label{thm-bolzano-weierstrass}
156 A subset of $\bbR^n$ ($n\in\bbN^*$) is sequentially compact if and only if it is
157 closed and bounded.
158 \end{theorem}
159 \begin{proof}[not that easy!]
160 ...
161 \end{proof}
162 \begin{definition}
163 In Cartesian space $\bbR^n$ with the $p$-norm $L_p$, an open ball is the set
164 \[
165 B(r)=\set{x\in \bbR^n}[\sum _{i=1}^n\left|x_i\right|^p<r^p]
166 \]
167 \end{definition}
168 \begin{remark}[Euler's identity]\label{rmk-euler}
169 One of the most beautiful mathematical equation:
170 \begin{equation*}
171 \E[\I\pi]+1=0
172 \end{equation*}
173 \end{remark}
174 \begin{lemma*}[Zorn]
175 Suppose a partially ordered set $P$ has the property that every chain has an
176 upper bound in $P$. Then the set $P$ contains at least one maximal element.
177 \end{lemma*}
178 %
179 \lipsum[2-6]
180 %
181 \begin{equation}\label{eq-euler}
182 \E[\I\pi]+1=0
183 \end{equation}
184 %
185 \lipsum[8-15]
186 %
187 \section{First (numbered) section}\label{sec-first-numbered}
188 \lipsum[2]
189 \subsection{First subsection}
190 \lipsum[3-8]
191 \subsection{Second subsection}
192 \lipsum[9-15]
193 \section{Second (numbered) section}
194 \lipsum[16-38]
195 %
196 % The \printbibliography command (from `biblatex' package) displays the list of
197 % references (preceded by the acknowledgments, if any).
198 \printbibliography
199 %
200 \end{document}
201