texlive[44367] Master/texmf-dist: acmart (15may17)
commits+karl at tug.org
commits+karl at tug.org
Mon May 15 23:14:01 CEST 2017
Revision: 44367
http://tug.org/svn/texlive?view=revision&revision=44367
Author: karl
Date: 2017-05-15 23:14:01 +0200 (Mon, 15 May 2017)
Log Message:
-----------
acmart (15may17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/acmart/README
trunk/Master/texmf-dist/doc/latex/acmart/acmart.pdf
trunk/Master/texmf-dist/doc/latex/acmart/acmguide.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.tex
trunk/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf-authordraft.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf
trunk/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf
trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx
trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls
Modified: trunk/Master/texmf-dist/doc/latex/acmart/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/acmart/README 2017-05-15 20:03:54 UTC (rev 44366)
+++ trunk/Master/texmf-dist/doc/latex/acmart/README 2017-05-15 21:14:01 UTC (rev 44367)
@@ -103,4 +103,17 @@
version 1.35 Author-year bib style now uses square brackets.
Changed defaults for TOG sample
Price is suppressed for usgov and rightsretained modes.
- Bugs fixed
\ No newline at end of file
+ Bugs fixed
+
+Version 1.36 Bug fixes
+ Moved PACMPL to acmlarge format
+ New journal: PACMHCI
+ Added the possibility to adjust number of author
+ boxes per row in conference formats
+
+Version 1.37 Reduce list indentation (Matthew Fluet)
+
+Version 1.38 Increase default font size for SIGPLAN
+
+Version 1.39 Added \authornotemark commmand
+
Modified: trunk/Master/texmf-dist/doc/latex/acmart/acmart.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/acmguide.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.tex 2017-05-15 20:03:54 UTC (rev 44366)
+++ trunk/Master/texmf-dist/doc/latex/acmart/sample-acmlarge.tex 2017-05-15 21:14:01 UTC (rev 44367)
@@ -12,7 +12,7 @@
\IncMargin{-\parindent}
% Metadata Information
-\acmJournal{POMACS}
+\acmJournal{PACMHCI}
\acmVolume{9}
\acmNumber{4}
\acmArticle{39}
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmsmall.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-acmtog.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-manuscript.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi-a.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigchi.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf-authordraft.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigconf.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/acmart/sample-sigplan.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx 2017-05-15 20:03:54 UTC (rev 44366)
+++ trunk/Master/texmf-dist/source/latex/acmart/acmart.dtx 2017-05-15 21:14:01 UTC (rev 44367)
@@ -15,8 +15,13 @@
% The Current Maintainer of this work is Boris Veytsman,
% <borisv at lk.net>
%
-% This work consists of the file acmart.dtx and the
-% derived file acmart.cls, and
+% This work consists of the file acmart.dtx, the derived file
+% acmart.cls, the files ACM-Reference-Format.bst, and templates
+% sample-acmlarge.tex, sample-acmsmall.tex, sample-acmtog.tex,
+% samplebody-conf.tex, samplebody-journals.tex, sample-manuscript.tex,
+% sample-sigchi-a.tex, sample-sigchi.tex,
+% sample-sigconf-authordraft.tex, sample-sigconf.tex,
+% sample-sigplan.tex
%
% \fi
%
@@ -187,6 +192,7 @@
% \item \textsl{url}, \url{http://www.ctan.org/pkg/url}
% \item \textsl{xcolor}, \url{http://www.ctan.org/pkg/xcolor}
% \item \textsl{xkeyval}, \url{http://www.ctan.org/pkg/xkeyval}
+% \item \textsl{xstring}, \url{http://www.ctan.org/pkg/xstring}
% \end{itemize}
%
%
@@ -234,7 +240,7 @@
% \midrule
% manuscript & A manuscript. This is the default \\
% acmsmall & Small single column format, used for CIE, CSUR, JACM, JDIQ, JEA, JERIC,
-% JETC, TAAS, TACCESS, TACO, TALG, TALLIP (formerly TALIP), TCPS,
+% JETC, PACMPL, TAAS, TACCESS, TACO, TALG, TALLIP (formerly TALIP), TCPS,
% TEAC, TECS, TIIS, TISSEC, TIST, TKDD, TMIS, TOCE, TOCHI, TOCL,
% TOCS, TOCT, TODAES, TODS, TOIS, TOIT, TOMACS, TOMM (formerly
% TOMCCAP), TOMPECS, TOMS, TOPC, TOPLAS, TOPS,
@@ -241,7 +247,7 @@
% TOS, TOSEM, TOSN, TRETS,
% TSAS, TSC, TSLP, TWEB, including special issues. \\
% acmlarge & Large single column format, used for
-% IMWUT, JOCCH, PACMPL, POMACS, TAP, including special issues. \\
+% IMWUT, JOCCH, PACMHCI, POMACS, TAP, including special issues. \\
% acmtog & Large double column format, used for
% TOG, including special issues.\\
% sigconf & Proceedings format for most of ACM
@@ -371,6 +377,7 @@
% JERIC & ACM Journal of Educational Resources in Computing\\
% JETC & ACM Journal on Emerging Technologies in Computing Systems \\
% JOCCH & ACM Journal on Computing and Cultural Heritage \\
+% PACMHCI & PACM on Human-Computer Interaction\\
% PACMPL & PACM on Programming Languages \\
% POMACS & PACM on Measurement and Analysis of Computing Systems \\
% TAAS & ACM Transactions on Autonomous and Adaptive Systems\\
@@ -727,6 +734,20 @@
% commands, since this confuses metadata extraction software (actually
% these commands now produce errors).
%
+% \DescribeMacro{\authornotemark}%
+% Sometimes one may need to have the same footnote connected to
+% several authors. The command \cs{authornotemark}\oarg{number} adds
+% just the footnote mark, for example
+% \begin{verbatim}
+% \author{A. U. Thor}
+% \authornote{Both authors contributed equally to the paper}
+% ...
+% \author{A. N. Other}
+% \authornotemark[1]
+% \end{verbatim}
+% The correct numbering of these marks is the responsibility of the
+% user.
+%
% \DescribeMacro{\acmVolume}%
% \DescribeMacro{\acmNumber}%
% \DescribeMacro{\acmArticle}%
@@ -968,8 +989,19 @@
% \begin{verbatim}
% \settopmatter{printacmref=false, printccs=true, printfolios=true}
% \end{verbatim}
+% The parameter |authorsperrow| requires some explanation. In
+% conference proceedings authors' information is typeset in boxes,
+% several boxes per row (see |sample-sigconf.pdf|,
+% |sample-sigplan.pdf| etc.). The number of the boxes per row is
+% determined automatically. If you want to override this decision,
+% you may do it using this parameter, for example,
+% \begin{verbatim}
+% \settopmatter{authorsperrow=4}
+% \end{verbatim}
+% However, in most cases you should \emph{not} do this and use the
+% default settings. Setting |authorsperrow| to $0$ will revert to
+% default settings.
%
-%
% \begin{table}
% \centering
% \caption{Settings for \cs{settopmatter} command}
@@ -981,7 +1013,11 @@
% printccs & true/false & Whether to print CCS categories\\
% printacmref & true/false & Whether to print ACM bibliographic
% entry\\
-% printfolios & true/false & Whether to print page numbers (folios)\\
+% printfolios & true/false & Whether to print page numbers
+% (folios)\\
+% authorsperrow & numeric & Number of authors per row for title
+% page in
+% conference proceedings formats\\
% \bottomrule
% \end{tabularx}
% \end{table}
@@ -1509,7 +1545,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2017/04/23 v1.35 Typesetting articles for Association of
+[2017/05/14 v1.39 Typesetting articles for Association of
Computing Machinery]
% \end{macrocode}
%
@@ -1562,6 +1598,11 @@
% \changes{v1.33}{2017/03/28}{Added acmart-preload-hook}
% \changes{v1.33}{2017/03/33}{Documentation updates}
% \changes{v1.35}{2017/04/23}{BibTeX bug fixed: et al.}
+% \changes{v1.36}{2017/05/12}{Added the possibility to adjust number of
+% author boxes per row in conference formats}
+% \changes{v1.37}{2017/05/13}{Set \cs{normalparindent}; Reduce list
+% indentation (Matthew Fluet)}%
+% \changes{v1.38}{2017/05/13}{Increase default font size for SIGPLAN}
%
%
% And the driver code:
@@ -1607,8 +1648,12 @@
\RequirePackage{xkeyval}
% \end{macrocode}
%
+% We use |xstring| to check whether user input is integer
+% \begin{macrocode}
+\RequirePackage{xstring}
+% \end{macrocode}
+%
%
-%
% \begin{macro}{format}
% The possible formats
% \begin{macrocode}
@@ -1737,6 +1782,7 @@
%
% \begin{macro}{\if at ACM@authordraft}
% \changes{v1.33}{2017/03/28}{Added macro}
+% \changes{v1.36}{2017/05/13}{Corrected typo, thanks to bargteil}
% Whether we use authordraft mode
% \begin{macrocode}
\define at boolkey+{acmart.cls}[@ACM@]{authordraft}[true]{%
@@ -1748,7 +1794,7 @@
\PackageInfo{\@classname}{Not using authordraft mode}%
\fi}{\PackageError{\@classname}{Option authordraft can be either true or
false}}
-\ExecuteOptionsX{timestamp=false}
+\ExecuteOptionsX{authordraft=false}
% \end{macrocode}
%
% \end{macro}
@@ -1850,6 +1896,7 @@
%\label{sec:loading}
%
% \changes{v1.13}{2016/06/06}{Increased font size for ACM Large}
+% \changes{v1.38}{2017/05/13}{Increase default font size for SIGPLAN}
%
%
% At this point we either have \cs{ACM at fontsize}, or use defaults
@@ -1869,7 +1916,7 @@
\or % siggraph
\def\ACM at fontsize{9pt}%
\or % sigplan
- \def\ACM at fontsize{9pt}%
+ \def\ACM at fontsize{10pt}%
\or % sigchi
\def\ACM at fontsize{10pt}%
\or % sigchi-a
@@ -2383,6 +2430,20 @@
% \end{macro}
% \end{macro}
%
+% \begin{macro}{\normalparindent}
+% \changes{v1.37}{2017/05/13}{Set \cs{normalparindent} (Matthew Fluet)}%
+% |amsart| defines the \cs{normalparindent} length and initializes it
+% to 12pt (the value of \cs{parindent} in |amsart|). It is later used
+% to set the \cs{listparindent} length in the |quotation| environment
+% and the \cs{parindent} length in the \cs{@footnotetext} command. We
+% set \cs{normalparindent} to the value of \cs{parindent} as selected
+% by |acmart| for consistent paragraph indents.
+% \begin{macrocode}
+\setlength\normalparindent{\parindent}
+% \end{macrocode}
+%
+% \end{macro}
+%
% Footnotes require some consideration. We have several layers of
% footnotes: frontmatter footnotes, ``regular'' footnotes and the
% special insert for bibstrip. In the old ACM classes bibstrip was a
@@ -2733,11 +2794,64 @@
% \end{macrocode}
%
%
+% \changes{v1.37}{2017/05/13}{Reduce list indentation (Matthew Fluet)}%
+% AMS uses generous margins for the lists. Note that |amsart| defines
+% \cs{leftmargin} values for list levels at begin document, so we must
+% redefine them in the same manner. Also, note that |amsart|
+% redefines |enumerate| and |itemize| environments with a
+% \cs{makelabel} command that uses \cs{llap}, so the \cs{labelwidth}
+% value is (effectively) irrelevant; nonetheless, we follow |amsart|
+% and set \cs{labelwidth} to \cs{leftmargin} minus \cs{labelsep}.
+% \begin{macrocode}
+\newdimen\@ACM at labelwidth
+\AtBeginDocument{%
+ \setlength\labelsep{4pt}
+ \setlength{\@ACM at labelwidth}{6.5pt}
+
+ %% First-level list: when beginning after the first line of an
+ %% indented paragraph or ending before an indented paragraph, labels
+ %% should not hang to the left of the preceding/following text.
+ \setlength\leftmargini{\z@}
+ \addtolength\leftmargini{\parindent}
+ \addtolength\leftmargini{2\labelsep}
+ \addtolength\leftmargini{\@ACM at labelwidth}
+
+ %% Second-level and higher lists.
+ \setlength\leftmarginii{\z@}
+ \addtolength\leftmarginii{0.5\labelsep}
+ \addtolength\leftmarginii{\@ACM at labelwidth}
+ \setlength\leftmarginiii{\leftmarginii}
+ \setlength\leftmarginiv{\leftmarginiii}
+ \setlength\leftmarginv{\leftmarginiv}
+ \setlength\leftmarginvi{\leftmarginv}
+ \@listi}
+\newskip\listisep
+\listisep\smallskipamount
+\def\@listI{\leftmargin\leftmargini
+ \labelwidth\leftmargini \advance\labelwidth-\labelsep
+ \listparindent\z@
+ \topsep\listisep}
+\let\@listi\@listI
+\def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii \advance\labelwidth-\labelsep
+ \topsep\z at skip}
+\def\@listiii{\leftmargin\leftmarginiii
+ \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
+\def\@listiv{\leftmargin\leftmarginiv
+ \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
+\def\@listv{\leftmargin\leftmarginv
+ \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
+\def\@listvi{\leftmargin\leftmarginvi
+ \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
+% \end{macrocode}
+%
+%
% \begin{macro}{\descriptionlabel}
+% \changes{v1.37}{2017/05/13}{Reduce list indentation (Matthew Fluet)}%
% \changes{v1.12}{2016/05/30}{Redefined}
% We do not use default colon as \cs{amsart} does:
% \begin{macrocode}
-\renewcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1}
+\renewcommand{\descriptionlabel}[1]{\upshape\bfseries #1}
% \end{macrocode}
%
% \end{macro}
@@ -2744,13 +2858,14 @@
%
%
% \begin{macro}{\description}
+% \changes{v1.37}{2017/05/13}{Reduce list indentation (Matthew Fluet)}%
% \changes{v1.17}{2016/07/07}{Decreased indent}
-% AMS uses additional indent of 6pt. Frank recommends
-% dropping it.
+% Make |description| environment indentation consistent with that of
+% |itemize| and |enumerate| environments.
% \begin{macrocode}
\renewenvironment{description}{\list{}{%
- \itemindent-12\p@
- \labelwidth\z@ \let\makelabel\descriptionlabel}%
+ \labelwidth\@ACM at labelwidth
+ \let\makelabel\descriptionlabel}%
}{
\endlist
}
@@ -2767,6 +2882,7 @@
% \changes{v1.24}{2016/11/16}{Add IMWUT journal option}
% \changes{v1.25}{2016/12/03}{Updated PACMPL}
% \changes{v1.30}{2017/02/15}{Updated IMWUT and PACMPL}
+% \changes{v1.36}{2017/05/13}{Added PACMHCI journal options}
%
% We use keyval interface to define journal title and relevant
% information
@@ -2781,6 +2897,7 @@
JERIC,%
JETC,%
JOCCH,%
+ PACMHCI,%
PACMPL,%
POMACS,%
TAAS,%
@@ -2860,6 +2977,10 @@
\or % JOCCH
\def\@journalName{ACM Journal on Computing and Cultural Heritage}%
\def\@journalName{ACM J. Comput. Cult. Herit.}%
+\or % PACMHCI
+ \def\@journalName{Proceedings of the ACM on Human-Computer Interaction}%
+ \def\@journalName{Proc. ACM Hum.-Comput. Interact.}%
+ \def\@permissionCodeOne{2573-0142}%
\or % PACMPL
\def\@journalName{Proceedings of the ACM on Programming Languages}%
\def\@journalName{Proc. ACM Program. Lang.}%
@@ -3269,7 +3390,7 @@
% \begin{macrocode}
\def\authornote#1{%
\if at ACM@anonymous\else
- \g at addto@macro\addresses{\@authornotemark}
+ \g at addto@macro\addresses{\@authornotemark}%
\g at addto@macro\@authornotes{%
\stepcounter{footnote}\footnotetext{#1}}%
\fi}
@@ -3277,6 +3398,20 @@
%
% \end{macro}
%
+% \begin{macro}{\authornotemark}
+% \changes{v1.39}{2017/05/14}{Added macro}
+% Adding footnotemark to authors
+% \begin{macrocode}
+\newcommand\authornotemark[1][\relax]{%
+ \ifx#1\relax\relax\relax
+ \g at addto@macro\addresses{\@authornotemark}%
+ \else
+ \g at addto@macro\addresses{\@@authornotemark{#1}}%
+ \fi}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \begin{macro}{\acmVolume}
% \changes{v1.17}{2016/07/10}{The default is now numerical}
% The current volume
@@ -3560,6 +3695,18 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@ACM at authorsperrow}
+% \changes{v1.36}{2017/05/13}{Added macro}
+% The number of authors per row. 0 means use default algorithm.
+% \begin{macrocode}
+\define at cmdkey{@ACM at topmatter@}[@ACM@]{authorsperrow}[0]{%
+ \IfInteger{#1}{\ClassInfo{\@classname}{Setting authorsperrow to
+ #1}}{\ClassWarning{\@classname}{Parameter authorsperrow must be
+ numerical. Ignoring the input #1}\gdef\@ACM at authorsperrow{0}}}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \begin{macro}{\settopmatter}
% The usual syntactic sugar
% \begin{macrocode}
@@ -3583,6 +3730,7 @@
\settopmatter{printfolios=false}
\fi
\fi
+\settopmatter{authorsperrow=0}
% \end{macrocode}
%
% \begin{macro}{\@received}
@@ -4658,6 +4806,7 @@
% \begin{macro}{\@mkauthors at iii}
% \changes{v1.15}{2016/07/04}{New authors system}
% \changes{v1.33}{2017/03/28}{Added obeypunctuation code}
+% \changes{v1.36}{2017/05/12}{Added authorsperrow overrride}
% The |sigconf| version. Here we use centered design with each
% author in a separate box.
% \begin{macrocode}
@@ -4671,17 +4820,21 @@
% \begin{macrocode}
\author at bx@wd=\textwidth\relax
\advance\author at bx@wd by -\author at bx@sep\relax
- \ifcase\num at authorgroups
- \relax % 0?
- \or % 1=one author per row
- \or % 2=two authors per row
- \divide\author at bx@wd by \num at authorgroups\relax
- \or % 3=three authors per row
- \divide\author at bx@wd by \num at authorgroups\relax
- \or % 4=two authors per row (!)
- \divide\author at bx@wd by 2\relax
- \else % three authors per row
- \divide\author at bx@wd by 3\relax
+ \ifnum\@ACM at authorsperrow>0\relax
+ \divide\author at bx@wd by \@ACM at authorsperrow\relax
+ \else
+ \ifcase\num at authorgroups
+ \relax % 0?
+ \or % 1=one author per row
+ \or % 2=two authors per row
+ \divide\author at bx@wd by \num at authorgroups\relax
+ \or % 3=three authors per row
+ \divide\author at bx@wd by \num at authorgroups\relax
+ \or % 4=two authors per row (!)
+ \divide\author at bx@wd by 2\relax
+ \else % three authors per row
+ \divide\author at bx@wd by 3\relax
+ \fi
\fi
\advance\author at bx@wd by -\author at bx@sep\relax
% \end{macrocode}
@@ -4726,8 +4879,10 @@
%
% \begin{macro}{\@mkauthors at iv}
% \changes{v1.33}{2017/03/28}{Added obeypunctuation code}
+% \changes{v1.36}{2017/05/12}{Added authorsperrow overrride}
% The |sigchia| version. Now we put
-% authors in the main text, and no more than 2 authors per line.
+% authors in the main text, and no more than 2 authors per line,
+% unless overriden.
% \begin{macrocode}
\def\@mkauthors at iv{%
% \end{macrocode}
@@ -4739,11 +4894,15 @@
% \begin{macrocode}
\author at bx@wd=\columnwidth\relax
\advance\author at bx@wd by -\author at bx@sep\relax
- \ifcase\num at authorgroups
- \relax % 0?
- \or % 1=one author per row
- \else % 2=two authors per row
- \divide\author at bx@wd by 2\relax
+ \ifnum\@ACM at authorsperrow>0\relax
+ \divide\author at bx@wd by \@ACM at authorsperrow\relax
+ \else
+ \ifcase\num at authorgroups
+ \relax % 0?
+ \or % 1=one author per row
+ \else % 2=two authors per row
+ \divide\author at bx@wd by 2\relax
+ \fi
\fi
\advance\author at bx@wd by -\author at bx@sep\relax
% \end{macrocode}
@@ -4785,13 +4944,23 @@
% \end{macro}
%
% \begin{macro}{\@authornotemark}
-% Adding footnotemark to authors
+% Adding footnotemark to authors. This version adds ``normal''
+% footnotemark.
% \begin{macrocode}
-\def\@authornotemark{\g at addto@macro\@currentauthors{\footnotemark}}
+\def\@authornotemark{\g at addto@macro\@currentauthors{\footnotemark\relax}}
% \end{macrocode}
%
% \end{macro}
%
+% \begin{macro}{\@@authornotemark}
+% \changes{v1.39}{2017/05/14}{Added macro}
+% Adding footnotemark to authors with the given number
+% \begin{macrocode}
+\def\@@authornotemark#1{\g at addto@macro\@currentauthors{\footnotemark[#1]}}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \begin{macro}{\@mkteasers}
% Typesetting teasers
% \begin{macrocode}
Modified: trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls 2017-05-15 20:03:54 UTC (rev 44366)
+++ trunk/Master/texmf-dist/tex/latex/acmart/acmart.cls 2017-05-15 21:14:01 UTC (rev 44367)
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{acmart}
-[2017/04/23 v1.35 Typesetting articles for Association of
+[2017/05/14 v1.39 Typesetting articles for Association of
Computing Machinery]
\def\@classname{acmart}
\InputIfFileExists{acmart-preload-hook.tex}{%
@@ -45,6 +45,7 @@
I am loading acmart-preload-hook.tex. You are fully responsible
for any problems from now on.}}{}
\RequirePackage{xkeyval}
+\RequirePackage{xstring}
\define at choicekey*+{acmart.cls}{format}[\ACM at format\ACM at format@nr]{%
manuscript, acmsmall, acmlarge, acmtog, sigconf, siggraph,
sigplan, sigchi, sigchi-a}[manuscript]{}{%
@@ -119,7 +120,7 @@
\PackageInfo{\@classname}{Not using authordraft mode}%
\fi}{\PackageError{\@classname}{Option authordraft can be either true or
false}}
-\ExecuteOptionsX{timestamp=false}
+\ExecuteOptionsX{authordraft=false}
\def\ACM at fontsize{}
\DeclareOptionX{9pt}{\edef\ACM at fontsize{\CurrentOption}}
\DeclareOptionX{10pt}{\edef\ACM at fontsize{\CurrentOption}}
@@ -179,7 +180,7 @@
\or % siggraph
\def\ACM at fontsize{9pt}%
\or % sigplan
- \def\ACM at fontsize{9pt}%
+ \def\ACM at fontsize{10pt}%
\or % sigchi
\def\ACM at fontsize{10pt}%
\or % sigchi-a
@@ -549,6 +550,7 @@
\or % sigchi
\or % sigchi-a
\fi
+\setlength\normalparindent{\parindent}
\def\copyrightpermissionfootnoterule{\kern-3\p@
\hrule \@width \columnwidth \kern 2.6\p@}
\RequirePackage{manyfoot}
@@ -697,10 +699,50 @@
\or % sigchi
\or % sigchi-a
\fi
-\renewcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1}
+\newdimen\@ACM at labelwidth
+\AtBeginDocument{%
+ \setlength\labelsep{4pt}
+ \setlength{\@ACM at labelwidth}{6.5pt}
+
+ %% First-level list: when beginning after the first line of an
+ %% indented paragraph or ending before an indented paragraph, labels
+ %% should not hang to the left of the preceding/following text.
+ \setlength\leftmargini{\z@}
+ \addtolength\leftmargini{\parindent}
+ \addtolength\leftmargini{2\labelsep}
+ \addtolength\leftmargini{\@ACM at labelwidth}
+
+ %% Second-level and higher lists.
+ \setlength\leftmarginii{\z@}
+ \addtolength\leftmarginii{0.5\labelsep}
+ \addtolength\leftmarginii{\@ACM at labelwidth}
+ \setlength\leftmarginiii{\leftmarginii}
+ \setlength\leftmarginiv{\leftmarginiii}
+ \setlength\leftmarginv{\leftmarginiv}
+ \setlength\leftmarginvi{\leftmarginv}
+ \@listi}
+\newskip\listisep
+\listisep\smallskipamount
+\def\@listI{\leftmargin\leftmargini
+ \labelwidth\leftmargini \advance\labelwidth-\labelsep
+ \listparindent\z@
+ \topsep\listisep}
+\let\@listi\@listI
+\def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii \advance\labelwidth-\labelsep
+ \topsep\z at skip}
+\def\@listiii{\leftmargin\leftmarginiii
+ \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
+\def\@listiv{\leftmargin\leftmarginiv
+ \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
+\def\@listv{\leftmargin\leftmarginv
+ \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
+\def\@listvi{\leftmargin\leftmarginvi
+ \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
+\renewcommand{\descriptionlabel}[1]{\upshape\bfseries #1}
\renewenvironment{description}{\list{}{%
- \itemindent-12\p@
- \labelwidth\z@ \let\makelabel\descriptionlabel}%
+ \labelwidth\@ACM at labelwidth
+ \let\makelabel\descriptionlabel}%
}{
\endlist
}
@@ -715,6 +757,7 @@
JERIC,%
JETC,%
JOCCH,%
+ PACMHCI,%
PACMPL,%
POMACS,%
TAAS,%
@@ -794,6 +837,10 @@
\or % JOCCH
\def\@journalName{ACM Journal on Computing and Cultural Heritage}%
\def\@journalName{ACM J. Comput. Cult. Herit.}%
+\or % PACMHCI
+ \def\@journalName{Proceedings of the ACM on Human-Computer Interaction}%
+ \def\@journalName{Proc. ACM Hum.-Comput. Interact.}%
+ \def\@permissionCodeOne{2573-0142}%
\or % PACMPL
\def\@journalName{Proceedings of the ACM on Programming Languages}%
\def\@journalName{Proc. ACM Program. Lang.}%
@@ -1063,10 +1110,16 @@
\def\@authornotes{}
\def\authornote#1{%
\if at ACM@anonymous\else
- \g at addto@macro\addresses{\@authornotemark}
+ \g at addto@macro\addresses{\@authornotemark}%
\g at addto@macro\@authornotes{%
\stepcounter{footnote}\footnotetext{#1}}%
\fi}
+\newcommand\authornotemark[1][\relax]{%
+ \ifx#1\relax\relax\relax
+ \g at addto@macro\addresses{\@authornotemark}%
+ \else
+ \g at addto@macro\addresses{\@@authornotemark{#1}}%
+ \fi}
\def\acmVolume#1{\def\@acmVolume{#1}}
\acmVolume{1}
\def\acmNumber#1{\def\@acmNumber{#1}}
@@ -1136,6 +1189,10 @@
\else
\ClassInfo{\@classname}{Suppressing folios}%
\fi}{\ClassError{\@classname}{printfolios must be true or false}}
+\define at cmdkey{@ACM at topmatter@}[@ACM@]{authorsperrow}[0]{%
+ \IfInteger{#1}{\ClassInfo{\@classname}{Setting authorsperrow to
+ #1}}{\ClassWarning{\@classname}{Parameter authorsperrow must be
+ numerical. Ignoring the input #1}\gdef\@ACM at authorsperrow{0}}}
\def\settopmatter#1{\setkeys{@ACM at topmatter@}{#1}}
\settopmatter{printccs=true, printacmref=true}
\if at ACM@manuscript
@@ -1147,6 +1204,7 @@
\settopmatter{printfolios=false}
\fi
\fi
+\settopmatter{authorsperrow=0}
\def\@received{}
\newcommand\received[2][]{\def\@tempa{#1}%
\ifx\@tempa\@empty
@@ -1806,17 +1864,21 @@
\def\@mkauthors at iii{%
\author at bx@wd=\textwidth\relax
\advance\author at bx@wd by -\author at bx@sep\relax
- \ifcase\num at authorgroups
- \relax % 0?
- \or % 1=one author per row
- \or % 2=two authors per row
- \divide\author at bx@wd by \num at authorgroups\relax
- \or % 3=three authors per row
- \divide\author at bx@wd by \num at authorgroups\relax
- \or % 4=two authors per row (!)
- \divide\author at bx@wd by 2\relax
- \else % three authors per row
- \divide\author at bx@wd by 3\relax
+ \ifnum\@ACM at authorsperrow>0\relax
+ \divide\author at bx@wd by \@ACM at authorsperrow\relax
+ \else
+ \ifcase\num at authorgroups
+ \relax % 0?
+ \or % 1=one author per row
+ \or % 2=two authors per row
+ \divide\author at bx@wd by \num at authorgroups\relax
+ \or % 3=three authors per row
+ \divide\author at bx@wd by \num at authorgroups\relax
+ \or % 4=two authors per row (!)
+ \divide\author at bx@wd by 2\relax
+ \else % three authors per row
+ \divide\author at bx@wd by 3\relax
+ \fi
\fi
\advance\author at bx@wd by -\author at bx@sep\relax
\gdef\@currentauthors{}%
@@ -1851,11 +1913,15 @@
\def\@mkauthors at iv{%
\author at bx@wd=\columnwidth\relax
\advance\author at bx@wd by -\author at bx@sep\relax
- \ifcase\num at authorgroups
- \relax % 0?
- \or % 1=one author per row
- \else % 2=two authors per row
- \divide\author at bx@wd by 2\relax
+ \ifnum\@ACM at authorsperrow>0\relax
+ \divide\author at bx@wd by \@ACM at authorsperrow\relax
+ \else
+ \ifcase\num at authorgroups
+ \relax % 0?
+ \or % 1=one author per row
+ \else % 2=two authors per row
+ \divide\author at bx@wd by 2\relax
+ \fi
\fi
\advance\author at bx@wd by -\author at bx@sep\relax
\gdef\@currentauthors{}%
@@ -1885,7 +1951,8 @@
\par\raggedright\leftskip=\z@
\lineskip=1pc\noindent
\addresses\let\and\@typeset at author@bx\and\par\bigskip\egroup}
-\def\@authornotemark{\g at addto@macro\@currentauthors{\footnotemark}}
+\def\@authornotemark{\g at addto@macro\@currentauthors{\footnotemark\relax}}
+\def\@@authornotemark#1{\g at addto@macro\@currentauthors{\footnotemark[#1]}}
\def\@mkteasers{%
\ifx\@teaserfigures\@empty\else
\def\@teaser##1{\par\bigskip\bgroup
More information about the tex-live-commits
mailing list