summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/acmart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-29 20:36:41 +0000
committerKarl Berry <karl@freefriends.org>2022-05-29 20:36:41 +0000
commit2866e8739ce92af0dac97e719ed300b9a2b6abaa (patch)
tree0f934c150456f3fa62fdd06a9b153c917ddd4774 /Master/texmf-dist/tex/latex/acmart
parent9ec24ccbacb63562ab65cd16a05678dcd4756167 (diff)
acmart (29may22)
git-svn-id: svn://tug.org/texlive/trunk@63437 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/acmart')
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls102
1 files changed, 99 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index f08f90d351a..0b2a9382d03 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmart.cls
+++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls
@@ -38,7 +38,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{acmart}
-[2022/04/09 v1.84 Typesetting articles for the Association for Computing Machinery]
+[2022/05/10 v1.85 Typesetting articles for the Association for Computing Machinery]
\def\@classname{acmart}
\InputIfFileExists{acmart-preload-hook.tex}{%
\ClassWarning{\@classname}{%
@@ -49,7 +49,7 @@
\RequirePackage{iftex}
\define@choicekey*+{acmart.cls}{format}[\ACM@format\ACM@format@nr]{%
manuscript, acmsmall, acmlarge, acmtog, sigconf, siggraph,
- sigplan, sigchi, sigchi-a}[manuscript]{}{%
+ sigplan, sigchi, sigchi-a, acmengage}[manuscript]{}{%
\ClassError{\@classname}{The option format must be manuscript,
acmsmall, acmlarge, acmtog, sigconf, siggraph,
sigplan, sigchi or sigchi-a}}
@@ -63,6 +63,7 @@
\@DeclareACMFormat{sigplan}
\@DeclareACMFormat{sigchi}
\@DeclareACMFormat{sigchi-a}
+\@DeclareACMFormat{acmengage}
\ExecuteOptionsX{format}
\define@boolkey+{acmart.cls}[@ACM@]{screen}[true]{%
\if@ACM@screen
@@ -177,6 +178,8 @@
\newif\if@ACM@journal
\newif\if@ACM@journal@bibstrip
\newif\if@ACM@sigchiamode
+\newif\if@ACM@engage
+\@ACM@engagefalse
\ifnum\ACM@format@nr=5\relax % siggraph
\ClassWarning{\@classname}{%
The format siggraph is now obsolete.\MessageBreak
@@ -228,6 +231,9 @@
\or % sigchi-a
\@ACM@journalfalse
\@ACM@sigchiamodetrue
+\or % acmengage
+ \@ACM@journalfalse
+ \@ACM@engagetrue
\fi
\if@ACM@journal
\@ACM@journal@bibstriptrue
@@ -368,6 +374,9 @@
\else
\renewcommand\keywordsname{Keywords}%
\fi
+\if@ACM@engage
+ \renewcommand\abstractname{Synopsis}%
+\fi
\ifx\ACM@languages\@empty
\else
\RequirePackage[\ACM@languages]{babel}%
@@ -378,6 +387,9 @@
\renewcommand\keywordsname{Keywords}%
\fi
\renewcommand\acksname{Acknowledgements}%
+ \if@ACM@engage
+ \renewcommand\abstractname{Synopsis}%
+ \fi
}%
\addto\captionsfrench{%
\if@ACM@journal
@@ -592,6 +604,7 @@
\or % sigchi
\or % sigchi-a
\urlstyle{sf}
+\or % acmengage
\fi
\AtEndPreamble{%
\if@ACM@urlbreakonhyphens
@@ -725,6 +738,13 @@
}%
\@mparswitchfalse
\reversemarginpar
+\or % acmengage
+ \geometry{twoside=true, head=13pt,
+ paperwidth=8.5in, paperheight=11in,
+ includeheadfoot, columnsep=2pc,
+ top=57pt, bottom=73pt, inner=54pt, outer=54pt,
+ marginparwidth=2pc,heightrounded
+ }%
\fi
\setlength\parindent{10\p@}
\setlength\parskip{\z@}
@@ -739,6 +759,7 @@
\or % sigplan
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
\setlength\normalparindent{\parindent}
\def\copyrightpermissionfootnoterule{\kern-3\p@
@@ -779,6 +800,8 @@
\or % sigchi
\flushbottom
\or % sigchi-a
+\or % acmengage
+ \flushbottom
\fi
\ifPDFTeX
\input{glyphtounicode}
@@ -901,6 +924,7 @@
textfont={bf, small}}
\captionsetup[table]{labelfont={bf, small},
textfont={bf, small}}
+ \or % acmengage
\fi
\fi
\newfloat{sidebar}{}{sbar}
@@ -961,6 +985,7 @@
\def\labelenumiv{\theenumiv.}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
\newdimen\@ACM@labelwidth
\AtBeginDocument{%
@@ -1029,6 +1054,7 @@
JERIC,%
JETC,%
JOCCH,%
+ JRC,%
PACMCGIT,%
PACMHCI,%
PACMPL,%
@@ -1149,6 +1175,10 @@
\def\@journalNameShort{ACM J. Comput. Cult. Herit.}%
\def\@permissionCodeOne{1556-4673}%
\def\@permissionCodeTwo{1556-4711}%
+\or % JRC
+ \def\@journalName{ACM Journal on Responsible Computing}%
+ \def\@journalNameShort{ACM J. Responsib. Comput.}%
+ \def\@permissionCodeOne{2832-0565}%
\or % PACMCGIT
\def\@journalName{Proceedings of the ACM on Computer Graphics and Interactive Techniques}%
\def\@journalNameShort{Proc. ACM Comput. Graph. Interact. Tech.}%
@@ -1691,7 +1721,7 @@
acmcopyright,acmlicensed,rightsretained,%
usgov,usgovmixed,cagov,cagovmixed,licensedusgovmixed,%
licensedcagov,licensedcagovmixed,othergov,licensedothergov,%
- iw3c2w3,iw3c2w3g}{%
+ iw3c2w3,iw3c2w3g,cc}{%
\@printpermissiontrue
\@printcopyrighttrue
\@acmownedtrue
@@ -1738,9 +1768,17 @@
\ifnum\acm@copyrightmode=14\relax % iw3c2w3g
\@acmownedfalse
\AtBeginDocument{\acmPrice{}}%
+ \fi
+ \ifnum\acm@copyrightmode=15\relax % cc
+ \@acmownedfalse
+ \AtBeginDocument{\acmPrice{}}%
\fi}
\def\setcopyright#1{\setkeys{ACM@}{acmcopyrightmode=#1}}
\setcopyright{acmcopyright}
+\newcommand\setcctype[2][4.0]{%
+ \def\ACM@cc@version{#1}%
+ \def\ACM@cc@type{#2}}
+\setcctype{by}
\def\@copyrightowner{%
\ifcase\acm@copyrightmode\relax % none
\or % acmcopyright
@@ -1777,6 +1815,8 @@
\or % ic2w3wwwgoogle
IW3C2 (International World Wide Web Conference Committee), published
under Creative Commons CC-BY-NC-ND~4.0 License.
+ \or % cc
+ Copyright held by the owner/author(s).
\fi}
\def\@formatdoi#1{\url{https://doi.org/#1}}
\def\@copyrightpermission{%
@@ -1901,6 +1941,23 @@
(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.
+ \or % CC
+ \IfEq{\ACM@cc@type}{zero}{%
+ \def\ACM@CC@Url{https://creativecommons.org/publicdomain/zero/1.0/legalcode}}{%
+ \edef\ACM@CC@Url{https://creativecommons.org/licenses/\ACM@cc@type/\ACM@cc@version/legalcode}}%
+ \href{\ACM@CC@Url}{\includegraphics[height=5ex]{doclicense-CC-\ACM@cc@type-88x31}}\\
+ \href{\ACM@CC@Url}{%
+ This work is licensed under a Creative Commons
+ \IfEq{\ACM@cc@type}{zero}{CC0 1.0 Universal}{%
+ \IfEq{\ACM@cc@type}{by}{Attribution}{}%
+ \IfEq{\ACM@cc@type}{by-sa}{Attribution-ShareAlike}{}%
+ \IfEq{\ACM@cc@type}{by-nd}{Attribution-NoDerivatives}{}%
+ \IfEq{\ACM@cc@type}{by-nc}{Attribution-NonCommercial}{}%
+ \IfEq{\ACM@cc@type}{by-nc-sa}{Attribution-NonCommercial-ShareAlike}{}%
+ \IfEq{\ACM@cc@type}{by-nc-nd}{Attribution-NonCommercial-NoDerivatives}{}%
+ ~\IfEq{\ACM@cc@version}{4.0}{4.0 International}{3.0 Unported}%
+ }
+ License.}%
\fi}
\def\copyrightyear#1{\def\@copyrightyear{#1}}
\copyrightyear{\@acmYear}
@@ -1924,6 +1981,10 @@
\let\@beginmaketitlehook\@empty
\fi
\def\AtBeginMaketitle{\g@addto@macro\@beginmaketitlehook}
+\def\@acmengagemetadata{}
+\def\setengagemetadata#1#2{%
+ \g@addto@macro{\@acmengagemetadata}{%
+ \@setengagemetadata{#1}{#2}}}
\newbox\mktitle@bx
\def\maketitle{\@beginmaketitlehook
\@ACM@maketitle@typesettrue
@@ -1974,7 +2035,11 @@
\fi
\if@ACM@manuscript\else
\if@ACM@journal@bibstrip\else % Print the conference information
+ \if@ACM@engage
+ {\itshape \@acmBooktitle, \@acmYear.}\par
+ \else
{\itshape \acmConference@shortname, \acmConference@date, \acmConference@venue}\par
+ \fi
\fi
\fi
\if@printcopyright
@@ -2015,6 +2080,7 @@
\fi}
\fi
\endgroup
+ \if@ACM@engage\@typesetengagemetadata\fi
\setcounter{footnote}{0}%
\@mkabstract
\ifx\@translatedabstracts\@empty\else
@@ -2080,6 +2146,8 @@
\section*{#1}%
\or % sigchi-a
\section*{#1}%
+ \or % acmengage
+ \section*{#1}%
\fi
\let\@vspace\@vspace@acm
\let\@vspacer\@vspacer@acm
@@ -2135,6 +2203,8 @@
\includegraphics[width=\@ACM@badge@width]{\@acmBadgeR@image}}%
\fi}%
\fi
+ \or % acmengage
+ \twocolumn[\box\mktitle@bx]%
\fi
}
\def\@mktitle{%
@@ -2157,6 +2227,8 @@
\@mktitle@iii
\or % sigchi-a
\@mktitle@iv
+ \or % acmengage
+ \@mktitle@iii
\fi
}
\def\@titlefont{%
@@ -2179,6 +2251,8 @@
\Huge\sffamily\bfseries
\or % sigchi-a
\Huge\bfseries
+ \or % acmengage
+ \Huge\sffamily\bfseries
\fi}
\def\@subtitlefont{\normalsize
\ifcase\ACM@format@nr
@@ -2200,6 +2274,8 @@
\LARGE\mdseries
\or % sigchi-a
\mdseries
+ \or % acmengage
+ \LARGE\mdseries
\fi}
\def\@mktitle@i{\hsize=\textwidth
\@ACM@title@width=\hsize
@@ -2315,6 +2391,8 @@
\@mkauthors@iii
\or % sigchi-a
\@mkauthors@iv
+ \or % acmengage
+ \@mkauthors@iii
\fi
\endgroup
}
@@ -2344,6 +2422,9 @@
\or % sigchi-a
\def\@authorfont{\bfseries}
\def\@affiliationfont{\mdseries}
+\or % acmengage
+ \def\@authorfont{\LARGE}
+ \def\@affiliationfont{\large}
\fi
\def\@typeset@author@line{%
\andify\@currentauthors\par\noindent
@@ -2617,6 +2698,9 @@
}
\def\@setthanks{\long\def\thanks##1{\par##1\@addpunct.}\thankses}
\def\@setauthorsaddresses{\@authorsaddresses\unskip\@addpunct.}
+\def\@typesetengagemetadata{%
+ \def\@setengagemetadata##1##2{\par\noindent\textbf{##1} ##2\par}%
+ \@acmengagemetadata}
\RequirePackage{fancyhdr}
\let\ACM@ps@plain\ps@plain
\let\ACM@ps@myheadings\ps@myheadings
@@ -2670,6 +2754,8 @@
\ACM@mk@linecount
\or % sigchi-a
\ACM@mk@linecount
+ \or % acmengage
+ \ACM@mk@linecount
\fi
\begin{picture}(0,0)%
\put(20,-22){\usebox{\ACM@linecount@bx}}%
@@ -2986,6 +3072,9 @@
\setcounter{secnumdepth}{0}
\def\@secfont{\sffamily\bfseries\section@raggedright\MakeTextUppercase}
\def\@subsecfont{\sffamily\bfseries\section@raggedright}
+\or % acmengage
+ \def\@secfont{\bfseries\Large\section@raggedright\MakeTextUppercase}
+ \def\@subsecfont{\bfseries\Large\section@raggedright}
\fi
\def\@adddotafter#1{#1\@addpunct{.}}
\def\@addspaceafter#1{#1\@addpunct{\enspace}}
@@ -3008,6 +3097,7 @@
\def\@acmplainnotefont{\normalfont}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
\newtheoremstyle{acmplain}%
{.5\baselineskip\@plus.2\baselineskip
@@ -3038,6 +3128,7 @@
\def\@acmdefinitionnotefont{\normalfont}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
\newtheoremstyle{acmdefinition}%
{.5\baselineskip\@plus.2\baselineskip
@@ -3093,6 +3184,7 @@
\def\@proofindent{\noindent}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
\renewenvironment{proof}[1][\proofname]{\par
\pushQED{\qed}%
@@ -3121,6 +3213,8 @@
\or % sigchi
\RequirePackage{pbalance}%
\or % sigchi-a
+ \or % acmengage
+ \RequirePackage{pbalance}%
\fi
\fi
\if@ACM@balance
@@ -3143,6 +3237,8 @@
\RequirePackage{balance}%
\or % sigchi-a
\global\@ACM@balancefalse
+ \or % acmengage
+ \RequirePackage{balance}%
\fi
\fi
}