summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acmart/acmart.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart/acmart.dtx')
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx82
1 files changed, 64 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx
index 9cb8d0c4995..89afdd9a3fe 100644
--- a/Master/texmf-dist/source/latex/acmart/acmart.dtx
+++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx
@@ -1,6 +1,6 @@
% \iffalse
%
-% Copyright 2016-2018, Association for Computing Machinery
+% Copyright 2016-2019, Association for Computing Machinery
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3 of this license or (at your option) any
@@ -58,7 +58,7 @@
% \ifx\currentjob\guide\OnlyDescription\fi
% \GetFileInfo{acmart.dtx}
% \title{\LaTeX{} Class for the \emph{Association for Computing
-% Machinery}\thanks{\copyright 2016--2018, Association for Computing Machinery}}
+% Machinery}\thanks{\copyright 2016--2019, Association for Computing Machinery}}
% \author{Boris Veytsman\thanks{%
% \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}},
% \href{mailto:boris@varphi.com}{\texttt{boris@varphi.com}}}}
@@ -108,6 +108,7 @@
% Matthew Fluet,
% Paolo G.~Giarrusso,
% Ben Greenman,
+% Enrico Gregorio,
% Jamie Davis,
% Luis Leiva,
% Ben Liblit,
@@ -284,9 +285,9 @@
% \midrule
% manuscript & A manuscript. This is the default. \\
% acmsmall & Small single-column format. Used for CIE, CSUR, DTRAP,
-% JACM, JDIQ, JEA, JERIC,
+% HEALTH, JACM, JDIQ, JEA, JERIC,
% JETC, PACMCGIT, PACMHCI, PACMPL, TAAS, TACCESS, TACO,
-% TALG, TALLIP (formerly TALIP), TCPS, TDSCI,
+% TALG, TALLIP (formerly TALIP), TCPS, TDS,
% TEAC, TECS, THRI, TIIS, TIOT, TISSEC, TIST, TKDD, TMIS,
% TOCE, TOCHI, TOCL,
% TOCS, TOCT, TODAES, TODS, TOIS, TOIT, TOMACS, TOMM (formerly
@@ -1692,6 +1693,7 @@
% CIE & ACM Computers in Entertainment \\
% CSUR & ACM Computing Surveys\\
% DTRAP & Digital Threats: Research and Practice\\
+% HEALTH & ACM Transactions on Computing for Healthcare\\
% IMWUT & PACM on Interactive, Mobile, Wearable and Ubiquitous
% Technologies\\
% JACM & Journal of the ACM \\
@@ -1713,7 +1715,7 @@
% Information Processing\\
% TAP & ACM Transactions on Applied Perception \\
% TCPS & ACM Transactions on Cyber-Physical Systems\\
-% TDSCI & ACM Transactions on Data Science\\
+% TDS & ACM Transactions on Data Science\\
% TEAC & ACM Transactions on Economics and Computation\\
% TECS & ACM Transactions on Embedded Computing Systems \\
% THRI & ACM Transactions on Human-Robot Interaction\\
@@ -1776,7 +1778,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2018/12/16 v1.57 Typesetting articles for the Association for
+[2019/03/29 v1.59 Typesetting articles for the Association for
Computing Machinery]
% \end{macrocode}
%
@@ -1862,6 +1864,9 @@ Computing Machinery]
% (Ross Moore)}
% \changes{1.56}{2018/11/11}{Documented \cs{Description}}
% \changes{1.57}{2018/12/16}{Booktabs package is now the default}
+% \changes{1.58}{2019/02/09}{Changes in samples (Enrico Gregorio)}
+% \changes{1.58}{2019/03/29}{New journal: HEALTH. TDS is renamed to
+% TDSCI}
%
% And the driver code:
% \begin{macrocode}
@@ -2627,11 +2632,13 @@ Computing Machinery]
% \changes{v1.46}{2017/08/25}{Delayed hypersetup since journal options
% may change screen mode}
% \changes{v1.55}{2018/10/20}{Now we use purple color for links}
+% \changes{v1.58}{2019/26/01}{Suppressed \cs{addtocounter} in pdf subject}
% \begin{macrocode}
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
\RequirePackage[bookmarksnumbered,unicode]{hyperref}
\pdfstringdefDisableCommands{%
+ \def\addtocounter#1#2{}%
\def\unskip{}%
\def\textbullet{- }%
\def\textrightarrow{ -> }%
@@ -3066,7 +3073,7 @@ Computing Machinery]
% \changes{v1.56}{2018/11/11}{Added macro}
% The Description macro right now just sets switches
% \begin{macrocode}
-\newcommand\Description[2][]{\global\@Description@presenttrue}
+\newcommand\Description[2][]{\global\@Description@presenttrue\ignorespaces}
% \end{macrocode}
% \end{macro}
%
@@ -3076,16 +3083,24 @@ Computing Machinery]
\ClassWarningNoLine{\@classname}{Some images may lack descriptions}\fi}
% \end{macrocode}
%
-% Hooks for figures
+% Hooks for figures and tables
% \begin{macrocode}
-\AtBeginEnvironment{figure}{\@Description@presentfalse}
-\AtBeginEnvironment{figure*}{\@Description@presentfalse}
+\AtBeginEnvironment{figure}{\@Description@presentfalse
+ \let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig}
+\AtBeginEnvironment{figure*}{\@Description@presentfalse
+ \let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig}
\AtEndEnvironment{figure}{\if@Description@present\else
\global\@undescribed@imagestrue
\ClassWarning{\@classname}{A possible image without description}\fi}
\AtEndEnvironment{figure*}{\if@Description@present\else
\global\@undescribed@imagestrue
\ClassWarning{\@classname}{A possible image without description}\fi}
+\AtBeginEnvironment{table}{\let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig}
+\AtBeginEnvironment{table*}{\let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig}
% \end{macrocode}
%
%
@@ -3141,9 +3156,11 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\@sidebar}
+% \changes{v1.58}{2019/01/23}{Deleted spurious \cs{vspace} warning}
% The processing of the saved text
% \begin{macrocode}
-\long\def\@sidebar#1{\bgroup\captionsetup{type=sidebar}%
+\long\def\@sidebar#1{\bgroup\let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig\captionsetup{type=sidebar}%
\marginpar{\small#1}\egroup}
% \end{macrocode}
%
@@ -3160,9 +3177,12 @@ Computing Machinery]
% \begin{macro}{\@marginfigure}
% \changes{v1.12}{2016/05/30}{Now centering by default}
% \changes{v1.56}{2018/11/11}{Added checking for description}
+% \changes{v1.58}{2019/01/23}{Deleted spurious \cs{vspace} warning}
% The processing of the saved text
% \begin{macrocode}
\long\def\@marginfigure#1{\bgroup
+ \let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig
\captionsetup{type=figure}%
\marginpar{\@Description@presentfalse\centering
\small#1\if@Description@present\else
@@ -3184,9 +3204,11 @@ Computing Machinery]
%
% \begin{macro}{\@margintable}
% \changes{v1.12}{2016/05/30}{Now centering by default}
+% \changes{v1.58}{2019/01/23}{Deleted spurious \cs{vspace} warning}
% The processing of the saved text
% \begin{macrocode}
-\long\def\@margintable#1{\bgroup\captionsetup{type=table}%
+\long\def\@margintable#1{\bgroup\let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig\captionsetup{type=table}%
\marginpar{\centering\small#1}\egroup}
% \end{macrocode}
%
@@ -3205,12 +3227,14 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\@dblfloat}
+% \changes{v1.58}{2019/01/23}{Deleted spurious \cs{vspace} warning}
% We redefine the double-float command. First, we make the size
% bigger. Second, our default position is going to be |tp| (to give
% marginalia a chance)
% \begin{macrocode}
\if@ACM@sigchiamode
-\def\@dblfloat{\bgroup\columnwidth=\fulltextwidth
+\def\@dblfloat{\bgroup\let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig\columnwidth=\fulltextwidth
\let\@endfloatbox\@endwidefloatbox
\def\@fpsadddefault{\def\@fps{tp}}%
\@float}
@@ -3362,6 +3386,7 @@ Computing Machinery]
% \changes{v1.36}{2017/05/13}{Added PACMHCI journal options}
% \changes{v1.46}{2017/08/25}{PACM now set screen to true}
% \changes{v1.53}{2018/04/14}{Added PACMCGIT, TIOT, TDSCI}
+% \changes{v1.58}{2019/03/29}{Added HEALTH. TDSCI is renamed to TDS}
%
% We use the |xkeyval| interface to define journal titles and the relevant
% information
@@ -3370,6 +3395,7 @@ Computing Machinery]
CIE,%
CSUR,%
DTRAP,%
+ HEALTH,%
IMWUT,%
JACM,%
JDIQ,%
@@ -3388,7 +3414,7 @@ Computing Machinery]
TALLIP,%
TAP,%
TCPS,%
- TDSCI,%
+ TDS,%
TEAC,%
TECS,%
THRI,%
@@ -3437,6 +3463,10 @@ Computing Machinery]
\def\@journalName{Digital Threats: Research and Practice}%
\def\@journalNameShort{Digit. Threat. Res. Pract.}%
\def\@permissionCodeOne{2576-5337}%
+\or % HEALTH
+ \def\@journalName{ACM Transactions on Computing for Healthcare}%
+ \def\@journalNameShort{ACM Trans. Comput. Healthcare}%
+ \def\@permissionCodeOne{2637-8051}%
\or % IMWUT
\def\@journalName{Proceedings of the ACM on Interactive, Mobile,
Wearable and Ubiquitous Technologies}%
@@ -3514,7 +3544,7 @@ Computing Machinery]
\def\@journalName{ACM Transactions on Applied Perception}%
\or % TCPS
\def\@journalName{ACM Transactions on Cyber-Physical Systems}%
-\or % TDSCI
+\or % TDS
\def\@journalName{ACM Transactions on Data Science}%
\def\@journalNameShort{ACM Trans. Data Sci.}%
\def\@permissionCodeOne{2577-3224}%
@@ -4833,6 +4863,8 @@ Computing Machinery]
% \changes{v1.48}{2017/11/18}{Added language and doctitle attributes
% to PDF (Andreas Reichinger)}
% \changes{v1.55}{2018/10/14}{Fixes topnum}
+% \changes{v1.58}{2019/01/23}{Original \cs{vspace} inside
+% \cs{maketitle}}
% The (in)famous \cs{maketitle}. Note that in |sigchi-a| mode, authors
% are \emph{not} in the title box.
%
@@ -4847,6 +4879,8 @@ Computing Machinery]
\ifnum\num@authorgroups=0\author{}\fi
\fi
\begingroup
+ \let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig
\let\@footnotemark\@footnotemark@nolink
\let\@footnotetext\@footnotetext@nolink
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
@@ -4931,7 +4965,7 @@ Computing Machinery]
\setcounter{footnote}{0}%
\@mkabstract
\if@ACM@printccs
- \ifx\@concepts\@empty\else\bgroup
+ \ifx\@concepts\@empty\else\bgroup
{\@specialsection{CCS Concepts}%
\@concepts\par}\egroup
\fi
@@ -4994,7 +5028,7 @@ Computing Machinery]
\section*{#1}%
\or % sigchi-a
\section*{#1}%
- \fi}
+ \fi}
% \end{macrocode}
%
% \end{macro}
@@ -5768,9 +5802,12 @@ Computing Machinery]
% \changes{v1.46}{2017/08/25}{Added subtitle}
% \changes{v1.54}{2018/06/10}{Bug corrected (Ross Moore)}
% \changes{v1.55}{2018/07/25}{Bug corrected}
+% \changes{v1.58}{2019/01/23}{Deleted spurious \cs{vspace} warning}
% Print the |bibcitation| format
% \begin{macrocode}
\def\@mkbibcitation{\bgroup
+ \let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig
\def\@pages@word{\ifnum\getrefnumber{TotPages}=1\relax page\else pages\fi}%
\def\footnotemark{}%
\def\\{\unskip{} \ignorespaces}%
@@ -5809,9 +5846,14 @@ Computing Machinery]
%
% \begin{macro}{\@printendtopmatter}
% \changes{v1.46}{2017/08/28}{Made it \cs{par}\cs{bigskip} uniformly}
+% \changes{v1.58}{2019/01/23}{Deleted spurious \cs{vspace} warning}
% End the top matter
% \begin{macrocode}
-\def\@printendtopmatter{\par\bigskip}
+\def\@printendtopmatter{\bgroup
+ \let\@vspace\@vspace@orig
+ \let\@vspacer\@vspacer@orig
+ \par\bigskip
+ \egroup}
% \end{macrocode}
%
% \end{macro}
@@ -6787,8 +6829,12 @@ Computing Machinery]
%
% \begin{macro}{\vspace}
% \changes{v1.57}{2018/12/16}{Added warning}
+% \changes{v1.58}{2019/01/23}{Preserved old versions as
+% \cs{@vspace@orig} and \cs{@vspace@orig}}
% We do not disable \cs{vspace}, but add warning to it
% \begin{macrocode}
+\let\@vspace@orig=\@vspace
+\let\@vspacer@orig=\@vspacer
\apptocmd{\@vspace}{\ClassWarning{\@classname}{\string\vspace\space should
only be used to provide space above/below surrounding
objects}}{}{}