|
38 | 38 |
|
39 | 39 | \NeedsTeXFormat{LaTeX2e} |
40 | 40 | \ProvidesClass{acmart} |
41 | | -[2024/08/25 v2.09 Typesetting articles for the Association for Computing Machinery] |
| 41 | +[2024/10/19 v2.10 Typesetting articles for the Association for Computing Machinery] |
42 | 42 | \def\@classname{acmart} |
43 | 43 | \InputIfFileExists{acmart-preload-hook.tex}{% |
44 | 44 | \ClassWarning{\@classname}{% |
|
925 | 925 | \let\@vspacer\@vspacer@orig} |
926 | 926 | \AtBeginEnvironment{listing*}{\let\@vspace\@vspace@orig |
927 | 927 | \let\@vspacer\@vspacer@orig} |
| 928 | +\AtBeginEnvironment{lstinputlisting}{\let\@vspace\@vspace@orig |
| 929 | + \let\@vspacer\@vspacer@orig} |
| 930 | +\AtBeginEnvironment{lstinputlisting*}{\let\@vspace\@vspace@orig |
| 931 | + \let\@vspacer\@vspacer@orig} |
928 | 932 |
|
929 | 933 | \RequirePackage{caption, float} |
930 | 934 | \captionsetup[table]{position=top} |
|
1684 | 1688 | \stepcounter{footnote}\footnotetext{#1}}% |
1685 | 1689 | \fi} |
1686 | 1690 | \newcommand\authornotemark[1][\relax]{% |
1687 | | - \ifx#1\relax\relax\relax |
1688 | | - \g@addto@macro\addresses{\@authornotemark}% |
1689 | | - \else |
1690 | | - \g@addto@macro\addresses{\@@authornotemark{#1}}% |
| 1691 | + \if@ACM@anonymous\else |
| 1692 | + \ifx#1\relax\relax\relax |
| 1693 | + \g@addto@macro\addresses{\@authornotemark}% |
| 1694 | + \else |
| 1695 | + \g@addto@macro\addresses{\@@authornotemark{#1}}% |
| 1696 | + \fi |
1691 | 1697 | \fi} |
1692 | 1698 | \def\acmVolume#1{\def\@acmVolume{#1}} |
1693 | 1699 | \acmVolume{1} |
|
1824 | 1830 | \fi} |
1825 | 1831 | \AtEndDocument{% |
1826 | 1832 | \ifx\@received\@empty\else |
1827 | | - \par\bigskip\noindent\small\normalfont\@received\par |
| 1833 | + \par\bigskip\noindent{\small\normalfont\@received\par}% |
1828 | 1834 | \fi} |
1829 | 1835 | \define@choicekey+{ACM}{articletype}[\ACM@ArticleType\ACM@ArticleType@nr]{% |
1830 | 1836 | Research,Review,Discussion,Invited,Position}[Review]{% |
|
2038 | 2044 | Government and is in the public domain. Non-exclusive copying or |
2039 | 2045 | redistribution is allowed, provided that the article citation is |
2040 | 2046 | given and the authors and agency are clearly identified as its |
2041 | | - source. All others Request permissions from |
| 2047 | + source. Request permissions from |
2042 | 2048 | owner\hspace*{.5pt}/author(s). |
2043 | 2049 | \or % usgovmixed |
2044 | 2050 | ACM acknowledges that this contribution was authored or co-authored |
|
3319 | 3325 | \def\@subsecfont{\bfseries\Large\section@raggedright} |
3320 | 3326 | \or %acmcp |
3321 | 3327 | \fi |
| 3328 | +\AtBeginDocument{% |
| 3329 | + \@for\@tempa:=-1,0,1,2,3,4,5\do{% |
| 3330 | + \@ifundefined{r@tocindent\@tempa}{% |
| 3331 | + \@xp\gdef\csname r@tocindent\@tempa\endcsname{0pt}}{}% |
| 3332 | + }% |
| 3333 | +} |
| 3334 | +\def\@writetocindents{% |
| 3335 | + \begingroup |
| 3336 | + \@for\@tempa:=-1,0,1,2,3,4,5\do{% |
| 3337 | + \immediate\write\@auxout{% |
| 3338 | + \string\newlabel{tocindent\@tempa}{% |
| 3339 | + \csname r@tocindent\@tempa\endcsname}}% |
| 3340 | + }% |
| 3341 | + \endgroup} |
3322 | 3342 | \def\@adddotafter#1{#1\@addpunct{.}} |
3323 | 3343 | \def\@addspaceafter#1{#1\@addpunct{\enspace}} |
3324 | 3344 | \if@ACM@acmcp |
|
0 commit comments