summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acmart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-21 20:35:09 +0000
committerKarl Berry <karl@freefriends.org>2018-10-21 20:35:09 +0000
commitbfe580335d8dd230a8be05e7afb2d04f642235c1 (patch)
tree2f662802c1d7945c40b0956acd56e51a0fa7494e /Master/texmf-dist/source/latex/acmart
parent8138b84323e19faa855c7e52f9866a0150fe2d2e (diff)
acmart (21oct18)
git-svn-id: svn://tug.org/texlive/trunk@48963 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart')
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx75
1 files changed, 44 insertions, 31 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx
index f553598dd0e..79316ac956c 100644
--- a/Master/texmf-dist/source/latex/acmart/acmart.dtx
+++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx
@@ -1,3 +1,4 @@
+
% \iffalse
%
% Copyright 2016-2018, Association for Computing Machinery
@@ -108,8 +109,9 @@
% Paolo G.~Giarrusso,
% Ben Greenman,
% Jamie Davis,
-% LianTze Lim,
+% Luis Leiva,
% Ben Liblit,
+% LianTze Lim,
% Kai Mindermann,
% Frank Mittelbach,
% Serguei Mokhov,
@@ -164,7 +166,7 @@
%
% Please note that the version on Github is a development (or
% experimental) version: please download it for testing new features.
-% The production version is the one on CTAN and ACM sites.
+% The production version is the one on CTAN and ACM sites.
%
% Most users should not attempt to install this package themselves
% but should rather rely on their \TeX\ distributions to provide it. If you
@@ -283,7 +285,7 @@
% JETC, PACMCGIT, PACMHCI, PACMPL, TAAS, TACCESS, TACO,
% TALG, TALLIP (formerly TALIP), TCPS, TDSCI,
% TEAC, TECS, THRI, TIIS, TIOT, TISSEC, TIST, TKDD, TMIS,
-% TOCE, TOCHI, TOCL,
+% TOCE, TOCHI, TOCL,
% TOCS, TOCT, TODAES, TODS, TOIS, TOIT, TOMACS, TOMM (formerly
% TOMCCAP), TOMPECS, TOMS, TOPC, TOPLAS, TOPS,
% TOS, TOSEM, TOSN, TRETS,
@@ -1352,7 +1354,7 @@
% \setcitestyle{nosort}
% \end{verbatim}
% It is useful if you do not like the way |natbib| sorts citation
-% lists.
+% lists.
%
% If you use |natbib|, then commands like \cs{citep} and
% \cs{citeauthor} are automatically supported. The command
@@ -1482,7 +1484,7 @@
% author = {Ludwig {\noopsort{Beethoven}}van Beethoven},
% \end{verbatim}
% This will make the author to be sorted as ``Beethoven'' rather than
-% ``van Beethoven''.
+% ``van Beethoven''.
%
%\subsection{Colors}
%\label{sec:ug_colors}
@@ -1628,7 +1630,7 @@
% \endfoot
% CIE & ACM Computers in Entertainment \\
% CSUR & ACM Computing Surveys\\
-% DTRAP & Digital Threats: Research and Practice\\
+% DTRAP & Digital Threats: Research and Practice\\
% IMWUT & PACM on Interactive, Mobile, Wearable and Ubiquitous
% Technologies\\
% JACM & Journal of the ACM \\
@@ -1638,7 +1640,7 @@
% JETC & ACM Journal on Emerging Technologies in Computing Systems \\
% JOCCH & ACM Journal on Computing and Cultural Heritage \\
% PACMCGIT & Proceedings of the ACM on Computer Graphics and
-% Interactive Techniques\\
+% Interactive Techniques\\
% PACMHCI & PACM on Human-Computer Interaction\\
% PACMPL & PACM on Programming Languages \\
% POMACS & PACM on Measurement and Analysis of Computing Systems \\
@@ -1713,7 +1715,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2018/07/16 v1.54 Typesetting articles for the Association for
+[2018/10/20 v1.55 Typesetting articles for the Association for
Computing Machinery]
% \end{macrocode}
%
@@ -2201,6 +2203,7 @@ Computing Machinery]
% \changes{v1.19}{2016/07/28}{Include 'References' in PDF bookmarks
% (Matthew Fluet)}
% \changes{v1.14}{2016/06/09}{Patched \cs{citestyle}}
+% \changes{v1.55}{2016/08/012}{Typo corrected (Zack Weinberg)}
% We patch \cs{setcitestyle} to allow, for example,
% \cs{setcitestyle}|{sort}| and \cs{setcitestyle}|{nosort}|. We patch
% \cs{citestyle} to warn about undefined citation styles.
@@ -2245,7 +2248,7 @@ Computing Machinery]
\def\@tempb{compress}\ifx\@tempa\@tempb
\def\NAT@cmprs{\@ne}\fi
\def\@tempb{nocompress}\ifx\@tempa\@tempb
- \def\NAT@cmprs{\@z}\fi
+ \def\NAT@cmprs{\z@}\fi
\def\@tempb{sort&compress}\ifx\@tempa\@tempb
\def\NAT@sort{\@ne}\def\NAT@cmprs{\@ne}\fi
\def\@tempb{mcite}\ifx\@tempa\@tempb
@@ -2542,6 +2545,7 @@ Computing Machinery]
% \changes{v1.28}{2017/01/07}{Got rid of warnings in pdf keywords}
% \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}
% \begin{macrocode}
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
@@ -2569,7 +2573,7 @@ Computing Machinery]
\AtEndPreamble{%
\if@ACM@screen
\hypersetup{colorlinks,
- linkcolor=ACMRed,
+ linkcolor=ACMPurple,
citecolor=ACMPurple,
urlcolor=ACMDarkBlue,
filecolor=ACMDarkBlue}
@@ -2932,6 +2936,8 @@ Computing Machinery]
%\subsection{Floats}
%\label{sec:floats}
%
+% \changes{v1.55}{2018/10/20}{Table captions for SIGCHI now use the
+% same font size as figure captions (Luis Leiva)}
% We use the |caption| package
% \begin{macrocode}
\RequirePackage{caption, float}
@@ -2957,9 +2963,13 @@ Computing Machinery]
\or % sigchi
\captionsetup[figure]{labelfont={bf, small},
textfont={bf, small}}
+ \captionsetup[table]{labelfont={bf, small},
+ textfont={bf, small}}
\or % sigchi-a
\captionsetup[figure]{labelfont={bf, small},
textfont={bf, small}}
+ \captionsetup[table]{labelfont={bf, small},
+ textfont={bf, small}}
\fi
\fi
% \end{macrocode}
@@ -3625,7 +3635,7 @@ Computing Machinery]
\ifx\addresses\@empty
\if@ACM@anonymous
\gdef\addresses{\@author{Anonymous Author(s)%
- \ifx\@acmSubmissionID\@empty\else\\Submission Id:
+ \ifx\@acmSubmissionID\@empty\else\\Submission Id:
\@acmSubmissionID\fi}}%
\gdef\authors{Anonymous Author(s)}%
\else
@@ -3640,8 +3650,8 @@ Computing Machinery]
\fi
\if@ACM@anonymous
\ifx\shortauthors\@empty
- \gdef\shortauthors{Anon.
- \ifx\@acmSubmissionID\@empty\else Submission Id:
+ \gdef\shortauthors{Anon.
+ \ifx\@acmSubmissionID\@empty\else Submission Id:
\@acmSubmissionID\fi}%
\fi
\else
@@ -4428,7 +4438,7 @@ Computing Machinery]
% \changes{v1.40}{2017/06/16}{Added new copyright version: licensedcagov}
% \changes{v1.50}{2018/02/07}{New copyright statements for iw3c2w3[g]}
% \changes{v1.52}{2018/04/09}{Another rewording of copyright
-% statements for iw3c2w3[g]}
+% statements for iw3c2w3[g]}
% The canned permission block.
% \begin{macrocode}
\def\@copyrightpermission{%
@@ -4546,13 +4556,13 @@ Computing Machinery]
This paper is published under the Creative Commons Attribution~4.0
International (CC-BY~4.0) license. Authors reserve their rights to
disseminate the work on their personal and corporate Web sites with
- the appropriate attribution.
+ the appropriate attribution.
\or % iw3c2w3g
This paper is published under the Creative Commons
Attribution-NonCommercial-NoDerivs~4.0 International
(CC-BY-NC-ND~4.0) license. Authors reserve their rights to
disseminate the work on their personal and corporate Web sites with
- the appropriate attribution.
+ the appropriate attribution.
\fi}
% \end{macrocode}
%
@@ -4648,6 +4658,7 @@ Computing Machinery]
% \changes{v1.48}{2017/10/14}{Suppressed empty DOI (Serguei Mokhov)}
% \changes{v1.48}{2017/11/18}{Added language and doctitle attributes
% to PDF (Andreas Reichinger)}
+% \changes{v1.55}{2018/10/14}{Fixes topnum}
% The (in)famous \cs{maketitle}. Note that in |sigchi-a| mode, authors
% are \emph{not} in the title box.
%
@@ -4665,9 +4676,6 @@ Computing Machinery]
\let\@footnotemark\@footnotemark@nolink
\let\@footnotetext\@footnotetext@nolink
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
- \global\@topnum\z@ % this prevents floats from falling
- % at the top of page 1
- \global\@botnum\z@ % we do not want them to be on the bottom either
\hsize=\textwidth
\def\@makefnmark{\hbox{\@textsuperscript{\@thefnmark}}}%
\@mktitle\if@ACM@sigchiamode\else\@mkauthors\fi\@mkteasers
@@ -4778,6 +4786,9 @@ Computing Machinery]
\csname ver@acmart.cls\endcsname\space
and hyperref
\csname ver@hyperref.sty\endcsname}}%
+ \global\@topnum\z@ % this prevents floats from falling
+ % at the top of page 1
+ \global\@botnum\z@ % we do not want them to be on the bottom either
\@printendtopmatter
\@afterindentfalse
\@afterheading
@@ -5557,7 +5568,7 @@ Computing Machinery]
\if@ACM@journal
\everypar{\setbox\z@\lastbox\everypar{}}\small
\else
- \section*{Abstract}%
+ \section*{\abstractname}%
\fi
\ignorespaces\@abstract\par}%
\fi\egroup}
@@ -5574,19 +5585,21 @@ Computing Machinery]
% `page' instead of `pages'}
% \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}
% Print the |bibcitation| format
% \begin{macrocode}
\def\@mkbibcitation{\bgroup
\def\@pages@word{\ifnum\getrefnumber{TotPages}=1\relax page\else pages\fi}%
\def\footnotemark{}%
- \def\\{\unskip{}, \ignorespaces}%
+ \def\\{\unskip{} \ignorespaces}%
\def\footnote{\ClassError{\@classname}{Please do not use footnotes
inside a \string\title{} or \string\author{} command! Use
\string\titlenote{} or \string\authornote{} instead!}}%
\def\@article@string{\ifx\@acmArticle\@empty{\ }\else,
Article~\@acmArticle\ \fi}%
\par\medskip\small\noindent{\bfseries ACM Reference Format:}\par\nobreak
- \noindent\authors. \@acmYear. \@title
+ \noindent\bgroup
+ \def\\{\unskip{}, \ignorespaces}\authors\egroup. \@acmYear. \@title
\ifx\@subtitle\@empty. \else: \@subtitle. \fi
\if@ACM@nonacm\else
% The 'nonacm' option disables 'printacmref' by default,
@@ -5921,7 +5934,7 @@ Computing Machinery]
% \changes{v1.33}{2017/03/29}{Added right linecount for two-column
% formats}
% \changes{v1.51}{2018/04/05}{We now use journal abbreviation for
-% footers}
+% footers}
% The page style for the first page only.
% \begin{macrocode}
\fancypagestyle{firstpagestyle}{%
@@ -6010,17 +6023,17 @@ Computing Machinery]
% Ross Moore's macro.
% \begin{quotation}
% Initially |\ACM@sect@format@| just passes through its |#1|
-% argument unchanged.
+% argument unchanged.
% When a sectioning macro such as |\section| occurs, the
% |\ACM@NRadjust| redefines |\ACM@sect@format@| to expand into the
-% styling commands; e.g., |\@secfont|.
+% styling commands; e.g., |\@secfont|.
% Then |\Sectionformat| is temporarily redefined to produce
% |\realSectionformat{\ACM@sect@format{#1}}{#2}|, which ultimately
-% becomes |\Sectionformat{\@secfont{#1}}{#2}|.
+% becomes |\Sectionformat{\@secfont{#1}}{#2}|.
% This is done to allow |\Sectionformat| to be variable, as may be
% needed in particular circumstances. Its current expansion is saved
% as |\realSectionformat| which is used with the modified 1st argument,
-% then |\Sectionformat| is reverted to its former expansion.
+% then |\Sectionformat| is reverted to its former expansion.
%
% To style the section-number, the line |#1{}| is used at the end of
% |\ACM@NRadjust|. This imposes style-changing commands for fonts and
@@ -6031,7 +6044,7 @@ Computing Machinery]
% desired.) Also, it can result in |\@adddotafter| being called too
% soon, so a slight adjustment is made, via |\ACM@adddotafter|, which
% now tests whether its argument is empty. But the coding has to allow
-% for other packages to have also patched |\@adddotafter|.
+% for other packages to have also patched |\@adddotafter|.
% \end{quotation}
% \begin{macrocode}
\def\ACM@NRadjust#1{%
@@ -6047,7 +6060,7 @@ Computing Machinery]
%% next lines added 2018-06-17 to ensure section number is styled
\let\real@adddotafter\@adddotafter
\let\@adddotafter\ACM@adddotafter
- #1{}% imposes the styles, but nullifies \MakeUppercase
+ #1{}% imposes the styles, but nullifies \MakeUppercase
\let\@adddotafter\real@adddotafter
}%
\fi \next
@@ -6070,14 +6083,14 @@ Computing Machinery]
\fi
}
% \end{macrocode}
-%
+%
% \end{macro}
% \begin{macro}{\ACM@adddotafter}
% \changes{v1.54}{2018/06/17}{Added macro}
% \begin{macrocode}
\def\ACM@adddotafter#1{\ifx\relax#1\relax\else\LTX@adddotafter{#1}\fi}
% \end{macrocode}
-%
+%
% \end{macro}
%
% \changes{v1.54}{2018/05/27}{Deleted indent for subsubsection}