summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ejpecp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-12-15 02:02:01 +0000
committerKarl Berry <karl@freefriends.org>2011-12-15 02:02:01 +0000
commitb554526dd34e1597e4fd49148ace4a911c6dc9e3 (patch)
treeda9f09bd18604e2aed9337afdec398102bd45017 /Master/texmf-dist/tex/latex/ejpecp
parent45b9ab369ae1508758c6596c963db163fbb9700a (diff)
ejpecp (13dec11)
git-svn-id: svn://tug.org/texlive/trunk@24846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ejpecp')
-rw-r--r--Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls23
1 files changed, 13 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
index 49b5a077ae9..eae0fd8a7df 100644
--- a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
+++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
@@ -22,23 +22,23 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ejpecp}
- [2011/12/01 v0.57 .dtx ejpecp file]
+ [2011/12/12 v0.57 .dtx ejpecp file]
\ClassInfo{ejpecp}{Copyright (c) BURDZY and CHAFAI for EJP-ECP, 2011.}
%% We declare and handle our class options
\DeclareOption{EJP}{%
\makeatletter
+ \newcommand{\@EJP}{}
\newcommand{\@JOURNAL}{EJP}
\newcommand{\@JOURNALL}{Electronic Journal of Probability}
- \newcommand{\@EJP}{}
\newcommand{\@ISSN}{1083-6489}
\newcommand{\@URL}{ejp.ejpecp.org}
\makeatother
}
\DeclareOption{ECP}{%
\makeatletter
+ \newcommand{\@ECP}{}
\newcommand{\@JOURNAL}{ECP}
\newcommand{\@JOURNALL}{Electronic Communications in Probability}
- \newcommand{\@ECP}{}
\newcommand{\@ISSN}{1083-589X}
\newcommand{\@URL}{ecp.ejpecp.org}
\makeatother
@@ -61,7 +61,6 @@
%% We use the standard article class
\LoadClass[a4paper,10pt,twoside]{article}
%% 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}
@@ -87,7 +86,6 @@
\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}}
@@ -103,6 +101,7 @@
\newcommand{\ACCEPTED}[1]{\renewcommand{\@ACCEPTED}{#1}}
\newcommand{\DOI}[1]{\gdef\@DOI{10.1214/\@JOURNAL.#1}}
\newcommand{\ARXIVID}[1]{\gdef\@ARXIVID{#1}}
+\newcommand{\ACKNO}[1]{\noindent\textbf{Acknowledgments.} #1}
\makeatother
%% Logos
\makeatletter
@@ -173,7 +172,7 @@
Paper no. \@PAPERNUM, pages \,\@PAGESTART--\@PAGEEND.}
\bigskip
\bigskip
- {\Large\bfseries\@TITLE}\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi
+ {\Large\bfseries\@TITLE}%\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi
\fi%EJP
\ifx\@ECP\undefined\else%
\emph{Elect. Comm. in Probab.}
@@ -182,7 +181,7 @@
\@ECPLOGO\\
\bigskip
\bigskip
- {\Large\@TITLE\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi}
+ {\Large\@TITLE}%\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi
\fi%ECP
} % end title
\date{}%
@@ -219,9 +218,9 @@
\makeatother
%% Bibliography
\makeatletter
+\def\@MRExtract#1 #2!{#1} % thanks, Martin!
\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!
+ \xdef\@MRSTRIP{\@MRExtract#1 !}%
\href{http://www.ams.org/mathscinet-getitem?mr=\@MRSTRIP}{MR-\@MRSTRIP}}
\makeatother
\newcommand{\ARXIV}[1]{\href{http://arXiv.org/abs/#1}{arXiv:#1}}
@@ -300,7 +299,11 @@
\makeatother
%% Replace \mathbb by \mathds except if we require the contrary
\makeatletter
-\ifx\@NODS\undefined\let\mathbb=\mathds\else\fi
+\ifx\@NODS\undefined%
+\let\realmathbb=\mathbb
+\let\mathbb=\mathds
+\else%
+\fi
\makeatother
%% Headings
\makeatletter