From 7ada8f0ce9656ac9fb657520a5e2a5977296c2eb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Feb 2016 22:38:19 +0000 Subject: ejpecp (25feb16) git-svn-id: svn://tug.org/texlive/trunk@39863 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/ejpecp/README | 7 +- Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf | Bin 130158 -> 128950 bytes Master/texmf-dist/doc/latex/ejpecp/sample.pdf | Bin 154860 -> 155470 bytes Master/texmf-dist/doc/latex/ejpecp/sample.tex | 11 +- Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx | 525 ++++++++++++----------- Master/texmf-dist/source/latex/ejpecp/ejpecp.ins | 2 + Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls | 514 +++++++++++----------- 7 files changed, 542 insertions(+), 517 deletions(-) diff --git a/Master/texmf-dist/doc/latex/ejpecp/README b/Master/texmf-dist/doc/latex/ejpecp/README index 75e722fbe26..5c90d98e590 100644 --- a/Master/texmf-dist/doc/latex/ejpecp/README +++ b/Master/texmf-dist/doc/latex/ejpecp/README @@ -2,9 +2,10 @@ "ejpecp" is a LaTeX2e document class for typesetting articles for the mathematical research periodicals "Electronic Journal of Probability" (EJP) and "Electronic Communications in Probability" (ECP). The websites of these - electronic journals are http://ejp.ejpecp.org/ and http://ecp.ejepecp.org/ + electronic journals are http://www.imstat.org/ejp/ and http://www.imstat.org/ecp/ COPYRIGHT + Copyright (c) 2016 by Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP Copyright (c) 2011-2015 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP The original ECP logo was designed when Ren\'e CARMONA was in charge of ECP The original EJP logo was designed by Krzysztof BURDZY @@ -36,7 +37,7 @@ INSTRUCTIONS FOR EJP-ECP AUTHORS Be sure to have ejpecp.cls in the same directory (or any dir scanned for cls) Compile yourname.tex with a pdflatex engine producing yourname.pdf More detailed instructions for authors are available on Internet: - EJP: http://ejp.ejpecp.org/ ECP: http://ecp.ejpecp.org/ + EJP: http://www.imstat.org/ejp/ ECP: http://www.imstat.org/ecp/ DEPENDENCIES ejpecp is a LaTeX2e document class designed to be used with a pdflatex engine. @@ -50,6 +51,8 @@ LATEST VERSION http:/mirror.ctan.org/macros/latex/contrib/ejpecp/ CHANGELOG + 2016/02/23 v1.3 + Updated journal URLs and DOI output format 2015/12/23 v1.2 Adapt sample.tex to EJMS/VTEX transition. 2014/12/13 v1.1 diff --git a/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf b/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf index 5a964a0993e..dca52be4953 100644 Binary files a/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf and b/Master/texmf-dist/doc/latex/ejpecp/ejpecp.pdf differ diff --git a/Master/texmf-dist/doc/latex/ejpecp/sample.pdf b/Master/texmf-dist/doc/latex/ejpecp/sample.pdf index 075733e5d5b..1fc7ac961c0 100644 Binary files a/Master/texmf-dist/doc/latex/ejpecp/sample.pdf and b/Master/texmf-dist/doc/latex/ejpecp/sample.pdf differ diff --git a/Master/texmf-dist/doc/latex/ejpecp/sample.tex b/Master/texmf-dist/doc/latex/ejpecp/sample.tex index fae9e892929..64d5a39c097 100644 --- a/Master/texmf-dist/doc/latex/ejpecp/sample.tex +++ b/Master/texmf-dist/doc/latex/ejpecp/sample.tex @@ -51,9 +51,12 @@ \SHORTTITLE{Introduction to the \emph{ejpecp} Class} -\TITLE{Introduction to the \emph{ejpecp} Class Version 1.2\thanks{Supported +\TITLE{Introduction to the \emph{ejpecp} Class Version 1.3\thanks{Supported by the Institute of Mathematical Statistics (IMS) and the Bernoulli - Society.}} % \thanks is optional. Insert line breaks with \\ + Society.}\ + \thanks{Current maintainer of class file is + \href{http://www.vtex.lt}{VTeX, Lithuania}. Please send all queries to + \href{mailto:latex-support@vtex.lt}{\texttt{latex-support@vtex.lt}}.}} % \thanks is optional. Insert line breaks with \\ %\DEDICATORY{Dedicated to the memory of ...} % Optional @@ -110,9 +113,9 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \VOLUME{0} -\YEAR{2012} +\YEAR{2016} \PAPERNUM{0} -\DOI{vVOL-PID} +\DOI{10.1214/YY-TN} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx index 06ad9f7918c..56898453977 100644 --- a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx +++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx @@ -1,5 +1,6 @@ % \iffalse meta-comment % +% Copyright (c) 2016 by Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP % Copyright (C), 2011-2015 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP % --------------------------------------------------------------------------- % @@ -23,8 +24,9 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesClass{ejpecp} %<*class> - [2015/12/23 v1.2 .dtx ejpecp file] + [2016/02/23 v1.3 .dtx ejpecp file] % +%\ClassInfo{ejpecp}{Copyright (c) 2016 Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP.} %\ClassInfo{ejpecp}{Copyright (c), 2011-2015 BURDZY and CHAFAI for EJP-ECP.} % %<*driver> @@ -41,7 +43,7 @@ % % \fi % -% \CheckSum{721} +% \CheckSum{706} % % \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 @@ -68,11 +70,12 @@ % \changes{v1.0}{2012/12/12}{First stable version, see the README file.} % \changes{v1.1}{2014/12/13}{Corrected stable version, see the README file.} % \changes{v1.2}{2015/12/23}{Transition to EJMS/VTEX/ProjectEuclid.} +% \changes{v1.3}{2016/02/23}{Updated journal URLs and DOI output format} % \GetFileInfo{ejpecp.dtx} % % \DoNotIndex{\newcommand,\newenvironment} % -% \title{The ejpecp class\thanks{\fileinfo\ v. \fileversion\ dated \filedate.}} +% \title{The ejpecp class\thanks{\fileinfo\ \fileversion\ dated \filedate.}} % \author{K. Burdzy\and \href{http://djalil.chafai.net/}{D. Chafa\"\i}} % % \maketitle @@ -116,74 +119,71 @@ \newcommand{\@JOURNALA}{Electron. J. Probab.} \newcommand{\@JOURNALL}{Electronic Journal of Probability} \newcommand{\@ISSN}{1083-6489} - \newcommand{\@URL}{ejp.ejpecp.org} -} + \newcommand{\@URL}{www.imstat.org/ejp} + } \DeclareOption{ECP}{% \newcommand{\@ECP}{} \newcommand{\@JOURNAL}{ECP} \newcommand{\@JOURNALA}{Electron. Commun. Probab.} \newcommand{\@JOURNALL}{Electronic Communications in Probability} \newcommand{\@ISSN}{1083-589X} - \newcommand{\@URL}{ecp.ejpecp.org} -} + \newcommand{\@URL}{www.imstat.org/ecp} + } \DeclareOption{NOAMS}{% prevents the load of AMS packages \newcommand{\@NOAMS}{} -} + } \DeclareOption{NODS}{% asks to avoid renaming \mathbb into \mathds \newcommand{\@NODS}{} -} + } \DeclareOption{PSTRICKS}{% pstricks and pspicture. % File must be compiled with "latex --shell-escape", then use dvipdf \newcommand{\@PSTRICKS}{} -} + } \DeclareOption{draft}{% - \PassOptionsToClass{draft}{article} -} + \PassOptionsToClass{draft}{article} + } \DeclareOption{final}{% - \PassOptionsToClass{final}{article} -} + \PassOptionsToClass{final}{article} + } \DeclareOption*{% \PackageWarning{ejpecp}{Unknown option ‘\CurrentOption’}% -} + } %\ExecuteOptions{EJP} \ProcessOptions\relax %% We use the standard article class \LoadClass[a4paper,10pt,twoside]{article} %% Packages and their options -\ifx\@PSTRICKS\undefined% -\RequirePackage[pdftex]{graphicx} -\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG} -\else% -\RequirePackage{graphicx} -\RequirePackage[pdf]{pstricks} -\RequirePackage{auto-pst-pdf} +\ifx\@PSTRICKS\undefined + \RequirePackage[pdftex]{graphicx} + \DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG} +\else + \RequirePackage{graphicx} + \RequirePackage[pdf]{pstricks} + \RequirePackage{auto-pst-pdf} \fi \RequirePackage{mathtools} \RequirePackage{fixltx2e} \RequirePackage{microtype} \RequirePackage{lastpage} \RequirePackage{latexsym} -\ifx\@NODS\undefined\RequirePackage{dsfont}\fi -\ifx\@NOAMS\undefined\RequirePackage{amsmath,amsfonts,amssymb,amsthm}\fi +\ifx\@NODS\undefined + \RequirePackage{dsfont} +\fi +\ifx\@NOAMS\undefined + \RequirePackage{amsmath,amsfonts,amssymb,amsthm} +\fi \RequirePackage{geometry} \geometry{a4paper,portrait,left=3.5cm,right=3.5cm,top=3.5cm,bottom=3.5cm} %\RequirePackage{charter} % Ph. Carmona \RequirePackage{bera} % beware that the logo is sensitive to default font change -%%\RequirePackage[expert]{lucbmath} % Y&Y's Lucida cf. doc/fonts/bera/bera.txt -%%\def\DeclareLucidaFontShape#1#2#3#4#5#6{% -%%\DeclareFontShape{#1}{#2}{#3}{#4}{<->s*[0.90]#5}{#6}} -\ifx\@PSTRICKS\undefined% -\RequirePackage[pdftex,pagebackref=false]{hyperref} -\else% -\RequirePackage[pagebackref=false]{hyperref} -\fi% -%\hypersetup{colorlinks=false} % useless with our zero borders +\IfFileExists{ejpecp-hook.sty}{\RequirePackage{ejpecp-hook}}{} +\ifx\@PSTRICKS\undefined + \RequirePackage[pdftex,pagebackref=false]{hyperref} +\else + \RequirePackage[pagebackref=false]{hyperref} +\fi \hypersetup{pdfborder=0 0 0} \hypersetup{pdfstartview={FitH}} -%% PDF level and compression % it is actually better to do it externally -%\pdfminorversion=5 -%\pdfcompresslevel=9 -%\pdfobjcompresslevel=3 %%%% Macros et Environments %% General macros \newcommand{\@TITLE}{FIXME!} @@ -209,11 +209,11 @@ \newcommand{\VOLUME}[1]{\renewcommand{\@VOLUME}{#1}} \newcommand{\PAPERNUM}[1]{\renewcommand{\@PAPERNUM}{#1}} \newcommand{\YEAR}[1]{\renewcommand{\@YEAR}{#1}} -\newcommand{\PAGESTART}[1]{\renewcommand{\@PAGESTART}{#1}} % unused -\newcommand{\PAGEEND}[1]{\renewcommand{\@PAGEEND}{#1}} % unused +\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{10.1214/\@JOURNAL.#1}} +\newcommand{\DOI}[1]{\gdef\@DOI{#1}} \newcommand{\ARXIVID}[1]{\gdef\@ARXIVID{#1}} \newcommand{\HALID}[1]{\gdef\@HALID{#1}} \newcommand{\ACKNO}[1]{\noindent\textbf{Acknowledgments.} #1} @@ -222,141 +222,142 @@ %% Logos \newcommand{\@EJPLOGO}{% designed by KB. % This version is for bera 10pt (depends on the font via "em" and "ex") - \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 % + \centerline{% + \hbox{% + \vrule height -0.4 pt depth 0.8 pt width 27.7 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 + \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 + }%EJPLOGO \newcommand{\@ECPLOGO}{% designed when Ren\'e Carmona was in charge of ECP \raisebox{0.3cm}{\parbox[t]{1.3in}{\noindent\rule{1.3in}{1.6pt}\\ \textbf{ ELECTRONIC}\\ \textbf{ COMMUNICATIONS}\\ \textbf{ in PROBABILITY}\\ - \rule[.08in]{1.3in}{1.6pt}}} -}%ECPLOGO + \rule[.08in]{1.3in}{1.6pt}}}% + }%ECPLOGO %% Macro handling the first page \newcommand{\FIRSTPAGE}{% \setcounter{page}{\@PAGESTART}% - \title{\small% - \ifx\@EJP\undefined\else% - \@EJPLOGO - \bigskip - \centerline{\@JOURNALA\ \textbf{\@VOLUME} (\@YEAR),\ % - no. \@PAPERNUM, \,\@PAGESTART--\@PAGEEND.} % - \centerline{ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}} % - \ifx\@DOI\undefined\else% - \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% - \fi} % - \bigskip - \bigskip - {\Large\bfseries\@TITLE}% - \fi%EJP - \ifx\@ECP\undefined\else% - \parbox[t]{9cm}{% - \@JOURNALA\ \textbf{\@VOLUME} (\@YEAR), % - no. \@PAPERNUM, \@PAGESTART--\@PAGEEND.\\% - \ifx\@DOI\undefined\else% - \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% - \fi \\ % - ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}} - }% - \hfill - \@ECPLOGO\\ - \bigskip - \bigskip - {\Large\@TITLE}% - \fi%ECP - } % end title - \date{% - \ifx\@DEDICATORY\undefined% - \else% - \noindent% - \emph{\small\sffamily\@DEDICATORY} - \fi% -}% - \maketitle\thispagestyle{empty}% - \begin{abstract}% - \noindent% - \@ABSTRACT\\[1em]% - {\footnotesize% - \textbf{Keywords: }\@KEYWORDS.\par% - \noindent\textbf{AMS MSC 2010: }% - \ifx\@AMSSUBJSECONDARY\undefined% - \noindent% - \@AMSSUBJ.\par% - \else% - \noindent% - Primary \@AMSSUBJ, Secondary \@AMSSUBJSECONDARY.\par% - \fi% - \noindent% - Submitted to \@JOURNAL\ on \@SUBMITTED, % - final version accepted on \@ACCEPTED.\par% - \ifx\@ARXIVID\undefined\else% - \noindent% - Supersedes % - \texttt{\href{http://arXiv.org/abs/\@ARXIVID}{arXiv:\@ARXIVID}}.% - \fi\par% - \ifx\@HALID\undefined\else% - \noindent% - Supersedes % - \texttt{\href{http://hal.archives-ouvertes.fr/\@HALID}{HAL:\@HALID}}.% - \fi\par% - }%footnotesize - \end{abstract} + \title{\small + \ifx\@EJP\undefined\else + \@EJPLOGO + \bigskip + \centerline{\@JOURNALA\ \textbf{\@VOLUME} (\@YEAR),\ + no. \@PAPERNUM, \,\@PAGESTART--\@PAGEEND.}% + \centerline{ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}} % + \ifx\@DOI\undefined\else + \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% + \fi}% + \bigskip + \bigskip + {\Large\bfseries\@TITLE}% + \fi + \ifx\@ECP\undefined + \else + \parbox[t]{9cm}{% + \@JOURNALA\ \textbf{\@VOLUME} (\@YEAR), + no. \@PAPERNUM, \@PAGESTART--\@PAGEEND.\\ + \ifx\@DOI\undefined + \else + \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% + \fi \\ + ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}}% + }% + \hfill + \@ECPLOGO\\ + \bigskip + \bigskip + {\Large\@TITLE}% + \fi + }% end title + \date{% + \ifx\@DEDICATORY\undefined + \else + \noindent + \emph{\small\sffamily\@DEDICATORY}% + \fi}% + \maketitle\thispagestyle{empty}% + \begin{abstract}% + \noindent + \@ABSTRACT\\[1em] + {\footnotesize + \textbf{Keywords: }\@KEYWORDS.\par + \noindent\textbf{AMS MSC 2010: }% + \ifx\@AMSSUBJSECONDARY\undefined + \noindent + \@AMSSUBJ.\par + \else + \noindent + Primary \@AMSSUBJ, Secondary \@AMSSUBJSECONDARY.\par + \fi + \noindent + Submitted to \@JOURNAL\ on \@SUBMITTED, + final version accepted on \@ACCEPTED.\par + \ifx\@ARXIVID\undefined + \else + \noindent + Supersedes + \texttt{\href{http://arXiv.org/abs/\@ARXIVID}{arXiv:\@ARXIVID}}.% + \fi\par + \ifx\@HALID\undefined + \else + \noindent + Supersedes + \texttt{\href{http://hal.archives-ouvertes.fr/\@HALID}{HAL:\@HALID}}.% + \fi\par + }%footnotesize + \end{abstract} + + \smallskip - \smallskip - -}%END-FIRSTPAGE + }%END-FIRSTPAGE %% Macro setting the PDF title \newcommand{\PDFFIELDS}{% - \hypersetup{% - pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, DOI: \@DOI}}% - \hypersetup{pdfkeywords={\@KEYWORDS}}% - \hypersetup{pdfproducer={\@JOURNAL\ Managing Editor http://\@URL/}}% - \hypersetup{pdfcreator={LaTeX with ejpecp.cls v1.0}}% - \hypersetup{pdfsubject={Probability Theory}}% - \hypersetup{pdfauthor={Please see http://dx.doi.org/\@DOI}}% -}%END-PDFFIELDS + \hypersetup{% + pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, DOI: \@DOI}}% + \hypersetup{pdfkeywords={\@KEYWORDS}}% + \hypersetup{pdfproducer={\@JOURNAL\ Managing Editor http://\@URL/}}% + \hypersetup{pdfcreator={LaTeX with ejpecp.cls v1.0}}% + \hypersetup{pdfsubject={Probability Theory}}% + \hypersetup{pdfauthor={Please see http://dx.doi.org/\@DOI}}% + }%END-PDFFIELDS %% Bibliography \def\@MRExtract#1 #2!{#1} % thanks, Martin! @@ -364,81 +365,89 @@ \xdef\@MRSTRIP{\@MRExtract#1 !}% \href{http://www.ams.org/mathscinet-getitem?mr=\@MRSTRIP}{MR-\@MRSTRIP}} \newcommand{\ARXIV}[1]{\href{http://arXiv.org/abs/#1}{arXiv:#1}} -\renewenvironment{thebibliography}[1]{% - \section*{\refname - \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% - \phantomsection% - \addcontentsline{toc}{section}{\refname}% - \list{\@biblabel{\@arabic\c@enumiv}}% - {\settowidth\labelwidth{\@biblabel{#1}}% - \small% - \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} +\renewenvironment{thebibliography}[1] + {% + \section*{\refname + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% + \phantomsection + \addcontentsline{toc}{section}{\refname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \small + \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 + } %% Theorem styles -\ifx\@NOAMS\undefined% - \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') +\ifx\@NOAMS\undefined + \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') \fi %% -\ifx\@NOAMS\undefined\theoremstyle{ejpecpbodyit}\fi% -\newtheorem{theorem}{Theorem}[section]% -\newtheorem{assumptions}[theorem]{Assumptions}% -\newtheorem{assumption}[theorem]{Assumption}% -\newtheorem{claim}[theorem]{Claim}% -\newtheorem{condition}[theorem]{Condition}% -\newtheorem{conjecture}[theorem]{Conjecture}% -\newtheorem{corollary}[theorem]{Corollary}% -\newtheorem{definitions}[theorem]{Definitions}% -\newtheorem{definition}[theorem]{Definition}% -\newtheorem{facts}[theorem]{Facts}% -\newtheorem{fact}[theorem]{Fact}% -\newtheorem{heuristics}[theorem]{Heuristics}% -\newtheorem{hypothesis}[theorem]{Hypothesis}% -\newtheorem{hypotheses}[theorem]{Hypotheses}% -\newtheorem{lemma}[theorem]{Lemma}% -\newtheorem{notations}[theorem]{Notations}% -\newtheorem{notation}[theorem]{Notation}% -\newtheorem{proposition}[theorem]{Proposition}% -\ifx\@NOAMS\undefined\theoremstyle{ejpecpbodyrm}\fi% -\newtheorem{example}[theorem]{Example}% -\newtheorem{exercise}[theorem]{Exercise}% -\newtheorem{problem}[theorem]{Problem}% -\newtheorem{question}[theorem]{Question}% -\newtheorem{remark}[theorem]{Remark}% -%%%% Commands to be executed before \begin{document} +\ifx\@NOAMS\undefined + \theoremstyle{ejpecpbodyit} +\fi +\newtheorem{theorem}{Theorem}[section] +\newtheorem{assumptions}[theorem]{Assumptions} +\newtheorem{assumption}[theorem]{Assumption} +\newtheorem{claim}[theorem]{Claim} +\newtheorem{condition}[theorem]{Condition} +\newtheorem{conjecture}[theorem]{Conjecture} +\newtheorem{corollary}[theorem]{Corollary} +\newtheorem{definitions}[theorem]{Definitions} +\newtheorem{definition}[theorem]{Definition} +\newtheorem{facts}[theorem]{Facts} +\newtheorem{fact}[theorem]{Fact} +\newtheorem{heuristics}[theorem]{Heuristics} +\newtheorem{hypothesis}[theorem]{Hypothesis} +\newtheorem{hypotheses}[theorem]{Hypotheses} +\newtheorem{lemma}[theorem]{Lemma} +\newtheorem{notations}[theorem]{Notations} +\newtheorem{notation}[theorem]{Notation} +\newtheorem{proposition}[theorem]{Proposition} +\ifx\@NOAMS\undefined + \theoremstyle{ejpecpbodyrm} +\fi +\newtheorem{example}[theorem]{Example} +\newtheorem{exercise}[theorem]{Exercise} +\newtheorem{problem}[theorem]{Problem} +\newtheorem{question}[theorem]{Question} +\newtheorem{remark}[theorem]{Remark} %% Numbering -\ifx\@NOAMS\undefined\numberwithin{equation}{section}\fi +\ifx\@NOAMS\undefined + \numberwithin{equation}{section} +\fi %% Itemize and enumerate for bera \newcommand{\@reduceitemsep}{\addtolength{\itemsep}{-0.5\baselineskip}} \let\OLD@itemize\itemize @@ -446,42 +455,40 @@ \let\OLD@enumerate\enumerate \renewcommand\enumerate{\OLD@enumerate\@reduceitemsep} %% Replace \mathbb by \mathds except if we require the contrary -\ifx\@NODS\undefined% -\let\realmathbb=\mathbb -\let\mathbb=\mathds -\else% +\ifx\@NODS\undefined + \let\realmathbb=\mathbb + \let\mathbb=\mathds \fi %% Headings \newcommand{\@HBLOB}{% \href{http://dx.doi.org/\@DOI}% - {\@JOURNAL\ \textbf{\@VOLUME}\, (\@YEAR),\ paper \@PAPERNUM.}}% -\renewcommand{\@evenfoot}% -{\normalfont\footnotesize\@HBLOB\hfil% - \small\raisebox{-1em}{Page \thepage/\@PAGEEND}\hfil% - \footnotesize\href{http://\@URL/}{\@URL}} + {\@JOURNAL\ \textbf{\@VOLUME}\, (\@YEAR),\ paper \@PAPERNUM.}} +\renewcommand{\@evenfoot}{% + \normalfont\footnotesize\@HBLOB\hfil + \small\raisebox{-1em}{Page \thepage/\@PAGEEND}\hfil + \footnotesize\href{http://\@URL/}{http://\@URL/}} \renewcommand{\@oddfoot}{\@evenfoot} \renewcommand{\@evenhead}{\hfil\@SHORTTITLE\hfil} \renewcommand{\@oddhead}{\@evenhead} %% smaller sections titles -\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 -} +\renewcommand{\section}{% + \@startsection + {section} + {1} + {0em} + {\baselineskip} + {0.5\baselineskip} + {\normalfont\large\bfseries}} +\renewcommand{\subsection}{% + \@startsection + {subsection} + {2} + {0em} + {\baselineskip} + {0.25\baselineskip} + {\normalfont\bfseries}} %% Macros -%%%% Commands to be executed just after \begin{document} \AtBeginDocument{\FIRSTPAGE\PDFFIELDS} -%%%% Commands to be executed just before \end{document} \AtEndDocument{\vfill} % \end{macrocode} % \Finale diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins b/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins index 769e6e125a7..95cbd73dc47 100644 --- a/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins +++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins @@ -1,4 +1,5 @@ %% +%% Copyright (c) 2016 by Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP %% Copyright (c), 2011-2015 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP %% %% This file may be distributed and/or modified under the conditions of @@ -21,6 +22,7 @@ This is a generated file. +Copyright (c) 2016 by Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP Copyright (c), 2011-2015 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP This file may be distributed and/or modified under the conditions of diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls index bb0965500ed..7827c9c61dd 100644 --- a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls +++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls @@ -8,6 +8,7 @@ %% %% This is a generated file. %% +%% Copyright (c) 2016 by Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP %% Copyright (c), 2011-2015 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP %% %% This file may be distributed and/or modified under the conditions of @@ -22,7 +23,8 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ejpecp} - [2015/12/23 v1.2 .dtx ejpecp file] + [2016/02/23 v1.3 .dtx ejpecp file] +\ClassInfo{ejpecp}{Copyright (c) 2016 Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP.} \ClassInfo{ejpecp}{Copyright (c), 2011-2015 BURDZY and CHAFAI for EJP-ECP.} %% We declare and handle our class options \DeclareOption{EJP}{% @@ -31,68 +33,69 @@ \newcommand{\@JOURNALA}{Electron. J. Probab.} \newcommand{\@JOURNALL}{Electronic Journal of Probability} \newcommand{\@ISSN}{1083-6489} - \newcommand{\@URL}{ejp.ejpecp.org} -} + \newcommand{\@URL}{www.imstat.org/ejp} + } \DeclareOption{ECP}{% \newcommand{\@ECP}{} \newcommand{\@JOURNAL}{ECP} \newcommand{\@JOURNALA}{Electron. Commun. Probab.} \newcommand{\@JOURNALL}{Electronic Communications in Probability} \newcommand{\@ISSN}{1083-589X} - \newcommand{\@URL}{ecp.ejpecp.org} -} + \newcommand{\@URL}{www.imstat.org/ecp} + } \DeclareOption{NOAMS}{% prevents the load of AMS packages \newcommand{\@NOAMS}{} -} + } \DeclareOption{NODS}{% asks to avoid renaming \mathbb into \mathds \newcommand{\@NODS}{} -} + } \DeclareOption{PSTRICKS}{% pstricks and pspicture. % File must be compiled with "latex --shell-escape", then use dvipdf \newcommand{\@PSTRICKS}{} -} + } \DeclareOption{draft}{% - \PassOptionsToClass{draft}{article} -} + \PassOptionsToClass{draft}{article} + } \DeclareOption{final}{% - \PassOptionsToClass{final}{article} -} + \PassOptionsToClass{final}{article} + } \DeclareOption*{% \PackageWarning{ejpecp}{Unknown option ‘\CurrentOption’}% -} + } \ProcessOptions\relax %% We use the standard article class \LoadClass[a4paper,10pt,twoside]{article} %% Packages and their options -\ifx\@PSTRICKS\undefined% -\RequirePackage[pdftex]{graphicx} -\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG} -\else% -\RequirePackage{graphicx} -\RequirePackage[pdf]{pstricks} -\RequirePackage{auto-pst-pdf} +\ifx\@PSTRICKS\undefined + \RequirePackage[pdftex]{graphicx} + \DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG} +\else + \RequirePackage{graphicx} + \RequirePackage[pdf]{pstricks} + \RequirePackage{auto-pst-pdf} \fi \RequirePackage{mathtools} \RequirePackage{fixltx2e} \RequirePackage{microtype} \RequirePackage{lastpage} \RequirePackage{latexsym} -\ifx\@NODS\undefined\RequirePackage{dsfont}\fi -\ifx\@NOAMS\undefined\RequirePackage{amsmath,amsfonts,amssymb,amsthm}\fi +\ifx\@NODS\undefined + \RequirePackage{dsfont} +\fi +\ifx\@NOAMS\undefined + \RequirePackage{amsmath,amsfonts,amssymb,amsthm} +\fi \RequirePackage{geometry} \geometry{a4paper,portrait,left=3.5cm,right=3.5cm,top=3.5cm,bottom=3.5cm} \RequirePackage{bera} % beware that the logo is sensitive to default font change -%%\RequirePackage[expert]{lucbmath} % Y&Y's Lucida cf. doc/fonts/bera/bera.txt -%%\def\DeclareLucidaFontShape#1#2#3#4#5#6{% -%%\DeclareFontShape{#1}{#2}{#3}{#4}{<->s*[0.90]#5}{#6}} -\ifx\@PSTRICKS\undefined% -\RequirePackage[pdftex,pagebackref=false]{hyperref} -\else% -\RequirePackage[pagebackref=false]{hyperref} -\fi% +\IfFileExists{ejpecp-hook.sty}{\RequirePackage{ejpecp-hook}}{} +\ifx\@PSTRICKS\undefined + \RequirePackage[pdftex,pagebackref=false]{hyperref} +\else + \RequirePackage[pagebackref=false]{hyperref} +\fi \hypersetup{pdfborder=0 0 0} \hypersetup{pdfstartview={FitH}} -%% PDF level and compression % it is actually better to do it externally %%%% Macros et Environments %% General macros \newcommand{\@TITLE}{FIXME!} @@ -118,11 +121,11 @@ \newcommand{\VOLUME}[1]{\renewcommand{\@VOLUME}{#1}} \newcommand{\PAPERNUM}[1]{\renewcommand{\@PAPERNUM}{#1}} \newcommand{\YEAR}[1]{\renewcommand{\@YEAR}{#1}} -\newcommand{\PAGESTART}[1]{\renewcommand{\@PAGESTART}{#1}} % unused -\newcommand{\PAGEEND}[1]{\renewcommand{\@PAGEEND}{#1}} % unused +\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{10.1214/\@JOURNAL.#1}} +\newcommand{\DOI}[1]{\gdef\@DOI{#1}} \newcommand{\ARXIVID}[1]{\gdef\@ARXIVID{#1}} \newcommand{\HALID}[1]{\gdef\@HALID{#1}} \newcommand{\ACKNO}[1]{\noindent\textbf{Acknowledgments.} #1} @@ -131,141 +134,142 @@ %% Logos \newcommand{\@EJPLOGO}{% designed by KB. % This version is for bera 10pt (depends on the font via "em" and "ex") - \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 % + \centerline{% + \hbox{% + \vrule height -0.4 pt depth 0.8 pt width 27.7 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 + \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 + }%EJPLOGO \newcommand{\@ECPLOGO}{% designed when Ren\'e Carmona was in charge of ECP \raisebox{0.3cm}{\parbox[t]{1.3in}{\noindent\rule{1.3in}{1.6pt}\\ \textbf{ ELECTRONIC}\\ \textbf{ COMMUNICATIONS}\\ \textbf{ in PROBABILITY}\\ - \rule[.08in]{1.3in}{1.6pt}}} -}%ECPLOGO + \rule[.08in]{1.3in}{1.6pt}}}% + }%ECPLOGO %% Macro handling the first page \newcommand{\FIRSTPAGE}{% \setcounter{page}{\@PAGESTART}% - \title{\small% - \ifx\@EJP\undefined\else% - \@EJPLOGO - \bigskip - \centerline{\@JOURNALA\ \textbf{\@VOLUME} (\@YEAR),\ % - no. \@PAPERNUM, \,\@PAGESTART--\@PAGEEND.} % - \centerline{ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}} % - \ifx\@DOI\undefined\else% - \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% - \fi} % - \bigskip - \bigskip - {\Large\bfseries\@TITLE}% - \fi%EJP - \ifx\@ECP\undefined\else% - \parbox[t]{9cm}{% - \@JOURNALA\ \textbf{\@VOLUME} (\@YEAR), % - no. \@PAPERNUM, \@PAGESTART--\@PAGEEND.\\% - \ifx\@DOI\undefined\else% - \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% - \fi \\ % - ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}} - }% - \hfill - \@ECPLOGO\\ - \bigskip - \bigskip - {\Large\@TITLE}% - \fi%ECP - } % end title - \date{% - \ifx\@DEDICATORY\undefined% - \else% - \noindent% - \emph{\small\sffamily\@DEDICATORY} - \fi% -}% - \maketitle\thispagestyle{empty}% - \begin{abstract}% - \noindent% - \@ABSTRACT\\[1em]% - {\footnotesize% - \textbf{Keywords: }\@KEYWORDS.\par% - \noindent\textbf{AMS MSC 2010: }% - \ifx\@AMSSUBJSECONDARY\undefined% - \noindent% - \@AMSSUBJ.\par% - \else% - \noindent% - Primary \@AMSSUBJ, Secondary \@AMSSUBJSECONDARY.\par% - \fi% - \noindent% - Submitted to \@JOURNAL\ on \@SUBMITTED, % - final version accepted on \@ACCEPTED.\par% - \ifx\@ARXIVID\undefined\else% - \noindent% - Supersedes % - \texttt{\href{http://arXiv.org/abs/\@ARXIVID}{arXiv:\@ARXIVID}}.% - \fi\par% - \ifx\@HALID\undefined\else% - \noindent% - Supersedes % - \texttt{\href{http://hal.archives-ouvertes.fr/\@HALID}{HAL:\@HALID}}.% - \fi\par% - }%footnotesize - \end{abstract} + \title{\small + \ifx\@EJP\undefined\else + \@EJPLOGO + \bigskip + \centerline{\@JOURNALA\ \textbf{\@VOLUME} (\@YEAR),\ + no. \@PAPERNUM, \,\@PAGESTART--\@PAGEEND.}% + \centerline{ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}} % + \ifx\@DOI\undefined\else + \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% + \fi}% + \bigskip + \bigskip + {\Large\bfseries\@TITLE}% + \fi + \ifx\@ECP\undefined + \else + \parbox[t]{9cm}{% + \@JOURNALA\ \textbf{\@VOLUME} (\@YEAR), + no. \@PAPERNUM, \@PAGESTART--\@PAGEEND.\\ + \ifx\@DOI\undefined + \else + \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% + \fi \\ + ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}}% + }% + \hfill + \@ECPLOGO\\ + \bigskip + \bigskip + {\Large\@TITLE}% + \fi + }% end title + \date{% + \ifx\@DEDICATORY\undefined + \else + \noindent + \emph{\small\sffamily\@DEDICATORY}% + \fi}% + \maketitle\thispagestyle{empty}% + \begin{abstract}% + \noindent + \@ABSTRACT\\[1em] + {\footnotesize + \textbf{Keywords: }\@KEYWORDS.\par + \noindent\textbf{AMS MSC 2010: }% + \ifx\@AMSSUBJSECONDARY\undefined + \noindent + \@AMSSUBJ.\par + \else + \noindent + Primary \@AMSSUBJ, Secondary \@AMSSUBJSECONDARY.\par + \fi + \noindent + Submitted to \@JOURNAL\ on \@SUBMITTED, + final version accepted on \@ACCEPTED.\par + \ifx\@ARXIVID\undefined + \else + \noindent + Supersedes + \texttt{\href{http://arXiv.org/abs/\@ARXIVID}{arXiv:\@ARXIVID}}.% + \fi\par + \ifx\@HALID\undefined + \else + \noindent + Supersedes + \texttt{\href{http://hal.archives-ouvertes.fr/\@HALID}{HAL:\@HALID}}.% + \fi\par + }%footnotesize + \end{abstract} - \smallskip + \smallskip -}%END-FIRSTPAGE + }%END-FIRSTPAGE %% Macro setting the PDF title \newcommand{\PDFFIELDS}{% - \hypersetup{% - pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, DOI: \@DOI}}% - \hypersetup{pdfkeywords={\@KEYWORDS}}% - \hypersetup{pdfproducer={\@JOURNAL\ Managing Editor http://\@URL/}}% - \hypersetup{pdfcreator={LaTeX with ejpecp.cls v1.0}}% - \hypersetup{pdfsubject={Probability Theory}}% - \hypersetup{pdfauthor={Please see http://dx.doi.org/\@DOI}}% -}%END-PDFFIELDS + \hypersetup{% + pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, DOI: \@DOI}}% + \hypersetup{pdfkeywords={\@KEYWORDS}}% + \hypersetup{pdfproducer={\@JOURNAL\ Managing Editor http://\@URL/}}% + \hypersetup{pdfcreator={LaTeX with ejpecp.cls v1.0}}% + \hypersetup{pdfsubject={Probability Theory}}% + \hypersetup{pdfauthor={Please see http://dx.doi.org/\@DOI}}% + }%END-PDFFIELDS %% Bibliography \def\@MRExtract#1 #2!{#1} % thanks, Martin! @@ -273,81 +277,89 @@ \xdef\@MRSTRIP{\@MRExtract#1 !}% \href{http://www.ams.org/mathscinet-getitem?mr=\@MRSTRIP}{MR-\@MRSTRIP}} \newcommand{\ARXIV}[1]{\href{http://arXiv.org/abs/#1}{arXiv:#1}} -\renewenvironment{thebibliography}[1]{% - \section*{\refname - \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% - \phantomsection% - \addcontentsline{toc}{section}{\refname}% - \list{\@biblabel{\@arabic\c@enumiv}}% - {\settowidth\labelwidth{\@biblabel{#1}}% - \small% - \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} +\renewenvironment{thebibliography}[1] + {% + \section*{\refname + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% + \phantomsection + \addcontentsline{toc}{section}{\refname}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \small + \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 + } %% Theorem styles -\ifx\@NOAMS\undefined% - \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') +\ifx\@NOAMS\undefined + \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') \fi %% -\ifx\@NOAMS\undefined\theoremstyle{ejpecpbodyit}\fi% -\newtheorem{theorem}{Theorem}[section]% -\newtheorem{assumptions}[theorem]{Assumptions}% -\newtheorem{assumption}[theorem]{Assumption}% -\newtheorem{claim}[theorem]{Claim}% -\newtheorem{condition}[theorem]{Condition}% -\newtheorem{conjecture}[theorem]{Conjecture}% -\newtheorem{corollary}[theorem]{Corollary}% -\newtheorem{definitions}[theorem]{Definitions}% -\newtheorem{definition}[theorem]{Definition}% -\newtheorem{facts}[theorem]{Facts}% -\newtheorem{fact}[theorem]{Fact}% -\newtheorem{heuristics}[theorem]{Heuristics}% -\newtheorem{hypothesis}[theorem]{Hypothesis}% -\newtheorem{hypotheses}[theorem]{Hypotheses}% -\newtheorem{lemma}[theorem]{Lemma}% -\newtheorem{notations}[theorem]{Notations}% -\newtheorem{notation}[theorem]{Notation}% -\newtheorem{proposition}[theorem]{Proposition}% -\ifx\@NOAMS\undefined\theoremstyle{ejpecpbodyrm}\fi% -\newtheorem{example}[theorem]{Example}% -\newtheorem{exercise}[theorem]{Exercise}% -\newtheorem{problem}[theorem]{Problem}% -\newtheorem{question}[theorem]{Question}% -\newtheorem{remark}[theorem]{Remark}% -%%%% Commands to be executed before \begin{document} +\ifx\@NOAMS\undefined + \theoremstyle{ejpecpbodyit} +\fi +\newtheorem{theorem}{Theorem}[section] +\newtheorem{assumptions}[theorem]{Assumptions} +\newtheorem{assumption}[theorem]{Assumption} +\newtheorem{claim}[theorem]{Claim} +\newtheorem{condition}[theorem]{Condition} +\newtheorem{conjecture}[theorem]{Conjecture} +\newtheorem{corollary}[theorem]{Corollary} +\newtheorem{definitions}[theorem]{Definitions} +\newtheorem{definition}[theorem]{Definition} +\newtheorem{facts}[theorem]{Facts} +\newtheorem{fact}[theorem]{Fact} +\newtheorem{heuristics}[theorem]{Heuristics} +\newtheorem{hypothesis}[theorem]{Hypothesis} +\newtheorem{hypotheses}[theorem]{Hypotheses} +\newtheorem{lemma}[theorem]{Lemma} +\newtheorem{notations}[theorem]{Notations} +\newtheorem{notation}[theorem]{Notation} +\newtheorem{proposition}[theorem]{Proposition} +\ifx\@NOAMS\undefined + \theoremstyle{ejpecpbodyrm} +\fi +\newtheorem{example}[theorem]{Example} +\newtheorem{exercise}[theorem]{Exercise} +\newtheorem{problem}[theorem]{Problem} +\newtheorem{question}[theorem]{Question} +\newtheorem{remark}[theorem]{Remark} %% Numbering -\ifx\@NOAMS\undefined\numberwithin{equation}{section}\fi +\ifx\@NOAMS\undefined + \numberwithin{equation}{section} +\fi %% Itemize and enumerate for bera \newcommand{\@reduceitemsep}{\addtolength{\itemsep}{-0.5\baselineskip}} \let\OLD@itemize\itemize @@ -355,42 +367,40 @@ \let\OLD@enumerate\enumerate \renewcommand\enumerate{\OLD@enumerate\@reduceitemsep} %% Replace \mathbb by \mathds except if we require the contrary -\ifx\@NODS\undefined% -\let\realmathbb=\mathbb -\let\mathbb=\mathds -\else% +\ifx\@NODS\undefined + \let\realmathbb=\mathbb + \let\mathbb=\mathds \fi %% Headings \newcommand{\@HBLOB}{% \href{http://dx.doi.org/\@DOI}% - {\@JOURNAL\ \textbf{\@VOLUME}\, (\@YEAR),\ paper \@PAPERNUM.}}% -\renewcommand{\@evenfoot}% -{\normalfont\footnotesize\@HBLOB\hfil% - \small\raisebox{-1em}{Page \thepage/\@PAGEEND}\hfil% - \footnotesize\href{http://\@URL/}{\@URL}} + {\@JOURNAL\ \textbf{\@VOLUME}\, (\@YEAR),\ paper \@PAPERNUM.}} +\renewcommand{\@evenfoot}{% + \normalfont\footnotesize\@HBLOB\hfil + \small\raisebox{-1em}{Page \thepage/\@PAGEEND}\hfil + \footnotesize\href{http://\@URL/}{http://\@URL/}} \renewcommand{\@oddfoot}{\@evenfoot} \renewcommand{\@evenhead}{\hfil\@SHORTTITLE\hfil} \renewcommand{\@oddhead}{\@evenhead} %% smaller sections titles -\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 -} +\renewcommand{\section}{% + \@startsection + {section} + {1} + {0em} + {\baselineskip} + {0.5\baselineskip} + {\normalfont\large\bfseries}} +\renewcommand{\subsection}{% + \@startsection + {subsection} + {2} + {0em} + {\baselineskip} + {0.25\baselineskip} + {\normalfont\bfseries}} %% Macros -%%%% Commands to be executed just after \begin{document} \AtBeginDocument{\FIRSTPAGE\PDFFIELDS} -%%%% Commands to be executed just before \end{document} \AtEndDocument{\vfill} \endinput %% -- cgit v1.2.3