diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-30 23:02:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-30 23:02:49 +0000 |
commit | 6975cb301d2e0be4f88a85bed1b3cebd3367e9f9 (patch) | |
tree | 4a8a1ba5f9821720b00c988c3b22c6b23aeef380 /Master/texmf-dist/source | |
parent | 3befc460d3ea88fd2fba7e231a63bf44b365320f (diff) |
ejpecp (30mar15)
git-svn-id: svn://tug.org/texlive/trunk@36678 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx | 63 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ejpecp/ejpecp.ins | 4 |
2 files changed, 25 insertions, 42 deletions
diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx index 68b41d0e3d6..a1b9ded8a23 100644 --- a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx +++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C), 2011, 2012 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 @@ -23,9 +23,9 @@ %<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<class>\ProvidesClass{ejpecp} %<*class> - [2012/12/12 v1.0 .dtx ejpecp file] + [2014/12/13 v1.1 .dtx ejpecp file] %</class> -%<class>\ClassInfo{ejpecp}{Copyright (c), 2011, 2012, BURDZY and CHAFAI for EJP-ECP.} +%<class>\ClassInfo{ejpecp}{Copyright (c), 2011, 2012, 2014 BURDZY and CHAFAI for EJP-ECP.} % %<*driver> \documentclass[10pt]{ltxdoc} @@ -41,7 +41,7 @@ %</driver> % \fi % -% \CheckSum{736} +% \CheckSum{721} % % \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 @@ -66,6 +66,7 @@ % \changes{v0.57721}{2012/01/09}{Improvements, see the README file.} % \changes{v0.577215}{2012/01/09}{Improvements, see the README file.} % \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.} % \GetFileInfo{ejpecp.dtx} % % \DoNotIndex{\newcommand,\newenvironment} @@ -109,34 +110,30 @@ % \begin{macrocode} %% 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} @@ -152,14 +149,21 @@ %% 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{charter} % Ph. Carmona @@ -167,7 +171,11 @@ %%\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 \hypersetup{pdfborder=0 0 0} \hypersetup{pdfstartview={FitH}} @@ -177,7 +185,6 @@ %\pdfobjcompresslevel=3 %%%% Macros et Environments %% General macros -\makeatletter% \newcommand{\@TITLE}{FIXME!} \newcommand{\@SHORTTITLE}{FIXME!} \newcommand{\@KEYWORDS}{FIXME!} @@ -208,13 +215,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 {% @@ -269,9 +273,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% @@ -344,9 +346,7 @@ \smallskip }%END-FIRSTPAGE -\makeatother %% Macro setting the PDF title -\makeatletter \newcommand{\PDFFIELDS}{% \hypersetup{% pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, DOI: \@DOI}}% @@ -356,17 +356,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}}% @@ -388,9 +384,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 @@ -415,7 +409,6 @@ % \newline = linebreak {}% Thm head spec (can be left empty, meaning `normal') \fi -\makeatother %% \ifx\@NOAMS\undefined\theoremstyle{ejpecpbodyit}\fi% \newtheorem{theorem}{Theorem}[section]% @@ -444,27 +437,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.}}% @@ -475,9 +461,7 @@ \renewcommand{\@oddfoot}{\@evenfoot} \renewcommand{\@evenhead}{\hfil\@SHORTTITLE\hfil} \renewcommand{\@oddhead}{\@evenhead} -\makeatother %% smaller sections titles -\makeatletter \renewcommand{\section}{\@startsection% {section}% % name {1}% % level @@ -493,7 +477,6 @@ {0.25\baselineskip}% % afterskip {\normalfont\bfseries}% % style } -\makeatother %% Macros %%%% Commands to be executed just after \begin{document} \AtBeginDocument{\FIRSTPAGE\PDFFIELDS} diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins b/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins index 56e5fea2f7e..73aab1d4079 100644 --- a/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins +++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.ins @@ -1,5 +1,5 @@ %% -%% 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 @@ -21,7 +21,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 |