summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/acmart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-28 23:40:39 +0000
committerKarl Berry <karl@freefriends.org>2019-08-28 23:40:39 +0000
commit54424c2bc9fd7804517082053c023fb6b0cb70fa (patch)
treea5f7513d0aadc4150b49a544b230bd7ffb175854 /Master/texmf-dist/tex/latex/acmart
parent790437e48c441707998b296351e6a2db20abc474 (diff)
acmart (29aug19)
git-svn-id: svn://tug.org/texlive/trunk@51972 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/acmart')
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls13
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index b6fd7a27fac..167de34bfb5 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmart.cls
+++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{acmart}
-[2019/08/05 v1.63a Typesetting articles for the Association for Computing Machinery]
+[2019/08/24 v1.64 Typesetting articles for the Association for Computing Machinery]
\def\@classname{acmart}
\InputIfFileExists{acmart-preload-hook.tex}{%
\ClassWarning{\@classname}{%
@@ -869,6 +869,8 @@
\endlist
}
\let\enddescription=\endlist % for efficiency
+\newif\if@ACM@maketitle@typeset
+\@ACM@maketitle@typesetfalse
\define@choicekey*+{ACM}{acmJournal}[\@journalCode\@journalCode@nr]{%
CIE,%
CSUR,%
@@ -1374,7 +1376,10 @@
\def\keywords#1{\def\@keywords{#1}}
\keywords{}
\renewenvironment{abstract}{\Collect@Body\@saveabstract}{}
-\long\def\@saveabstract#1{\long\gdef\@abstract{#1}}
+\long\def\@saveabstract#1{\if@ACM@maketitle@typeset
+ \ClassError{\@classname}{Abstract must be defined before maketitle
+ command. Please move it!}\fi
+ \long\gdef\@abstract{#1}}
\@saveabstract{}
\long\def\@lempty{}
\define@boolkey+{@ACM@topmatter@}[@ACM@]{printccs}[true]{%
@@ -1695,6 +1700,7 @@
\fi}}
\newbox\mktitle@bx
\def\maketitle{%
+ \@ACM@maketitle@typesettrue
\if@ACM@anonymous
% Anonymize omission of \author-s
\ifnum\num@authorgroups=0\author{}\fi
@@ -2332,7 +2338,8 @@
\newcount\ACM@linecount
\ACM@linecount\@ne\relax
\def\ACM@mk@linecount{%
- \savebox{\ACM@linecount@bx}[4em][t]{\parbox[t]{4em}{%
+ \savebox{\ACM@linecount@bx}[4em][t]{\parbox[t]{4em}{\normalfont
+ \normalsize
\setlength{\ACM@linecount@bxht}{0pt}%
\loop{\color{red}\scriptsize\the\ACM@linecount}\\
\global\advance\ACM@linecount by \@ne