summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ejpecp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-30 23:02:49 +0000
committerKarl Berry <karl@freefriends.org>2015-03-30 23:02:49 +0000
commit6975cb301d2e0be4f88a85bed1b3cebd3367e9f9 (patch)
tree4a8a1ba5f9821720b00c988c3b22c6b23aeef380 /Master/texmf-dist/tex/latex/ejpecp
parent3befc460d3ea88fd2fba7e231a63bf44b365320f (diff)
ejpecp (30mar15)
git-svn-id: svn://tug.org/texlive/trunk@36678 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ejpecp')
-rw-r--r--Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls60
1 files changed, 21 insertions, 39 deletions
diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
index a4156da0816..ba17d534058 100644
--- a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
+++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (c), 2011 by Krzysztof BURDZY and Djalil CHAFAI for EJP-ECP
+%% Copyright (c), 2011, 2012, 2014 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
@@ -22,38 +22,34 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ejpecp}
- [2012/12/12 v1.0 .dtx ejpecp file]
-\ClassInfo{ejpecp}{Copyright (c), 2011, 2012, BURDZY and CHAFAI for EJP-ECP.}
+ [2014/12/13 v1.1 .dtx ejpecp file]
+\ClassInfo{ejpecp}{Copyright (c), 2011, 2012, 2014 BURDZY and CHAFAI for EJP-ECP.}
%% We declare and handle our class options
\DeclareOption{EJP}{%
- \makeatletter
\newcommand{\@EJP}{}
\newcommand{\@JOURNAL}{EJP}
\newcommand{\@JOURNALA}{Electron. J. Probab.}
\newcommand{\@JOURNALL}{Electronic Journal of Probability}
\newcommand{\@ISSN}{1083-6489}
\newcommand{\@URL}{ejp.ejpecp.org}
- \makeatother
}
\DeclareOption{ECP}{%
- \makeatletter
\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}
- \makeatother
}
\DeclareOption{NOAMS}{% prevents the load of AMS packages
- \makeatletter
\newcommand{\@NOAMS}{}
- \makeatother
}
\DeclareOption{NODS}{% asks to avoid renaming \mathbb into \mathds
- \makeatletter
\newcommand{\@NODS}{}
- \makeatother
+}
+\DeclareOption{PSTRICKS}{% pstricks and pspicture.
+ % File must be compiled with "latex --shell-escape", then use dvipdf
+ \newcommand{\@PSTRICKS}{}
}
\DeclareOption{draft}{%
\PassOptionsToClass{draft}{article}
@@ -68,27 +64,37 @@
%% 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}
+\fi
+\RequirePackage{mathtools}
+\RequirePackage{fixltx2e}
+\RequirePackage{microtype}
\RequirePackage{lastpage}
\RequirePackage{latexsym}
-\makeatletter
\ifx\@NODS\undefined\RequirePackage{dsfont}\fi
\ifx\@NOAMS\undefined\RequirePackage{amsmath,amsfonts,amssymb,amsthm}\fi
-\makeatother
\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%
\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
-\makeatletter%
\newcommand{\@TITLE}{FIXME!}
\newcommand{\@SHORTTITLE}{FIXME!}
\newcommand{\@KEYWORDS}{FIXME!}
@@ -119,13 +125,10 @@
\newcommand{\DOI}[1]{\gdef\@DOI{10.1214/\@JOURNAL.#1}}
\newcommand{\ARXIVID}[1]{\gdef\@ARXIVID{#1}}
\newcommand{\HALID}[1]{\gdef\@HALID{#1}}
-\newcommand{\ARXIVPASSWORD}[1]{}
\newcommand{\ACKNO}[1]{\noindent\textbf{Acknowledgments.} #1}
-\newcommand{\EMAIL}[1]{E-mail:~\texttt{\href{mailto:#1}{#1}}}
+\def\EMAIL#1{E-mail:~\texttt{\href{mailto:#1}{\nolinkurl{#1}}}}
\newcommand{\BEMAIL}[1]{\newline\hspace*{1.8em}\EMAIL{#1}} % useful in ftnotes
-\makeatother
%% Logos
-\makeatletter
\newcommand{\@EJPLOGO}{% designed by KB.
% This version is for bera 10pt (depends on the font via "em" and "ex")
\centerline {%
@@ -180,9 +183,7 @@
\textbf{ in PROBABILITY}\\
\rule[.08in]{1.3in}{1.6pt}}}
}%ECPLOGO
-\makeatother
%% Macro handling the first page
-\makeatletter
\newcommand{\FIRSTPAGE}{%
\setcounter{page}{\@PAGESTART}%
\title{\small%
@@ -255,9 +256,7 @@
\smallskip
}%END-FIRSTPAGE
-\makeatother
%% Macro setting the PDF title
-\makeatletter
\newcommand{\PDFFIELDS}{%
\hypersetup{%
pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, DOI: \@DOI}}%
@@ -267,17 +266,13 @@
\hypersetup{pdfsubject={Probability Theory}}%
\hypersetup{pdfauthor={Please see http://dx.doi.org/\@DOI}}%
}%END-PDFFIELDS
-\makeatother
%% Bibliography
-\makeatletter
\def\@MRExtract#1 #2!{#1} % thanks, Martin!
\newcommand{\MR}[1]{% we need to strip the "(...)"
\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}}
-\makeatletter
\renewenvironment{thebibliography}[1]{%
\section*{\refname
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
@@ -299,9 +294,7 @@
\def\@noitemerr{%
\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
-\makeatother
%% Theorem styles
-\makeatletter
\ifx\@NOAMS\undefined%
\newtheoremstyle{ejpecpbodyit}% name % cf. thmtest.tex of AMSLaTeX
{3pt}% Space above
@@ -326,7 +319,6 @@
% \newline = linebreak
{}% Thm head spec (can be left empty, meaning `normal')
\fi
-\makeatother
%%
\ifx\@NOAMS\undefined\theoremstyle{ejpecpbodyit}\fi%
\newtheorem{theorem}{Theorem}[section]%
@@ -355,27 +347,20 @@
\newtheorem{remark}[theorem]{Remark}%
%%%% Commands to be executed before \begin{document}
%% Numbering
-\makeatletter
\ifx\@NOAMS\undefined\numberwithin{equation}{section}\fi
-\makeatother
%% Itemize and enumerate for bera
-\makeatletter
\newcommand{\@reduceitemsep}{\addtolength{\itemsep}{-0.5\baselineskip}}
\let\OLD@itemize\itemize
\renewcommand\itemize{\OLD@itemize\@reduceitemsep}
\let\OLD@enumerate\enumerate
\renewcommand\enumerate{\OLD@enumerate\@reduceitemsep}
-\makeatother
%% Replace \mathbb by \mathds except if we require the contrary
-\makeatletter
\ifx\@NODS\undefined%
\let\realmathbb=\mathbb
\let\mathbb=\mathds
\else%
\fi
-\makeatother
%% Headings
-\makeatletter
\newcommand{\@HBLOB}{%
\href{http://dx.doi.org/\@DOI}%
{\@JOURNAL\ \textbf{\@VOLUME}\, (\@YEAR),\ paper \@PAPERNUM.}}%
@@ -386,9 +371,7 @@
\renewcommand{\@oddfoot}{\@evenfoot}
\renewcommand{\@evenhead}{\hfil\@SHORTTITLE\hfil}
\renewcommand{\@oddhead}{\@evenhead}
-\makeatother
%% smaller sections titles
-\makeatletter
\renewcommand{\section}{\@startsection%
{section}% % name
{1}% % level
@@ -404,7 +387,6 @@
{0.25\baselineskip}% % afterskip
{\normalfont\bfseries}% % style
}
-\makeatother
%% Macros
%%%% Commands to be executed just after \begin{document}
\AtBeginDocument{\FIRSTPAGE\PDFFIELDS}