summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ejpecp/sample.tex
blob: c01435f85da9d8ac92338d23cc42a6dc8401c167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% This is the sample.tex file for the ejpecp document class.    %%
%% This file is for ejpecp version 0.57                          %%
%% Please be sure that you are using the lastest version:        %%
%% http://ctan.org/tex-archive/macros/latex/contrib/ejpecp/      %%
%%                                                               %%
%% The ejpecp class works *only* with a pdflatex engine.         %%
%% You need the ejpecp.cls in your current directory or in any   %%
%% directory scanned for cls files by your pdflatex engine.      %%
%%                                                               %%
%% Manual inclusion of page layout commands is useless.          %%
%%                                                               %%
%% Note that any complex file will produce delayed publication!  %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Journal selection: ECP or EJP.                                %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[ECP]{ejpecp} % replace ECP by EJP if needed.  

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Please uncomment and adapt to your encoding if needed:        %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Please add here your own packages (be minimalistic please!):  %%
%% Please avoid using exotic packages and keep things simple.    %%
%% It is not necessary to include ams* and graphicx packages     %%
%% since they are automatically included by the ejpecp class.    %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\usepackage{enumerate}  % uncomment to use this package

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Authors (please edit and customize):                          %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\AUTHORS{%
  Krzysztof~Burdzy\footnote{University of Washington, USA. E-mail:
    burdzy@math.washington.edu}
  \and % remove this line and below if single author
  Djalil~Chafa\"{\i}\footnote{Universit\'e Paris-Est Marne-la-Vall\'ee,
    France. E-mail: djalil@chafai.net} }%AUTHORS

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Please edit and customize the following items:                %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\TITLE{Introduction to the \emph{ejpecp} Class Version 0.57\THANKS{Supported
    by the Institute of Mathematical Statistics (IMS) and the Bernoulli
    Society.}} %\THANKS is optional

\SHORTTITLE{Introduction to the \emph{ejpecp} Class}

\KEYWORDS{EJP ; ECP ; typesetting ; LaTeX} % Separate items with ;

\AMSSUBJ{NA} % Separate items with ;
%\AMSSUBJSECONDARY{FIXME:} % Optional, separate items with ;

\SUBMITTED{January 1, 2012} % Edit.
\ACCEPTED{January 1, 2012} % Edit.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Please uncomment and edit if you have an arXiv ID:            %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\ARXIVID{NNNN.NNNNvn}  

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% The following items will be set by the Managing Editor.       %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\VOLUME{0}
\YEAR{0000}
\PAPERNUM{0}
\PAGESTART{0}
\PAGEEND{0}
\DOI{NA}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Please edit and customize the abstract:                       %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ABSTRACT{The $\LaTeXe$ class \emph{ejpecp} is designed for typesetting of
  articles to be published in the research periodicals \emph{Electronic
    Journal of Probability} (EJP) and \emph{Electronic Communications in
    Probability} (ECP).}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Please add your own macros and environments below:            %%
%%                                                               %%
%% If possible, avoid using \def and use instead \newcommand     %%
%% If possible, avoid defining your own environments, and use    %%
%% instead the environments already defined by ejpecp such as:   %%
%% definition, theorem, remark, lemma, corollary, example, proof %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\ABS}[1]{\left(#1\right)} % example of author macro
\newcommand{\veps}{\varepsilon} % another example of author macro

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% No macro definitions below this line please!                  %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% No need for \maketitle.                                       %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Please replace what follows by the body of your article       %%
%% (up to the bibliography):                                     %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The $\LaTeXe$ class \emph{ecpecp} is designed for typesetting of articles for
the Electronic Journal of Probability (EJP) and Electronic Communications in
Probability (ECP). The \emph{ecpecp} class comes with a commented sample file
called \texttt{sample.tex}. You are probably reading the pdf version of this
sample file, compiled with a pdflatex engine.

\textbf{An easy way to prepare an article for publication in EJP/ECP is to
  edit the source file \texttt{sample.tex} for this document. Replace the main
  body of the file with the main body of your article. Supply all metadata
  (title, authors, abstract, etc) that are requested in the latex file.}

The \emph{ecpecp} class works only with the pdflatex engine, generating pdf
files. You need a copy of the \texttt{ecpecp.cls} file in your
directory\footnote{Or in any directory scanned for \texttt{cls} files by your
  pdflatex engine.}in order to compile documents based on the \emph{ecpecp}
class, such as \texttt{sample.tex}. To configure the \emph{ecpecp} class for
ECP, use
\begin{verbatim}
\documentclass[ECP]{ejpecp}
\end{verbatim}
while for EJP, use
\begin{verbatim}
\documentclass[EJP]{ejpecp}
\end{verbatim}
The \emph{ecpecp} document class loads automatically the following standard
packages\footnote{For your information, the following packages are also
  loaded: bera, geometry, hyperref, xstring.}:
\begin{center}
  amsmath, amsthm, amsfonts, amssymb, latexsym, dsfont, graphicx
\end{center}
It is therefore not necessary to add \verb+\usepackage+ load commands for
these packages to your latex file. However, you may want to load additional
packages, such as the enumerate package, by using \verb+\usepackage+ commands.
The precise location of these extra load commands is clearly mentioned in the
\texttt{sample.tex} file. The \emph{ecpecp} class provides various
environments, and also important commands such as \verb+\AUTHORS+,
\verb+\TITLE+, etc.
 
\section{Standard predefined environments}

One of the main features of the \emph{ecpecp} class is its predefined
environments.

 \begin{theorem}[My theorem]\label{th:1}
   This is the body of the theorem. This theorem has a name between
   parentheses, and this is implemented by adding an optional parameter
   between square brackets to the theorem environment, namely
\begin{verbatim}
   \begin{theorem}[My theorem] \label{th:1}
     This is the body of ...
   \end{theorem}
\end{verbatim}
 \end{theorem}

 \begin{proof}[Proof of Theorem \ref{th:1}]
   This is the body of the proof of the theorem above. This proof has a name,
   and this is implemented by adding an optional parameter between square
   brackets to the proof environment, namely
   \begin{verbatim}
   \begin{proof}[Proof of Theorem \ref{th:1}] 
     This is the body of the proof of ... 
   \end{proof} 
   \end{verbatim}
   We recommend that you give names to most of your theorem-like environments.
   You cannot imagine how this helps your readers! The proof ends at the
   square box.
 \end{proof}

 Note that a square box $\square$ is automatically added at the end of the
 proof by the environment ``proof.'' The \emph{ecpecp} class provides several
 default environments: theorem, proof, lemma, proposition, definition,
 corollary, remark, example, problem, conjecture.

 \begin{lemma}[My lemma]
   Body of the Lemma. 
 \end{lemma}

 \begin{proof}
   This is the body of a proof environment without name, obtained using
\begin{verbatim}
\begin{proof} 
  This is the body of ... 
\end{proof}
\end{verbatim}
   Note again the automatic inclusion of a square box at the right place $\to$
 \end{proof}

Here are some more examples of predefined environments:

 \begin{lemma}
   Body of the Lemma. This lemma does not have a name.
 \end{lemma}

 \begin{proposition}[My proposition]
   Body of the proposition.
 \end{proposition}

 \begin{corollary}[My corollary]
   Body of the corollary.
 \end{corollary}

 \begin{definition}[My definition]
   Body of the definition.
 \end{definition}

 \begin{conjecture}[My conjecture]
   Body of the conjecture.
 \end{conjecture}

 \begin{remark}[My remark]
   Body of the remark. Note that the style of the body differs from the one
   used for theorems.
 \end{remark}

 \begin{example}[My example]
   Body of the example.
 \end{example}

 \begin{problem}[My problem]
   Body of the problem.
 \end{problem}

 These environments cover most author's needs. It is possible -- but not
 recommended at all! -- to define additional environments based on the theorem
 environment.

\section{Section headings and equation numbering}\label{se:mysection}

The default size for section titles in \LaTeX\ is a bit large. As you might have
noticed, the \emph{ecpecp} class provides smaller section titles. Here are some
sub-sections:

\subsection{A sub-section}

\subsection{Another sub-section}

\subsubsection{A sub-sub-section}

The following numbered displayed equation is the first in section \ref{se:mysection}:

\begin{equation}\label{eq:myequation}
  \int_{-\infty}^{+\infty}\!e^{-t-e^{-t}}\,dt = 1
  \quad\text{and}\quad
  \int_{-\infty}^{+\infty}\!te^{-t-e^{-t}}\,dt = \gamma.
\end{equation}
It is produced with the following source code:
\begin{verbatim}
\begin{equation}\label{eq:myequation}
  \int_{-\infty}^{+\infty}\!e^{-t-e^{-t}}\,dt = 1
  \quad\text{and}\quad
  \int_{-\infty}^{+\infty}\!te^{-t-e^{-t}}\,dt = \gamma.
\end{equation}
\end{verbatim}
You may refer to it by using \verb+\eqref{eq:myequation}+ which
produces \eqref{eq:myequation}. Here is another numbered displayed equation
\begin{equation}
  \int_{-\infty}^{+\infty}\!(t-\gamma)^2e^{-t-e^{-t}}\,dt 
  = \zeta(2) 
  = \frac{\pi^2}{6},
\end{equation}
and yet another one, just for fun:
\begin{equation}
  \int_{-\infty}^{+\infty}\!(t-\gamma)^3e^{-t-e^{-t}}\,dt 
  = 2\zeta(3).
\end{equation}

\section{How to include graphics}

You may include graphics in PDF or EPS or JPEG or PNG format as follows

\begin{verbatim}
\begin{figure}[htbp]
  \begin{center}
    \includegraphics[scale=1.0]{filename}
    \caption{This is my figure.}
    \label{fi:myfigure}
  \end{center}
\end{figure}
\end{verbatim}

Note that in a figure environment, the \verb+\label+ should always appear
after a \verb+\caption+ in order to produce a valid reference to the figure.
You may play with the options \verb+[htbp]+ (see the \LaTeXe\ documentation
for their meaning) and with the options of the \verb+\includegraphics+ command
(see the documentation of the graphicx package).

\section{About your source file for EJP and ECP}

Papers using the \LaTeXe\ class \emph{ecpecp} are quickly published (usually
within a month). Some authors prefer \TeX\ instead of \LaTeX. We believe that
\TeX\ is a good program. However EJP and ECP need a standardized layout for
all papers, and this is easier done with \LaTeX\ than with \TeX. For that
reason, you are encouraged to use \LaTeX. This is quite easy since \LaTeX\ is
based on \TeX. The latest major version of \LaTeX\ is called \LaTeXe.

The aim of EJP and ECP is to publish excellent mathematical articles. Since
every author has his own preferences and habits, we emphasize that the
Managing Editor of EJP and ECP accepts any paper written in \TeX\ or in
\LaTeX\ if the author is unable to convert it to \LaTeXe\ with the
\emph{ecpecp} class. Papers not written with \LaTeXe\ and the \emph{ecpecp}
class are manually converted by the Managing Editor, and this delays the
publication, unfortunately. EJP and ECP are free access journals. Nobody is
paid for typesetting EJP and ECP papers. The Managing Editor handles
typesetting for free.

All mathematicians believe that the mathematical results are the most
important elements of an article. Many of them believe that the aesthetic
aspects of the proof are also important. Some of them believe that even the
writing style is important. Few of them believe that the \LaTeX\ code needs to
be elegant. A good \LaTeX\ code is easier to maintain, to convert, and to
read. It helps your co-authors, and helps to speed up the publication process.
It is very useful to learn how to write genuine \LaTeXe\ code, rather than a
mixture of \TeX\ and old \LaTeX\ (prior to \LaTeXe). Here are some
suggestions:

\begin{itemize}
\item never use \verb+\def+ for defining macros, use instead
  \verb+\newcommand+
\item never use \verb+$$+ for displayed equations, use instead the brackets
  \verb+\[ \]+
\item use \verb+\textbf{}+, \verb+\textit{}+, and \verb+\emph{}+ instead of
  \verb+{\bf }+, \verb+{\it }+, and \verb+{\em }+
\item never use one letter names for macros or for environments
\item never use strange names for macros and environments
\item use the environment proof provided by amsmath (as in \emph{ecpecp})
\item use \verb+\newenvironment+ to define new environments
\item use \verb+\binom{n}{k}+ instead of \verb+n \choose k+
\item use \verb+\frac{a}{b}+ instead of a \verb+\over b+
\item never use an exotic package if you do not really need it
\item indent your code and avoid too long lines
\item use prefixed labels such as \verb+eq:+ for equations and \verb+th:+ for
  theorems
\item to produce graphics, avoid using \emph{psfrag} or \emph{XFig} and use
  instead \emph{\href{http://en.wikipedia.org/wiki/Ipe_(program)}{Ipe}}
\item learn how to interpret the error messages generated during compilation
\item read the wiki-books on \href{http://en.wikibooks.org/wiki/LaTeX}{LaTeX}
  and \href{http://en.wikibooks.org/wiki/LaTeX/Mathematics}{LaTeX Mathematics}
\end{itemize}

\section{Version number}

The version number of the \emph{ecpecp} class converges to
the Euler-Mascheroni constant 
\[
\gamma 
= \lim_{n\to\infty}\left(1+\frac{1}{2}+\cdots+\frac{1}{n}-\ln(n)\right)
= 0.57721\cdots
\]
which is sequence \href{http://oeis.org/A001620}{A001620} in Sloane's
\href{http://oeis.org}{On-Line Encyclopedia of Integer Sequences}.
As you probably know, it turns out that the Euler-Mascheroni constant $\gamma$
is the mean of the Gumbel distribution which has cumulative distribution
function $t\in\mathbb{R}\mapsto e^{-e^{-t}}$.

\section{How to help us}

We (KB and DC) do not consider ourselves \LaTeXe\ experts.
We will be happy to receive comments and suggestions for improvement
(especially constructive ones).

\section{How to include bibliography}

The bibliography should be included in your document (not a separate file),
inside the standard environment \verb+\thebibliography+. If you use bibtex,
this can be accomplished by including the \texttt{bbl} file inside your
document (after preliminary compilation with latex and bibtex). The
bibliography should be sorted alphabetically according to authors names, and
the records should be labeled by numbers. Math Reviews numbers should be
included as in the sample below. If you use bibtex, use
\verb+\bibliographystyle{amsplain}+. As you can see, you may also provide the
arXiv identifier for preprints or unpublished papers\footnote{It is your
  author responsability to check if the preprint is actually published and
  referenced in the Mathematical Reviews (in that case, you should provide the
  MR number instead of the arXiv identifier).}. Here is an example of
bibliography:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% Use the two commands below for producing your bibliography    %%
%% with bibtex, then comment again the commands and include the  %%
%% content of the .bbl file in this file below the commands.     %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\bibliographystyle{amsplain}
%\bibliography{yourbibfilename}

% add below the content of your .bbl file produced by bibtex.

\begin{thebibliography}{99}

\bibitem{doob} Doob, J. L.: Heuristic approach to the Kolmogorov-Smirnov
  theorems. \emph{Ann. Math. Statistics} \textbf{20}, (1949), 393--403.
  \MR{0030732}

\bibitem{gnekol} Gnedenko, B. V. and Kolmogorov, A. N.: Limit distributions for
  sums of independent random variables. Translated and annotated by K. L.
  Chung. With an Appendix by J. L. Doob. \emph{Addison-Wesley}, Cambridge,
  1954. ix+264 pp. \MR{0062975}

\bibitem{ito} It\^o, K.: Multiple Wiener integral. \emph{J. Math. Soc. Japan}
  \textbf{3}, (1951), 157--169. \MR{0044064}

\bibitem{levy} L\'evy, P.: Sur certains processus stochastiques homog\`enes.
  \emph{Compositio Math.} \textbf{7}, (1939), 283--339. \MR{0000919}

\bibitem{grisha} Perelman, G.: The entropy formula for the Ricci flow and its
  geometric applications, \ARXIV{math.DG/0211159}

\bibitem{smisch} Smirnov, S. and Schramm, O.: On the scaling limits of planar
  percolation, \ARXIV{1101.5820}

\end{thebibliography}
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% You have reached the end of your document.                    %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                               %%
%% You may put below funny messages to the Managing Editor:      %%
%%                                                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% EOF