summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-09 22:06:29 +0000
committerKarl Berry <karl@freefriends.org>2020-02-09 22:06:29 +0000
commit9f330a618669009499851c3f36f444df2e210821 (patch)
treef5d9e1e728b9f48585ed622c6448051edf497a0d /Master/texmf-dist/tex/latex
parentc2d1d0a46a7c770a1dbae52c6cea8c7108510649 (diff)
acmart (9feb20)
git-svn-id: svn://tug.org/texlive/trunk@53734 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls50
1 files changed, 37 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index 1d72f7e8324..fbd701269ad 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}
-[2020/01/11 v1.67 Typesetting articles for the Association for Computing Machinery]
+[2020/02/08 v1.69 Typesetting articles for the Association for Computing Machinery]
\def\@classname{acmart}
\InputIfFileExists{acmart-preload-hook.tex}{%
\ClassWarning{\@classname}{%
@@ -1465,7 +1465,7 @@
\newcounter{@concepts}
\newcommand\ccsdesc[2][100]{%
\ccsdesc@parse#1~#2~~\ccsdesc@parse@end}
-\RequirePackage{textcomp}
+\def\textrightarrow{$\rightarrow$}
\def\ccsdesc@parse#1~#2~#3~{%
\stepcounter{@concepts}%
\expandafter\ifx\csname CCS@General@#2\endcsname\relax
@@ -1858,9 +1858,6 @@
\@afterheading
}
\def\@specialsection#1{%
- \bgroup
- \let\@vspace\@vspace@orig
- \let\@vspacer\@vspacer@orig
\ifcase\ACM@format@nr
\relax % manuscript
\par\medskip\small\noindent#1: %
@@ -1875,13 +1872,13 @@
\or % siggraph
\section*{#1}%
\or % sigplan
- \noindent\emph{\bfseries#1.}~%
+ \noindentparagraph*{#1:~}%
\or % sigchi
\section*{#1}%
\or % sigchi-a
\section*{#1}%
\fi
- \egroup}
+}
\def\@printtopmatter{%
\ifx\@startPage\@empty
\gdef\@startPage{1}%
@@ -2354,11 +2351,13 @@
\fi
\ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi
\par\egroup}
-\def\@printendtopmatter{\bgroup
+\def\@printendtopmatter{%
\let\@vspace\@vspace@orig
\let\@vspacer\@vspacer@orig
\par\bigskip
- \egroup}
+ \let\@vspace\@vspace@acm
+ \let\@vspacer\@vspacer@acm
+ }
\def\@setthanks{\long\def\thanks##1{\par##1\@addpunct.}\thankses}
\def\@setauthorsaddresses{\@authorsaddresses\unskip\@addpunct.}
\RequirePackage{fancyhdr}
@@ -2395,10 +2394,29 @@
\fi}
\def\ACM@linecountR{%
\if@ACM@review
- \ACM@mk@linecount
- \begin{picture}(0,0)%
- \put(20,-22){\usebox{\ACM@linecount@bx}}%
- \end{picture}%
+ \ifcase\ACM@format@nr
+ \relax % manuscript
+ \relax
+ \or % acmsmall
+ \relax
+ \or % acmlarge
+ \relax
+ \or % acmtog
+ \ACM@mk@linecount
+ \or % sigconf
+ \ACM@mk@linecount
+ \or % siggraph
+ \ACM@mk@linecount
+ \or % sigplan
+ \ACM@mk@linecount
+ \or % sigchi
+ \ACM@mk@linecount
+ \or % sigchi-a
+ \ACM@mk@linecount
+ \fi
+ \begin{picture}(0,0)%
+ \put(20,-22){\usebox{\ACM@linecount@bx}}%
+ \end{picture}%
\fi}
\if@ACM@timestamp
% Subtracting 30 from \time gives us the effect of rounding down despite
@@ -2658,6 +2676,10 @@
{-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}%
{-3.5\p@}%
{\ACM@NRadjust{\@parfont\@adddotafter}}}
+\newcommand\noindentparagraph{\@startsection{paragraph}{4}{\z@}%
+ {-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}%
+ {-3.5\p@}%
+ {\ACM@NRadjust{\@parfont}}}
\renewcommand\part{\@startsection{part}{9}{\z@}%
{-10\p@ \@plus -4\p@ \@minus -2\p@}%
@@ -2887,6 +2909,8 @@
\apptocmd{\@vspacer}{\ClassWarning{\@classname}{\string\vspace\space should
only be used to provide space above/below surrounding
objects}}{}{}
+\let\@vspace@acm=\@vspace
+\let\@vspacer@acm=\@vspacer
\let\ACM@origbaselinestretch\baselinestretch
\AtEndDocument{\ifx\baselinestretch\ACM@origbaselinestretch\else
\ClassError{\@classname}{An attempt to redefine