diff options
author | Karl Berry <karl@freefriends.org> | 2011-11-27 23:13:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-11-27 23:13:23 +0000 |
commit | 8255a373ae03cbe4e01a189f867937ab90cde662 (patch) | |
tree | 4ec6aec0ce66b67361aa776b2a77f8278589593a /Master/texmf-dist | |
parent | a1cf1b5f054668d9a5c3c3372e2b13ef48c94674 (diff) |
new latex package ejpecp (26nov11)
git-svn-id: svn://tug.org/texlive/trunk@24673 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/ejpecp/LPPL | 318 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ejpecp/README | 29 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf | bin | 0 -> 136864 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/ejpecp/sample.pdf | bin | 0 -> 174032 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/ejpecp/sample.tex | 410 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx | 400 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ejpecp/ejpecp.ins | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls | 321 |
8 files changed, 1535 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ejpecp/LPPL b/Master/texmf-dist/doc/latex/ejpecp/LPPL new file mode 100644 index 00000000000..5b05fe86893 --- /dev/null +++ b/Master/texmf-dist/doc/latex/ejpecp/LPPL @@ -0,0 +1,318 @@ + +The LaTeX Project Public License +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- + +LPPL Version 1.2 1999-09-03 + +Copyright 1999 LaTeX3 Project + Everyone is allowed to distribute verbatim copies of this + license document, but modification of it is not allowed. + + +PREAMBLE +======== + +The LaTeX Project Public License (LPPL) is the license under which the +base LaTeX distribution is distributed. + +You may use this license for any program that you have written and wish +to distribute. This license may be particularly suitable if your +program is TeX-related (such as a LaTeX package), but you may use it +even if your program is unrelated to TeX. The section `WHETHER AND HOW +TO DISTRIBUTE PROGRAMS UNDER THIS LICENSE', below, gives instructions, +examples, and recommendations for authors who are considering +distributing their programs under this license. + +In this license document, `The Program' refers to any program +distributed under this license. + +This license gives conditions under which The Program may be distributed +and conditions under which modified versions of The Program may be +distributed. Individual files of The Program may bear supplementary +and/or superseding conditions on modification of themselves and on the +distribution of modified versions of themselves, but *no* file of The +Program may bear supplementary or superseding conditions on the +distribution of an unmodified copy of the file. A distributor wishing +to distribute a complete, unmodified copy of The Program therefore +needs to check the conditions only in this license and nowhere else. + +Activities other than distribution and/or modification of The Program +are not covered by this license; they are outside its scope. In +particular, the act of running The Program is not restricted. + +We, the LaTeX3 Project, believe that the conditions below give you +the freedom to make and distribute modified versions of The Program +that conform with whatever technical specifications you wish while +maintaining the availability, integrity, and reliability of +The Program. If you do not see how to achieve your goal while +meeting these conditions, then read the document `cfgguide.tex' +in the base LaTeX distribution for suggestions. + + +CONDITIONS ON DISTRIBUTION AND MODIFICATION +=========================================== + +You may distribute a complete, unmodified copy of The Program. +Distribution of only part of The Program is not allowed. + +You may not modify in any way a file of The Program that bears a legal +notice forbidding modification of that file. + +You may distribute a modified file of The Program if, and only if, the +following eight conditions are met: + + 1. You must meet any additional conditions borne by the file on the + distribution of a modified version of the file as described below + in the subsection `Additional Conditions on Individual Files of + The Program'. + + 2. If the file is a LaTeX software file, then you must meet any + applicable additional conditions on the distribution of a modified + version of the file that are described below in the subsection + `Additional Conditions on LaTeX Software Files'. + + 3. You must not distribute the modified file with the filename of the + original file. + + 4. In the modified file, you must acknowledge the authorship and + name of the original file, and the name (if any) of the program + which contains it. + + 5. You must change any identification string in the file to indicate + clearly that the modified file is not part of The Program. + + 6. You must change any addresses in the modified file for the + reporting of errors in the file or in The Program generally to + ensure that reports for files no longer maintained by the original + maintainers will be directed to the maintainers of the modified + files. + + 7. You must distribute the modified file under a license that forbids + distribution both of the modified file and of any files derived + from the modified file with the filename of the original file. + + 8. You must do either (A) or (B): + + (A) distribute a copy of The Program (that is, a complete, + unmodified copy of The Program) together with the modified + file; if your distribution of the modified file is made by + offering access to copy the modified file from a designated + place, then offering equivalent access to copy The Program + from the same place meets this condition, even though third + parties are not compelled to copy The Program along with the + modified file; + + (B) provide to those who receive the modified file information + that is sufficient for them to obtain a copy of The Program; + for example, you may provide a Uniform Resource Locator (URL) + for a site that you expect will provide them with a copy of + The Program free of charge (either the version from which + your modification is derived, or perhaps a later version). + +Note that in the above, `distribution' of a file means making the +file available to others by any means. This includes, for instance, +installing the file on any machine in such a way that the file is +accessible by users other than yourself. `Modification' of a file +means any procedure that produces a derivative file under any +applicable law -- that is, a file containing the original file or +a significant portion of it, either verbatim or with modifications +and/or translated into another language. + +Changing the name of a file (other than as necessitated by the file +conventions of the target file systems) is considered to be a +modification of the file. + +The distribution conditions in this license do not have to be +applied to files that have been modified in accordance with the +above conditions. Note, however, that Condition 7. does apply to +any such modified file. + +The conditions above are not intended to prohibit, and hence do not +apply to, the updating, by any method, of a file so that it becomes +identical to the latest version of that file of The Program. + + + +A Recommendation on Modification Without Distribution +----------------------------------------------------- + +It is wise never to modify a file of The Program, even for your own +personal use, without also meeting the above eight conditions for +distributing the modified file. While you might intend that such +modified files will never be distributed, often this will happen by +accident -- you may forget that you have modified the file; or it may +not occur to you when allowing others to access the modified file +that you are thus distributing it and violating the conditions of +this license. It is usually in your best interest to keep your copy +of The Program identical with the public one. Many programs provide +ways to control the behavior of that program without altering its +licensed files. + + +Additional Conditions on Individual Files of The Program +-------------------------------------------------------- + +An individual file of The Program may bear additional conditions that +supplement and/or supersede the conditions in this license if, and only +if, such additional conditions exclusively concern modification of the +file or distribution of a modified version of the file. The conditions +on individual files of The Program therefore may differ only with +respect to the kind and extent of modification of those files that +is allowed, and with respect to the distribution of modified versions +of those files. + + +Additional Conditions on LaTeX Software Files +--------------------------------------------- + +If a file of The Program is intended to be used with LaTeX (that is, +if it is a LaTeX software file), then the following additional +conditions, which supplement and/or supersede the conditions +above, apply to the file according to its filename extension: + + - You may not modify any file with filename extension `.ins' since + these are installation files containing the legal notices that are + placed in the files they generate. + + - You may distribute modified versions of files with filename + extension `.fd' (LaTeX font definition files) under the standard + conditions of the LPPL as described above. You may also distribute + such modified LaTeX font definition files with their original names + provided that: + (1) the only changes to the original files either enable use of + available fonts or prevent attempts to access unavailable fonts; + (2) you also distribute the original, unmodified files (TeX input + paths can be used to control which set of LaTeX font definition + files is actually used by TeX). + + - You may distribute modified versions of files with filename + extension `.cfg' (configuration files) with their original names. + The Program may (and usually will) specify the range of commands + that are allowed in a particular configuration file. + +Because of portability and exchangeability issues in LaTeX software, +The LaTeX3 Project deprecates the distribution of modified versions of +components of LaTeX or of generally available contributed code for them, +but such distribution can meet the conditions of this license. + + +NO WARRANTY +=========== + +There is no warranty for The Program. Except when otherwise stated in +writing, The Copyright Holder provides The Program `as is', without +warranty of any kind, either expressed or implied, including, but not +limited to, the implied warranties of merchantability and fitness for +a particular purpose. The entire risk as to the quality and performance +of The Program is with you. Should The Program prove defective, you +assume the cost of all necessary servicing, repair, or correction. + +In no event unless agreed to in writing will The Copyright Holder, or +any author named in the files of The Program, or any other party who may +distribute and/or modify The Program as permitted above, be liable to +you for damages, including any general, special, incidental or +consequential damages arising out of any use of The Program or out of +inability to use The Program (including, but not limited to, loss of +data, data being rendered inaccurate, or losses sustained by anyone as +a result of any failure of The Program to operate with any other +programs), even if The Copyright Holder or said author or said other +party has been advised of the possibility of such damages. + + +WHETHER AND HOW TO DISTRIBUTE PROGRAMS UNDER THIS LICENSE +========================================================= + +This section contains important instructions, examples, and +recommendations for authors who are considering distributing their +programs under this license. These authors are addressed as `you' in +this section. + + +Choosing This License or Another License +---------------------------------------- + +If for any part of your program you want or need to use *distribution* +conditions that differ from those in this license, then do not refer to +this license anywhere in your program but instead distribute your +program under a different license. You may use the text of this license +as a model for your own license, but your license should not refer to +the LPPL or otherwise give the impression that your program is +distributed under the LPPL. + +The document `modguide.tex' in the base LaTeX distribution explains +the motivation behind the conditions of this license. It explains, +for example, why distributing LaTeX under the GNU General Public +License (GPL) was considered inappropriate. Even if your program is +unrelated to LaTeX, the discussion in `modguide.tex' may still be +relevant, and authors intending to distribute their programs under any +license are encouraged to read it. + + +How to Use This License +----------------------- + +To use this license, place in each of the files of your program both +an explicit copyright notice including your name and the year and also +a statement that the distribution and/or modification of the file is +constrained by the conditions in this license. + +Here is an example of such a notice and statement: + + %% pig.dtx + %% Copyright 2001 M. Y. Name + % + % This program may be distributed and/or modified under the + % conditions of the LaTeX Project Public License, either version 1.2 + % of this license or (at your option) any later version. + % The latest version of this license is in + % http://www.latex-project.org/lppl.txt + % and version 1.2 or later is part of all distributions of LaTeX + % version 1999/12/01 or later. + % + % This program consists of the files pig.dtx and pig.ins + +Given such a notice and statement in a file, the conditions given in +this license document would apply, with `The Program' referring to the +two files `pig.dtx' and `pig.ins', and `The Copyright Holder' referring +to the person `M. Y. Name'. + + +Important Recommendations +------------------------- + + Defining What Constitutes The Program + + The LPPL requires that distributions of The Program contain all the + files of The Program. It is therefore important that you provide a + way for the licensee to determine which files constitute The Program. + This could, for example, be achieved by explicitly listing all the + files of The Program near the copyright notice of each file or by + using a line like + + % This program consists of all files listed in manifest.txt. + + in that place. In the absence of an unequivocal list it might be + impossible for the licensee to determine what is considered by you + to comprise The Program. + + Noting Exceptional Files + + If The Program contains any files bearing additional conditions on + modification, or on distribution of modified versions, of those + files (other than those listed in `Additional Conditions on LaTeX + Software Files'), then it is recommended that The Program contain a + prominent file that defines the exceptional conditions, and either + lists the exceptional files or defines one or more categories of + exceptional files. + + Files containing the text of a license (such as this file) are + often examples of files bearing more restrictive conditions on + modification. LaTeX configuration files (with filename extension + `.cfg') are examples of files bearing less restrictive conditions + on the distribution of a modified version of the file. The + additional conditions on LaTeX software given above are examples + of declaring a category of files bearing exceptional additional + conditions. + + + diff --git a/Master/texmf-dist/doc/latex/ejpecp/README b/Master/texmf-dist/doc/latex/ejpecp/README new file mode 100644 index 00000000000..607a72d584b --- /dev/null +++ b/Master/texmf-dist/doc/latex/ejpecp/README @@ -0,0 +1,29 @@ +DESCRIPTION + "ejpecp" is a LaTeX2e class for typesetting articles for the mathematical + research periodicals "Electronic Journal of Probability" (EJP) and + "Electronic Communications in Probability" (ECP). + +HOW TO BUILD + pdflatex ejpecp.ins % generates the class file ejpecp.cls from ejpecp.dtx + pdflatex ejpecp.dtx % generates the documentation ejpecp.pdf + pdflatex sample.tex % generates the sample file sample.pdf + +FILE LIST + ejpecp.cls ejpecp class (LaTeX2e) + ejpecp.ins ejpecp class installation file to produce the .cls + ejpecp.dtx ejpecp class commented code to generate the .pdf + ejpecp.pdf ejpecp class documentation in PDF format. + sample.tex sample article for EJP or ECP (source file) + sample.pdf sample article for EJP or ECP (PDF compiled) + LPPL a copy of the LaTeX Project Public License. + README this file itself! + +TODO + Remove xstring and replace with simpler short code in the \MR macro + Add options "draft" and "final" and pass them to the "article" class + +COPYRIGHT + Copyright (c), 2011 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP. + The EJP logo was designed by KB. + The ECP logo was designed when Ren\'e Carmona was in charge of ECP. +EOF diff --git a/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf b/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf Binary files differnew file mode 100644 index 00000000000..90e3253aa05 --- /dev/null +++ b/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf diff --git a/Master/texmf-dist/doc/latex/ejpecp/sample.pdf b/Master/texmf-dist/doc/latex/ejpecp/sample.pdf Binary files differnew file mode 100644 index 00000000000..f5286300d8b --- /dev/null +++ b/Master/texmf-dist/doc/latex/ejpecp/sample.pdf diff --git a/Master/texmf-dist/doc/latex/ejpecp/sample.tex b/Master/texmf-dist/doc/latex/ejpecp/sample.tex new file mode 100644 index 00000000000..250886c87b7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/ejpecp/sample.tex @@ -0,0 +1,410 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% %% +%% Note: the ejpecp class works *only* with a pdflatex engine. %% +%% Avoid using exotic packages. Keep things simple. %% +%% %% +%% Manual inclusion of ams* and graphicx packages is not needed. %% +%% %% +%% Manual inclusion of page layout commands is useless. %% +%% %% +%% 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!): %% +%% %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%\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.5\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.NNNN} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% %% +%% The following items will be set by the Managing Editor. %% +%% %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\VOLUME{0} +\YEAR{2012} +\PAPERNUM{0} +\PAGESTART{0} +\PAGEEND{0} +%\DOI{} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% %% +%% 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: %% +%% %% +%% Avoid using \def if possible and use instead \newcommand %% +%% The usage of \def is a bad habit producing unexpected errors %% +%% %% +%% Avoid defining your own environments, and use instead %% +%% the available environments already defined by ejpecp: %% +%% %% +%% 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 ejpecp is designed for typesetting of articles for the +Electronic Journal of Probability (EJP) and Electronic Communications in +Probability (ECP). The ejpecp 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 ejpecp class works only with the pdflatex engine, generating pdf files. +You need a copy of the \texttt{ejpecp.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 ejpecp class, such as +\texttt{sample.tex}. To configure the ejpecp class for ECP, use +\begin{verbatim} +\documentclass[ECP]{ejpecp} +\end{verbatim} +while for EJP, use +\begin{verbatim} +\documentclass[EJP]{ejpecp} +\end{verbatim} +The ejpecp 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 ejpecp 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 ejpecp 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 ejpecp 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} + +The default size for section titles in \LaTeX\ is a bit large. As you might have +noticed, the ejpecp class provides smaller section titles. Here are some +sub-sections: + +\subsection{A sub-section} + +\subsubsection{A sub-sub-section} + +\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{How to write a good LaTeX code} + +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. Here are some +suggestions: + +\begin{itemize}\addtolength{\itemsep}{-0.5\baselineskip} +\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 ejpecp) +\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 Maths} +\end{itemize} + +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 should +use \LaTeX. The latest major version of \LaTeX\ is called \LaTeXe. It is +important to learn how to write genuine \LaTeXe\ code (see above), rather than +a mixture of \TeX\ and old \LaTeX\ (prior to \LaTeXe). + +\section{Version number} + +The version number of the ejpecp 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 the +\href{http://oeis.org}{On-Line Encyclopedia of Integer Sequences} of Sloane. +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}+. 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} + +\end{thebibliography} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% %% +%% You have reached the end of your document. %% +%% %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\end{document} + +%EOF diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx new file mode 100644 index 00000000000..3fe396960b7 --- /dev/null +++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx @@ -0,0 +1,400 @@ +% \iffalse meta-comment +% +% Copyright (C), 2011 by Krzysztof BURDZY and Djalil CHAFAI for EJP and ECP +% This class uses logos for EJP and for ECP which were designed by +% the former Managing Editors of EJP and ECP. +% ------------------------------------------------------------------ +% +% This file may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in: +% +% http://www.latex-project.org/lppl.txt +% +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{ejpecp.dtx} +%</driver> +% +%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%<class>\ProvidesClass{ejpecp} +%<*class> + [2011/11/26 v0.5 .dtx ejpecp file] +%</class> +%<class>\ClassInfo{ejpecp}{Copyright (c) BURDZY and CHAFAI for EJP-ECP, 2011.} +% +%<*driver> +\documentclass{ltxdoc} +\usepackage{hyperref} +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{ejpecp.dtx} +\end{document} +%</driver> +% \fi +% +% \CheckSum{561} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% \changes{v0.5}{2011/11/26}{Initial version.} +% \GetFileInfo{ejpecp.dtx} +% +% \DoNotIndex{\newcommand,\newenvironment} +% +% \title{The ejpecp class\thanks{\fileinfo\ v. \fileversion\ dated \filedate.}} +% \author{K. Burdzy\and \href{http://djalil.chafai.net/}{D. \textsc{Chafa\"\i}}} +% +% \maketitle +% +% \section{Introduction} +% +% The \textsc{ejpecp} \LaTeXe\ class is designed for the typesetting of +% articles for the mathematical research periodicals Electronic Journal or +% Probability (EJP) and Electronic Communications in Probability (ECP). +% +% \section{Usage} +% +% This class works only with the pdflatex engine. See the sample file for its +% usage. +% +% \iffalse +% +% \DescribeMacro{\amacro} % +% This macro does nothing.\index{doing nothing|usage} It is merely an example. +% If this were a real macro, you would put a paragraph here describing what +% the macro is supposed to do, what its mandatory and optional arguments are, +% and so forth. +% +% \DescribeEnv{anenv} % +% This environment does nothing. It is merely an example. If this were a real +% environment, you would put a paragraph here describing what the environment +% is supposed to do, what its mandatory and optional arguments are, and so +% forth. % +% +% \fi +% +% \StopEventually{\PrintChanges\PrintIndex} +% +% \section{Implementation} +% +% \begin{macrocode} +%% We use the standard article class +\LoadClass[a4paper,10pt,twoside]{article} +%% We declare and handle our class options +\DeclareOption{EJP}{% + \makeatletter + \newcommand{\@JOURNAL}{EJP} + \newcommand{\@JOURNALL}{Electronic Journal of Probability} + \newcommand{\@EJP}{} + \newcommand{\@URL}{\href{http://ejp.ejpecp.org/}{ejp.ejpecp.org}} + \makeatother +} +\DeclareOption{ECP}{% + \makeatletter + \newcommand{\@JOURNAL}{ECP} + \newcommand{\@JOURNALL}{Electronic Communications in Probability} + \newcommand{\@ECP}{} + \newcommand{\@URL}{\href{http://ecp.ejpecp.org/}{ecp.ejpecp.org}} + \makeatother +} +\DeclareOption{NODS}{% asks to avoid renaming \mathbb into \mathds + \makeatletter + \newcommand{\@NODS}{} + \makeatother +} +\DeclareOption*{% + \PackageWarning{ejpecp}{Unknown option ‘\CurrentOption’}% +} +%\ExecuteOptions{EJP} +\ProcessOptions\relax +%%%% Packages and their options +\RequirePackage{xstring} +\RequirePackage[pdftex]{graphicx} +\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG} +\RequirePackage{amsmath,amsfonts,amssymb,amsthm,latexsym,dsfont} +\RequirePackage{geometry} +\geometry{a4paper,portrait,left=4.5cm,right=2.5cm,top=3.5cm,bottom=3.5cm} +%\RequirePackage{charter} % Ph. Carmona +\RequirePackage{bera} +\RequirePackage[pdftex]{hyperref} +\hypersetup{colorlinks=false,urlcolor=black,citecolor=black} +\hypersetup{pdfcreator=PDFLaTeX with ejpecp class} +%%%% Macros et Environments +%% General macros +\makeatletter% +\newcommand{\@TITLE}{FIXME!} +\newcommand{\@SHORTTITLE}{FIXME!} +\newcommand{\@KEYWORDS}{FIXME!} +\newcommand{\@AMSSUBJ}{FIXME!} +\newcommand{\@ABSTRACT}{FIXME!} +\newcommand{\@VOLUME}{0} +\newcommand{\@PAPERNUM}{0} +\newcommand{\@YEAR}{2012} +\newcommand{\@PAGESTART}{0} +\newcommand{\@PAGEEND}{0} +\newcommand{\@SUBMITTED}{FIXME!} +\newcommand{\@ACCEPTED}{FIXME!} +\newcommand{\TITLE}[1]{\renewcommand{\@TITLE}{#1}} +\newcommand{\THANKS}[1]{\gdef\@THANKS{#1}} +\newcommand{\SHORTTITLE}[1]{\renewcommand{\@SHORTTITLE}{#1}} +\newcommand{\AUTHORS}[1]{\author{#1}} +\newcommand{\KEYWORDS}[1]{\renewcommand{\@KEYWORDS}{#1}} +\newcommand{\AMSSUBJ}[1]{\renewcommand{\@AMSSUBJ}{#1}} +\newcommand{\AMSSUBJSECONDARY}[1]{\gdef\@AMSSUBJSECONDARY{#1}} +\newcommand{\ABSTRACT}[1]{\renewcommand{\@ABSTRACT}{#1}} +\newcommand{\VOLUME}[1]{\renewcommand{\@VOLUME}{#1}} +\newcommand{\PAPERNUM}[1]{\renewcommand{\@PAPERNUM}{#1}} +\newcommand{\YEAR}[1]{\renewcommand{\@YEAR}{#1}} +\newcommand{\PAGESTART}[1]{\renewcommand{\@PAGESTART}{#1}} +\newcommand{\PAGEEND}[1]{\renewcommand{\@PAGEEND}{#1}} +\newcommand{\SUBMITTED}[1]{\renewcommand{\@SUBMITTED}{#1}} +\newcommand{\ACCEPTED}[1]{\renewcommand{\@ACCEPTED}{#1}} +\newcommand{\DOI}[1]{\gdef\@DOI{http://dx.doi.org/#1}} +\newcommand{\ARXIVID}[1]{\gdef\@ARXIVID{#1}} +\makeatother +%% Logos +\makeatletter +\newcommand{\@EJPLOGO}{% designed by KB. + \centerline {% + \hbox {% + %\vrule height -0.4 pt depth 0.8 pt width 26.5 em\space % + \vrule height -0.4 pt depth 0.8 pt width 27.7 em\space % + %\kern -26.5 em\space % + \kern -27.8 em\space % + \raise 0.03ex \hbox {\bf E}\space % + \raise 0.06ex \hbox {l}\space % + \raise .13ex \hbox {e}\space % + \raise .24ex \hbox {c}\space % + \raise .45ex \hbox {t}\space % + \raise .78ex \hbox {r}\space % + \raise 1.31ex \hbox {o}\space % + \raise 2.08ex \hbox {n}\space % + \raise 3.14ex \hbox {i}\space % + \raise 4.53ex \hbox {c}\space % + \kern 1em\space % + \raise 8.15ex \hbox {\bf J}\space % + \raise 10.15ex \hbox {o}\space % + \raise 12.04ex \hbox {u}\space % + \raise 13.60ex \hbox {r}\space % + \raise 14.64ex \hbox {n}\space % + \kern .3 em\space % + \vrule depth 0.8pt height 14.5ex \space % %BEST! + \kern -.3em\space % + \raise 15ex \hbox {a}\space % + \raise 14.64ex \hbox {l}\space % + \kern 1em\space % + \raise 12.04ex \hbox {o}\space % + \raise 10.15ex \hbox {f}\space % + \kern 1em\space % + \raise 6.23ex \hbox {\bf P}\space % + \raise 4.53ex \hbox {r}\space % + \raise 3.14ex \hbox {o}\space % + \raise 2.08ex \hbox {b}\space % + \raise 1.31ex \hbox {a}\space % + \raise .78ex \hbox {b}\space % + \raise .45ex \hbox {i}\space % + \raise .24ex \hbox {l}\space % + \raise .13ex \hbox {i}\space % + \raise .06ex \hbox {t}\space % + \raise .03ex \hbox {y}% + }% + }% +}%EJPLOGO +\newcommand{\@ECPLOGO}{% designed when Ren\'e Carmona was in charge of ECP + \raisebox{0.3cm}{\parbox[t]{1.6in}{\noindent\rule{1.6in}{1.6pt}\\ + \textbf{ ELECTRONIC}\\ + \textbf{ COMMUNICATIONS}\\ + \textbf{ in PROBABILITY}\\ + \rule[.08in]{1.6in}{2pt}}} +}%ECPLOGO +\makeatother +%% Macro handling the first page +\makeatletter +\newcommand{\FIRSTPAGE}{% + \thispagestyle{empty} + \title{\small% + \ifx\@EJP\undefined\else% + \@EJPLOGO + \bigskip + \centerline{Vol.\,\@VOLUME\, (\@YEAR),\ % + Paper no. \@PAPERNUM, pages \,\@PAGESTART--\@PAGEEND.} + \bigskip + \bigskip + {\Large\bfseries\@TITLE}\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi + \fi%EJP + \ifx\@ECP\undefined\else% + \emph{Elect. Comm. in Probab.} + \textbf{\@VOLUME} (\@YEAR), \@PAGESTART--\@PAGEEND + \hfill + \@ECPLOGO\\ + \bigskip + \bigskip + {\Large\scshape\@TITLE\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi} + \fi%ECP + } % end title + \date{}% + \maketitle\thispagestyle{empty}% + \begin{abstract}% + \noindent% + \@ABSTRACT\\[1.5em]% + \textbf{Key words: }% + \@KEYWORDS.\\[.2em]% + \textbf{AMS 2010 Subject Classification: }% + \ifx\@AMSSUBJSECONDARY\undefined + \@AMSSUBJ. + \else + Primary \@AMSSUBJ, Secondary \@AMSSUBJSECONDARY. + \fi\\[.2em]% + Submitted to \@JOURNAL\ on \,\@SUBMITTED, % + final version accepted \,\@ACCEPTED.\\[.2em]% + \ifx\@ARXIVID\undefined\else% + Supersedes % + \texttt{\href{http://arXiv.org/abs/\@ARXIVID}{arXiv:\@ARXIVID}}% + .\\[.2em] + \fi% + + \end{abstract} +}%END-FIRSTPAGE +\makeatother +%% Bibliography +\makeatletter +\newcommand{\MR}[1]{% we need to strip the "(...)" + \def\@MRBLOB{#1(} % add fake "(" to force presence of "(" + \StrBefore{\@MRBLOB}{(}[\@MRSTRIP] % do the strip with xstring package! + \href{http://www.ams.org/mathscinet-getitem?mr=\@MRSTRIP}{MR\@MRSTRIP}} +\makeatother +\newcommand{\ARXIV}[1]{\href{http://arXiv.org/abs/#1}{arXiv:#1}} +\makeatletter +\renewenvironment{thebibliography}[1]{% + \section*{\refname + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% + \list{\@biblabel{\@arabic\c@enumiv}}{% + \small% + \setlength{\labelwidth}{0em}% + \setlength{\labelsep}{0.4em}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{-.25em}% + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m}{% + \def\@noitemerr{% + \@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\makeatother +%% Theorem styles +\newtheoremstyle{ejpecpbodyit}% name % cf. thmtest.tex of AMSLaTeX + {3pt}% Space above + {3pt}% Space below + {\itshape}% Body font + {}% Indent amount (empty = no indent, + % \parindent = para indent) + {\bfseries\sffamily}% Thm head font + {.}% Punctuation after thm head + { }% Space after thm head: " " = normal interword space; + % \newline = linebreak + {}% Thm head spec (can be left empty, meaning `normal') +\newtheoremstyle{ejpecpbodyrm}% name % cf. thmtest.tex of AMSLaTeX + {3pt}% Space above + {3pt}% Space below + {}% Body font + {}% Indent amount (empty = no indent, + % \parindent = para indent) + {\bfseries\sffamily}% Thm head font + {.}% Punctuation after thm head + { }% Space after thm head: " " = normal interword space; + % \newline = linebreak + {}% Thm head spec (can be left empty, meaning `normal') +%% +\theoremstyle{ejpecpbodyit} +\newtheorem{theorem}{Theorem}[section]% +\newtheorem{corollary}[theorem]{Corollary}% +\newtheorem{proposition}[theorem]{Proposition}% +\newtheorem{lemma}[theorem]{Lemma}% +\newtheorem{definition}[theorem]{Definition}% +\newtheorem{hypothesis}[theorem]{Hypothesis}% +\newtheorem{heuristics}[theorem]{Heuristics}% +\newtheorem{conjecture}[theorem]{Conjecture}% +\theoremstyle{ejpecpbodyrm}% +\newtheorem{example}[theorem]{Example}% +\newtheorem{exercise}[theorem]{Exercise}% +\newtheorem{problem}[theorem]{Problem}% +\newtheorem{remark}[theorem]{Remark}% +%%%% Commands to be executed before \begin{document} +%% Replace \mathbb by \mathds except if we require the contrary +\makeatletter +\ifx\@NODS\undefined\let\mathbb=\mathds\else\fi +\makeatother +%% Headings +\makeatletter +\def\@PAPERBLOB{% + \@JOURNAL\normalfont\ Vol. \@VOLUME\, (\@YEAR),\ % + Paper no. \@PAPERNUM, pages \,\@PAGESTART--\@PAGEEND% +} +\renewcommand{\@evenfoot} +{\small\normalfont% + \ifx\@DOI\undefined\@PAPERBLOB\else\href{\@DOI}{\@PAPERBLOB}\fi.% + \ \hfil\@URL} +\renewcommand{\@oddfoot}{\@evenfoot} +\renewcommand{\@evenhead} +{\small\upshape {\thepage}\ \hfil\@SHORTTITLE\hfil} +\renewcommand{\@oddhead} +{\small\hfil\@SHORTTITLE\hfil \upshape\ \thepage} +\makeatother +%% smaller sections titles +\makeatletter +\renewcommand{\section}{\@startsection% + {section}% % name + {1}% % level + {0em}% % indent + {\baselineskip}% % beforeskip + {0.5\baselineskip}% % afterskip + {\normalfont\large\bfseries}}% % style +\renewcommand{\subsection}{\@startsection% + {subsection}% % name + {2}% % level + {0em}% % indent + {\baselineskip}% % beforeskip + {0.25\baselineskip}% % afterskip + {\normalfont\bfseries}% % style +} +\makeatother +%% Macros +%%%% Commands to be executed just after \begin{document} +\AtBeginDocument{% + \FIRSTPAGE% +} +%%%% Commands to be executed just before \end{document} +\AtEndDocument{\vfill} +% \end{macrocode} +% \Finale +\endinput diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins b/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins new file mode 100644 index 00000000000..56e5fea2f7e --- /dev/null +++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins @@ -0,0 +1,57 @@ +%% +%% Copyright (c), 2011 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% + +\input docstrip.tex +\keepsilent + +\usedir{tex/latex/ejpecp} + +\preamble + +This is a generated file. + +Copyright (c), 2011 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP + +This file may be distributed and/or modified under the conditions of +the LaTeX Project Public License, either version 1.2 of this license +or (at your option) any later version. The latest version of this +license is in: + + http://www.latex-project.org/lppl.txt + +and version 1.2 or later is part of all distributions of LaTeX version +1999/12/01 or later. + +\endpreamble + +\generate{\file{ejpecp.cls}{\from{ejpecp.dtx}{class}}} + +\obeyspaces +\Msg{*************************************************************} +\Msg{* *} +\Msg{* The ejpecp LaTeX2e class. *} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* ejpecp.cls *} +\Msg{* *} +\Msg{* To produce the documentation run the file ejpecp.dtx *} +\Msg{* through LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} +\Msg{* *} +\Msg{*************************************************************} + +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls new file mode 100644 index 00000000000..485444117b0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls @@ -0,0 +1,321 @@ +%% +%% This is file `ejpecp.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ejpecp.dtx (with options: `class') +%% +%% This is a generated file. +%% +%% Copyright (c), 2011 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{ejpecp} + [2011/11/26 v0.5 .dtx ejpecp file] +\ClassInfo{ejpecp}{Copyright (c) BURDZY and CHAFAI for EJP-ECP, 2011.} +%% We use the standard article class +\LoadClass[a4paper,10pt,twoside]{article} +%% We declare and handle our class options +\DeclareOption{EJP}{% + \makeatletter + \newcommand{\@JOURNAL}{EJP} + \newcommand{\@JOURNALL}{Electronic Journal of Probability} + \newcommand{\@EJP}{} + \newcommand{\@URL}{\href{http://ejp.ejpecp.org/}{ejp.ejpecp.org}} + \makeatother +} +\DeclareOption{ECP}{% + \makeatletter + \newcommand{\@JOURNAL}{ECP} + \newcommand{\@JOURNALL}{Electronic Communications in Probability} + \newcommand{\@ECP}{} + \newcommand{\@URL}{\href{http://ecp.ejpecp.org/}{ecp.ejpecp.org}} + \makeatother +} +\DeclareOption{NODS}{% asks to avoid renaming \mathbb into \mathds + \makeatletter + \newcommand{\@NODS}{} + \makeatother +} +\DeclareOption*{% + \PackageWarning{ejpecp}{Unknown option ‘\CurrentOption’}% +} +\ProcessOptions\relax +%%%% Packages and their options +\RequirePackage{xstring} +\RequirePackage[pdftex]{graphicx} +\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG} +\RequirePackage{amsmath,amsfonts,amssymb,amsthm,latexsym,dsfont} +\RequirePackage{geometry} +\geometry{a4paper,portrait,left=4.5cm,right=2.5cm,top=3.5cm,bottom=3.5cm} +\RequirePackage{bera} +\RequirePackage[pdftex]{hyperref} +\hypersetup{colorlinks=false,urlcolor=black,citecolor=black} +\hypersetup{pdfcreator=PDFLaTeX with ejpecp class} +%%%% Macros et Environments +%% General macros +\makeatletter% +\newcommand{\@TITLE}{FIXME!} +\newcommand{\@SHORTTITLE}{FIXME!} +\newcommand{\@KEYWORDS}{FIXME!} +\newcommand{\@AMSSUBJ}{FIXME!} +\newcommand{\@ABSTRACT}{FIXME!} +\newcommand{\@VOLUME}{0} +\newcommand{\@PAPERNUM}{0} +\newcommand{\@YEAR}{2012} +\newcommand{\@PAGESTART}{0} +\newcommand{\@PAGEEND}{0} +\newcommand{\@SUBMITTED}{FIXME!} +\newcommand{\@ACCEPTED}{FIXME!} +\newcommand{\TITLE}[1]{\renewcommand{\@TITLE}{#1}} +\newcommand{\THANKS}[1]{\gdef\@THANKS{#1}} +\newcommand{\SHORTTITLE}[1]{\renewcommand{\@SHORTTITLE}{#1}} +\newcommand{\AUTHORS}[1]{\author{#1}} +\newcommand{\KEYWORDS}[1]{\renewcommand{\@KEYWORDS}{#1}} +\newcommand{\AMSSUBJ}[1]{\renewcommand{\@AMSSUBJ}{#1}} +\newcommand{\AMSSUBJSECONDARY}[1]{\gdef\@AMSSUBJSECONDARY{#1}} +\newcommand{\ABSTRACT}[1]{\renewcommand{\@ABSTRACT}{#1}} +\newcommand{\VOLUME}[1]{\renewcommand{\@VOLUME}{#1}} +\newcommand{\PAPERNUM}[1]{\renewcommand{\@PAPERNUM}{#1}} +\newcommand{\YEAR}[1]{\renewcommand{\@YEAR}{#1}} +\newcommand{\PAGESTART}[1]{\renewcommand{\@PAGESTART}{#1}} +\newcommand{\PAGEEND}[1]{\renewcommand{\@PAGEEND}{#1}} +\newcommand{\SUBMITTED}[1]{\renewcommand{\@SUBMITTED}{#1}} +\newcommand{\ACCEPTED}[1]{\renewcommand{\@ACCEPTED}{#1}} +\newcommand{\DOI}[1]{\gdef\@DOI{http://dx.doi.org/#1}} +\newcommand{\ARXIVID}[1]{\gdef\@ARXIVID{#1}} +\makeatother +%% Logos +\makeatletter +\newcommand{\@EJPLOGO}{% designed by KB. + \centerline {% + \hbox {% + %\vrule height -0.4 pt depth 0.8 pt width 26.5 em\space % + \vrule height -0.4 pt depth 0.8 pt width 27.7 em\space % + %\kern -26.5 em\space % + \kern -27.8 em\space % + \raise 0.03ex \hbox {\bf E}\space % + \raise 0.06ex \hbox {l}\space % + \raise .13ex \hbox {e}\space % + \raise .24ex \hbox {c}\space % + \raise .45ex \hbox {t}\space % + \raise .78ex \hbox {r}\space % + \raise 1.31ex \hbox {o}\space % + \raise 2.08ex \hbox {n}\space % + \raise 3.14ex \hbox {i}\space % + \raise 4.53ex \hbox {c}\space % + \kern 1em\space % + \raise 8.15ex \hbox {\bf J}\space % + \raise 10.15ex \hbox {o}\space % + \raise 12.04ex \hbox {u}\space % + \raise 13.60ex \hbox {r}\space % + \raise 14.64ex \hbox {n}\space % + \kern .3 em\space % + \vrule depth 0.8pt height 14.5ex \space % %BEST! + \kern -.3em\space % + \raise 15ex \hbox {a}\space % + \raise 14.64ex \hbox {l}\space % + \kern 1em\space % + \raise 12.04ex \hbox {o}\space % + \raise 10.15ex \hbox {f}\space % + \kern 1em\space % + \raise 6.23ex \hbox {\bf P}\space % + \raise 4.53ex \hbox {r}\space % + \raise 3.14ex \hbox {o}\space % + \raise 2.08ex \hbox {b}\space % + \raise 1.31ex \hbox {a}\space % + \raise .78ex \hbox {b}\space % + \raise .45ex \hbox {i}\space % + \raise .24ex \hbox {l}\space % + \raise .13ex \hbox {i}\space % + \raise .06ex \hbox {t}\space % + \raise .03ex \hbox {y}% + }% + }% +}%EJPLOGO +\newcommand{\@ECPLOGO}{% designed when Ren\'e Carmona was in charge of ECP + \raisebox{0.3cm}{\parbox[t]{1.6in}{\noindent\rule{1.6in}{1.6pt}\\ + \textbf{ ELECTRONIC}\\ + \textbf{ COMMUNICATIONS}\\ + \textbf{ in PROBABILITY}\\ + \rule[.08in]{1.6in}{2pt}}} +}%ECPLOGO +\makeatother +%% Macro handling the first page +\makeatletter +\newcommand{\FIRSTPAGE}{% + \thispagestyle{empty} + \title{\small% + \ifx\@EJP\undefined\else% + \@EJPLOGO + \bigskip + \centerline{Vol.\,\@VOLUME\, (\@YEAR),\ % + Paper no. \@PAPERNUM, pages \,\@PAGESTART--\@PAGEEND.} + \bigskip + \bigskip + {\Large\bfseries\@TITLE}\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi + \fi%EJP + \ifx\@ECP\undefined\else% + \emph{Elect. Comm. in Probab.} + \textbf{\@VOLUME} (\@YEAR), \@PAGESTART--\@PAGEEND + \hfill + \@ECPLOGO\\ + \bigskip + \bigskip + {\Large\scshape\@TITLE\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi} + \fi%ECP + } % end title + \date{}% + \maketitle\thispagestyle{empty}% + \begin{abstract}% + \noindent% + \@ABSTRACT\\[1.5em]% + \textbf{Key words: }% + \@KEYWORDS.\\[.2em]% + \textbf{AMS 2010 Subject Classification: }% + \ifx\@AMSSUBJSECONDARY\undefined + \@AMSSUBJ. + \else + Primary \@AMSSUBJ, Secondary \@AMSSUBJSECONDARY. + \fi\\[.2em]% + Submitted to \@JOURNAL\ on \,\@SUBMITTED, % + final version accepted \,\@ACCEPTED.\\[.2em]% + \ifx\@ARXIVID\undefined\else% + Supersedes % + \texttt{\href{http://arXiv.org/abs/\@ARXIVID}{arXiv:\@ARXIVID}}% + .\\[.2em] + \fi% + + \end{abstract} +}%END-FIRSTPAGE +\makeatother +%% Bibliography +\makeatletter +\newcommand{\MR}[1]{% we need to strip the "(...)" + \def\@MRBLOB{#1(} % add fake "(" to force presence of "(" + \StrBefore{\@MRBLOB}{(}[\@MRSTRIP] % do the strip with xstring package! + \href{http://www.ams.org/mathscinet-getitem?mr=\@MRSTRIP}{MR\@MRSTRIP}} +\makeatother +\newcommand{\ARXIV}[1]{\href{http://arXiv.org/abs/#1}{arXiv:#1}} +\makeatletter +\renewenvironment{thebibliography}[1]{% + \section*{\refname + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% + \list{\@biblabel{\@arabic\c@enumiv}}{% + \small% + \setlength{\labelwidth}{0em}% + \setlength{\labelsep}{0.4em}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{-.25em}% + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m}{% + \def\@noitemerr{% + \@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\makeatother +%% Theorem styles +\newtheoremstyle{ejpecpbodyit}% name % cf. thmtest.tex of AMSLaTeX + {3pt}% Space above + {3pt}% Space below + {\itshape}% Body font + {}% Indent amount (empty = no indent, + % \parindent = para indent) + {\bfseries\sffamily}% Thm head font + {.}% Punctuation after thm head + { }% Space after thm head: " " = normal interword space; + % \newline = linebreak + {}% Thm head spec (can be left empty, meaning `normal') +\newtheoremstyle{ejpecpbodyrm}% name % cf. thmtest.tex of AMSLaTeX + {3pt}% Space above + {3pt}% Space below + {}% Body font + {}% Indent amount (empty = no indent, + % \parindent = para indent) + {\bfseries\sffamily}% Thm head font + {.}% Punctuation after thm head + { }% Space after thm head: " " = normal interword space; + % \newline = linebreak + {}% Thm head spec (can be left empty, meaning `normal') +%% +\theoremstyle{ejpecpbodyit} +\newtheorem{theorem}{Theorem}[section]% +\newtheorem{corollary}[theorem]{Corollary}% +\newtheorem{proposition}[theorem]{Proposition}% +\newtheorem{lemma}[theorem]{Lemma}% +\newtheorem{definition}[theorem]{Definition}% +\newtheorem{hypothesis}[theorem]{Hypothesis}% +\newtheorem{heuristics}[theorem]{Heuristics}% +\newtheorem{conjecture}[theorem]{Conjecture}% +\theoremstyle{ejpecpbodyrm}% +\newtheorem{example}[theorem]{Example}% +\newtheorem{exercise}[theorem]{Exercise}% +\newtheorem{problem}[theorem]{Problem}% +\newtheorem{remark}[theorem]{Remark}% +%%%% Commands to be executed before \begin{document} +%% Replace \mathbb by \mathds except if we require the contrary +\makeatletter +\ifx\@NODS\undefined\let\mathbb=\mathds\else\fi +\makeatother +%% Headings +\makeatletter +\def\@PAPERBLOB{% + \@JOURNAL\normalfont\ Vol. \@VOLUME\, (\@YEAR),\ % + Paper no. \@PAPERNUM, pages \,\@PAGESTART--\@PAGEEND% +} +\renewcommand{\@evenfoot} +{\small\normalfont% + \ifx\@DOI\undefined\@PAPERBLOB\else\href{\@DOI}{\@PAPERBLOB}\fi.% + \ \hfil\@URL} +\renewcommand{\@oddfoot}{\@evenfoot} +\renewcommand{\@evenhead} +{\small\upshape {\thepage}\ \hfil\@SHORTTITLE\hfil} +\renewcommand{\@oddhead} +{\small\hfil\@SHORTTITLE\hfil \upshape\ \thepage} +\makeatother +%% smaller sections titles +\makeatletter +\renewcommand{\section}{\@startsection% + {section}% % name + {1}% % level + {0em}% % indent + {\baselineskip}% % beforeskip + {0.5\baselineskip}% % afterskip + {\normalfont\large\bfseries}}% % style +\renewcommand{\subsection}{\@startsection% + {subsection}% % name + {2}% % level + {0em}% % indent + {\baselineskip}% % beforeskip + {0.25\baselineskip}% % afterskip + {\normalfont\bfseries}% % style +} +\makeatother +%% Macros +%%%% Commands to be executed just after \begin{document} +\AtBeginDocument{% + \FIRSTPAGE% +} +%%%% Commands to be executed just before \end{document} +\AtEndDocument{\vfill} +\endinput +%% +%% End of file `ejpecp.cls'. |