summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ejpecp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-22 20:46:30 +0000
committerKarl Berry <karl@freefriends.org>2020-10-22 20:46:30 +0000
commit863ece2e5e2f65249d3b326f6a085fb181cd7420 (patch)
tree8dfd5dc5f4f6868c1fca58104e349a792fd989e7 /Master/texmf-dist/tex/latex/ejpecp
parent91311b95efbf7449c406dd12befbcc3478f805c7 (diff)
ejpecp (22oct20)
git-svn-id: svn://tug.org/texlive/trunk@56728 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ejpecp')
-rw-r--r--Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls22
1 files changed, 21 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
index c4abe63820a..ecc7370682f 100644
--- a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
+++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ejpecp}
- [2020/08/26 v1.8.3 class for EJP and ECP journals]
+ [2020/10/21 v1.9.0 class for EJP and ECP journals]
\ClassInfo{ejpecp}{Copyright (c) 2019-2020 Edgaras SAKURAS, VTeX, Lithuania.}
\ClassInfo{ejpecp}{Copyright (c) 2018 Deimantas GALCIUS, VTeX, Lithuania.}
\ClassInfo{ejpecp}{Copyright (c) 2016-2017 Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP.}
@@ -284,6 +284,26 @@
\hypersetup{pdfauthor={Please see \@doiprefix\@DOI}}%
}%END-PDFFIELDS
+%% Supplement
+\def\supplement@name{Supplementary Material}
+\def\stitle#1{\def\@stitle{#1}}
+\def\stitle@fmt#1{\textbf{#1.}\ }
+\def\sdescription#1{\def\@sdescription{#1}}
+\def\suppsection@fmt{\section*{\supplement@name}}
+\long\def\supplement{\@ifnextchar[{\@supplement}{\@supplement[]}}
+\long\def\@supplement[#1]{%
+ \suppsection@fmt
+ \global\let\suppsection@fmt\smallskip
+ }
+\def\endsupplement{%
+ \@ifundefined{@stitle}%
+ {}%
+ {\stitle@fmt{\@stitle}}%
+ %
+ \@ifundefined{@sdescription}{}{\@sdescription}%
+ \par
+ }
+
%% Bibliography
\def\@MRExtract#1 #2!{#1} % thanks, Martin!
\newcommand{\MR}[1]{% we need to strip the "(...)"