From 863ece2e5e2f65249d3b326f6a085fb181cd7420 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 22 Oct 2020 20:46:30 +0000 Subject: ejpecp (22oct20) git-svn-id: svn://tug.org/texlive/trunk@56728 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/ejpecp') 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 "(...)" -- cgit v1.2.3