summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acmart/acmart.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-05-30 03:02:45 +0000
committerNorbert Preining <norbert@preining.info>2022-05-30 03:02:45 +0000
commite86bbda34fc68baf4c550857dde06eb51a304c0d (patch)
treeb26b0f9b8af7034d9e27a07270263b38659b2f3a /macros/latex/contrib/acmart/acmart.dtx
parentc00656779e19523d32d1d563e37f48709e487ce3 (diff)
CTAN sync 202205300302
Diffstat (limited to 'macros/latex/contrib/acmart/acmart.dtx')
-rw-r--r--macros/latex/contrib/acmart/acmart.dtx242
1 files changed, 225 insertions, 17 deletions
diff --git a/macros/latex/contrib/acmart/acmart.dtx b/macros/latex/contrib/acmart/acmart.dtx
index e33a089ce8..dcb00ec66c 100644
--- a/macros/latex/contrib/acmart/acmart.dtx
+++ b/macros/latex/contrib/acmart/acmart.dtx
@@ -222,6 +222,7 @@
% \item \textsl{comment}, \url{http://www.ctan.org/pkg/comment}
% \item \textsl{cm-super}, \url{http://www.ctan.org/pkg/cm-super}
% \item \textsl{cmap}, \url{http://www.ctan.org/pkg/cmap}
+% \item \textsl{doclicense}, \url{http://www.ctan.org/pkg/doclicense}
% \item \textsl{draftwatermark}, \url{http://www.ctan.org/pkg/draftwatermark}
% \item \textsl{environ}, \url{http://www.ctan.org/pkg/environ}
% \item \textsl{etoolbox}, \url{http://www.ctan.org/pkg/etoolbox}
@@ -282,10 +283,10 @@
% \begin{verbatim}
% \documentclass[acmtog, review=false]{acmart}
% \end{verbatim}
-% The possible formats are listed in
-% Table~\ref{tab:opts_format}. Note that formats starting with |acm|
-% are intended for journals and transactions, while formats starting
-% with |sig| are intended for proceedings published as books.
+% The possible formats are listed in Table~\ref{tab:opts_format}.
+% Note that formats starting with |acm| are intended for journals,
+% transactions, and course materials, while formats starting with
+% |sig| are intended for proceedings published as books.
%
% Note that sometimes conference proceedings are published as a
% special issue (or issues) of an ACM journal. In this case, you
@@ -303,7 +304,7 @@
% manuscript & A manuscript. This is the default. \\
% acmsmall & Small single-column format. Used for CIE, CSUR,
% DLT, FAC, GAMES, JACM, JDIQ, JDS, JEA, JERIC,
-% JETC, PACMCGIT, PACMHCI, PACMPL, TAAS, TACCESS, TACO,
+% JETC, JRC, PACMCGIT, PACMHCI, PACMPL, TAAS, TACCESS, TACO,
% TALG, TALLIP (formerly TALIP), TCPS, TDS,
% TEAC, TECS, TELO, THRI, TIIS, TIOT, TISSEC, TIST, TKDD, TMIS,
% TOCE, TOCHI, TOCL,
@@ -319,6 +320,7 @@
% conferences (with the exceptions listed below) and all ICPS
% volumes.\\
% sigplan & Proceedings format for SIGPLAN conferences.\\
+%. acmengage & ACM EngageCSEdu Course materials.\\
% \bottomrule
% \end{tabularx}
% \end{table}
@@ -488,6 +490,7 @@
% Art, Science and Engineering of Programming (Programming '17)}
% \end{verbatim}
%
+%
% An ACM paper should have either \cs{acmJournal} or
% \cs{acmConference} command. If it has both (or more) commands, the
% last one takes precedence. Note that if you have the command
@@ -496,6 +499,11 @@
% formatting. In the samples directory there is a file
% |sample-acmsmall-conf.tex| with the example of this usage.
%
+% An ACM Engage material should \emph{not} use \cs{acmJournal} or
+% \cs{acmConference} command. It may use \cs{acmBooktitle} to
+% override the default \emph{ACM EngageCSEdu}. It should use \cs{acmYear}
+% to set the date of the material.
+%
%
%
% \DescribeMacro{\editor}%
@@ -1033,9 +1041,30 @@
% by IW3C2.\\
% \texttt{iw3c2w3g} & Special statement for conferences organized
% by IW3C2, when some authors are approved Google employees.\\
+% \texttt{cc} & Creative Commons license. If this key is set,
+% \textsl{doclicense} images are used to typeset the license. See
+% also \cs{setcctype} command.\\
% \bottomrule
% \end{tabularx}
% \end{table}
+%
+% \DescribeMacro{\setcctype}%
+% If Creative Commons license is used, the package by default chooses
+% CC-BY 4.0 Attribution 4.0 International license. You can override
+% this choice by the command \cs{setcctype}\oarg{version}\marg{type},
+% where \oarg{version} can be either 3.0 or 4.0 (4.0 by default), and
+% \marg{type} can be one of |zero|, |by|, |by-sa|, |by-nd|,
+% |by-nc|, |by-nc-sa|, |by-nc-nd| (see
+% \url{https://creativecommons.org/licenses/} for the explanation).
+% This command should be used in the preamble only.
+%
+% Material published under Creative Commons license should include
+% the corresponding icon. A modern \TeX\ distribution includes these
+% icons in the package \textsl{doclicense}. In case your distribution
+% does not have them, ACM provides a file \path{ccicons.zip} with
+% these icons. Just unzip it in the same directory where your
+% document is.
+%
% The ACM submission software should generate the right command for you
% to paste into your file.
%
@@ -1156,6 +1185,31 @@
% \end{verbatim}
%
%
+%\subsection{Top matter of ACM Engage materials}
+%\label{sec:ug_engage}
+%
+% ACM Engage materials resemble conference proceedings, but have some
+% special features. First, as a rule, they are released under a
+% Creative Commons license. By default CC-BY is used. However, if
+% you want to use another variant of CC license, use \cs{setcctype}
+% command, for example, |\setcctype{by-nc}|. Second, abstract is
+% called \emph{synopsis}. Third, there are special top matter items
+% used for the materials, such as \emph{Course,} \emph{Resource Type,}
+% \emph{Programming Language,} \emph{CS Topics}.
+%
+% \DescribeMacro{\setengagemetadata}%
+% These items are set with the command
+% \cs{setengagemetadata}\marg{name}\marg{value}, for example,
+% \begin{verbatim}
+% \setengagemetadata{Course}{CS1}
+% \setengagemetadata{Programming Language}{Python}
+% \setengagemetadata{Knowledge Unit}{Programming Concepts}
+% \setengagemetadata{CS Topics}{Functions, Data Types, Expressions,
+% Mathematical Reasoning}
+% \end{verbatim}
+%
+% Note that the type of Creative Commons license, if such license is
+% used, is automatically added to the metadata.
%
%\subsection{Internationalization}
%\label{sec:ug_i13n}
@@ -1963,6 +2017,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 \\
+% JRC & ACM Journal on Responsible Computing \\
% PACMCGIT & Proceedings of the ACM on Computer Graphics and
% Interactive Techniques\\
% PACMHCI & PACM on Human-Computer Interaction\\
@@ -2087,7 +2142,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\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]
% \end{macrocode}
%
% \changes{v1.00}{2016/04/14}{First released version}
@@ -2196,6 +2251,7 @@
% \changes{1.75}{2020/10/29}{Documentation update}
% \changes{1.78}{2021/05/01}{Documentation update: Word count}
% \changes{1.84}{2022/04/09}{New journals: JDS, GAMES}
+% \changes{1.85}{2022/05/08}{Added CC licenses}
%
% And the driver code:
% \begin{macrocode}
@@ -2253,11 +2309,12 @@
%
%
% \begin{macro}{format}
+% \changes{1.85}{2022/05/08}{New format: acmengage}
% The possible formats
% \begin{macrocode}
\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}}
@@ -2271,6 +2328,7 @@
\@DeclareACMFormat{sigplan}
\@DeclareACMFormat{sigchi}
\@DeclareACMFormat{sigchi-a}
+\@DeclareACMFormat{acmengage}
\ExecuteOptionsX{format}
% \end{macrocode}
%
@@ -2558,6 +2616,15 @@
%
% \end{macro}
%
+% \begin{macro}{\if@ACM@engage}
+% \changes{v1.85}{2022/05/05}{Introduced macro}
+% ACM Engage course materials have special formatting
+% \begin{macrocode}
+\newif\if@ACM@engage
+\@ACM@engagefalse
+% \end{macrocode}
+%
+% \end{macro}
%
% Setting up switches
% \begin{macrocode}
@@ -2612,6 +2679,9 @@
\or % sigchi-a
\@ACM@journalfalse
\@ACM@sigchiamodetrue
+\or % acmengage
+ \@ACM@journalfalse
+ \@ACM@engagetrue
\fi
\if@ACM@journal
\@ACM@journal@bibstriptrue
@@ -2845,6 +2915,9 @@
\else
\renewcommand\keywordsname{Keywords}%
\fi
+\if@ACM@engage
+ \renewcommand\abstractname{Synopsis}%
+\fi
\ifx\ACM@languages\@empty
\else
\RequirePackage[\ACM@languages]{babel}%
@@ -2855,6 +2928,9 @@
\renewcommand\keywordsname{Keywords}%
\fi
\renewcommand\acksname{Acknowledgements}%
+ \if@ACM@engage
+ \renewcommand\abstractname{Synopsis}%
+ \fi
}%
\addto\captionsfrench{%
\if@ACM@journal
@@ -3225,6 +3301,7 @@
% \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}
+% \changes{1.85}{2022/05/08}{Added: acmengage}
% \begin{macrocode}
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
@@ -3249,6 +3326,7 @@
\or % sigchi
\or % sigchi-a
\urlstyle{sf}
+\or % acmengage
\fi
\AtEndPreamble{%
\if@ACM@urlbreakonhyphens
@@ -3436,13 +3514,21 @@
}%
\@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
% \end{macrocode}
%
%
% \begin{macro}{\parindent}
% \begin{macro}{\parskip}
-% Paragraphing
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% Paragraphing
% \begin{macrocode}
\setlength\parindent{10\p@}
\setlength\parskip{\z@}
@@ -3457,6 +3543,7 @@
\or % sigplan
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
% \end{macrocode}
%
@@ -3563,6 +3650,8 @@
\or % sigchi
\flushbottom
\or % sigchi-a
+\or % acmengage
+ \flushbottom
\fi
% \end{macrocode}
%
@@ -3788,6 +3877,7 @@
textfont={bf, small}}
\captionsetup[table]{labelfont={bf, small},
textfont={bf, small}}
+ \or % acmengage
\fi
\fi
% \end{macrocode}
@@ -3938,6 +4028,7 @@
\def\labelenumiv{\theenumiv.}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
% \end{macrocode}
%
@@ -4050,6 +4141,7 @@
% \changes{1.82}{2022/02/05}{Updated abbreviations and codes for
% several journals}
% \changes{1.84}{2022/04/09}{New journals: JDS, GAMES}
+% \changes{1.85}{2022/05/08}{New journal: JRC}
%
% We use the |xkeyval| interface to define journal titles and the relevant
% information
@@ -4071,6 +4163,7 @@
JERIC,%
JETC,%
JOCCH,%
+ JRC,%
PACMCGIT,%
PACMHCI,%
PACMPL,%
@@ -4191,6 +4284,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.}%
@@ -5307,6 +5404,7 @@
% \changes{v1.51}{2018/04/05}{Suppress price if the copyright is set
% to iw3c2w3 or iw3c2w3g}
% \changes{v1.51}{2018/04/05}{Corrected the bug with price suppression}
+% \changes{v1.85}{2022/05/08}{Added CC licenses}
% Keys:
% \begin{macrocode}
\define@choicekey*{ACM@}{acmcopyrightmode}[%
@@ -5314,7 +5412,7 @@
acmcopyright,acmlicensed,rightsretained,%
usgov,usgovmixed,cagov,cagovmixed,licensedusgovmixed,%
licensedcagov,licensedcagovmixed,othergov,licensedothergov,%
- iw3c2w3,iw3c2w3g}{%
+ iw3c2w3,iw3c2w3g,cc}{%
\@printpermissiontrue
\@printcopyrighttrue
\@acmownedtrue
@@ -5361,6 +5459,10 @@
\ifnum\acm@copyrightmode=14\relax % iw3c2w3g
\@acmownedfalse
\AtBeginDocument{\acmPrice{}}%
+ \fi
+ \ifnum\acm@copyrightmode=15\relax % cc
+ \@acmownedfalse
+ \AtBeginDocument{\acmPrice{}}%
\fi}
% \end{macrocode}
%
@@ -5373,11 +5475,23 @@
%
% \end{macro}
%
+% \begin{macro}{\setcctype}
+% \changes{v1.85}{2022/05/08}{Added macro}
+% The type of Creative Commons license used
+% \begin{macrocode}
+\newcommand\setcctype[2][4.0]{%
+ \def\ACM@cc@version{#1}%
+ \def\ACM@cc@type{#2}}
+\setcctype{by}
+% \end{macrocode}
+%
+% \end{macro}
%
% \begin{macro}{\@copyrightowner}
% \changes{v1.40}{2017/06/16}{Added new copyright version:
% licensedcagov}
% \changes{v1.52}{2018/04/09}{Rewording of licenses}
+% \changes{v1.85}{2022/05/08}{Added CC licenses}
% Here is the owner of the copyright
% \begin{macrocode}
\def\@copyrightowner{%
@@ -5416,6 +5530,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}
% \end{macrocode}
%
@@ -5436,6 +5552,7 @@
% \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]}
+% \changes{v1.85}{2022/05/08}{Added CC licenses}
% The canned permission block.
% \begin{macrocode}
\def\@copyrightpermission{%
@@ -5560,6 +5677,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}
% \end{macrocode}
%
@@ -5657,6 +5791,30 @@
% \end{macrocode}
% \end{macro}
%
+%
+%\subsection{ACM Engage top matter}
+%\label{sec:acmengagetop}
+%
+% \begin{macro}{\@acmengagemetadata}
+% \changes{v1.85}{2022/05/08}{Introduced macro}
+% The special metadata for ACM engage course materials
+% \begin{macrocode}
+\def\@acmengagemetadata{}
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \begin{macro}{\setengagemetadata}
+% \changes{v1.85}{2022/05/08}{Introduced macro}
+% Adding topic to engage metadata
+% \begin{macrocode}
+\def\setengagemetadata#1#2{%
+ \g@addto@macro{\@acmengagemetadata}{%
+ \@setengagemetadata{#1}{#2}}}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \subsection{Typesetting top matter}
% \label{sec:maketitle}
%
@@ -5708,6 +5866,7 @@
% \changes{v1.75}{2020/11/15}{Added \cs{@beginmaketitlehook}}
% \changes{v1.76}{2021/04/05}{Put \cs{par} inside group for keywords}
% \changes{v1.83}{2022/02/20}{I13n}
+% \changes{v1.85}{2022/05/08}{acmengage}
% The (in)famous \cs{maketitle}. Note that in |sigchi-a| mode, authors
% are \emph{not} in the title box.
%
@@ -5765,7 +5924,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
@@ -5806,6 +5969,7 @@
\fi}
\fi
\endgroup
+ \if@ACM@engage\@typesetengagemetadata\fi
\setcounter{footnote}{0}%
\@mkabstract
\ifx\@translatedabstracts\@empty\else
@@ -5860,7 +6024,8 @@
% \changes{v1.68}{2020/01/19}{Deleted grouping altogether}
% \changes{v1.69}{2020/02/02}{Changed dot to colon for sigplan}
% \changes{v1.78}{2021/05/02}{Again suppressed \cs{vspace} warning}
-% This macro starts sections for proceedings and uses \cs{small} for journals
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% This macro starts sections for proceedings and uses \cs{small} for journals
% \begin{macrocode}
\def\@specialsection#1{%
\let\@vspace\@vspace@orig
@@ -5884,6 +6049,8 @@
\section*{#1}%
\or % sigchi-a
\section*{#1}%
+ \or % acmengage
+ \section*{#1}%
\fi
\let\@vspace\@vspace@acm
\let\@vspacer\@vspacer@acm
@@ -5897,7 +6064,8 @@
% \changes{v1.06}{2016/05/01}{Added processing badges}
% \changes{v1.46}{2017/08/29}{Deleted rule}
% \changes{v1.78}{2021/05/16}{Added processing the overflowing title box}
-% The printing of top matter starts a new page and uses the given
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% The printing of top matter starts a new page and uses the given
% title box. Note that for |sigchi-a| we print badges here rather
% than in \cs{mktitle} since we want them in the margins.
%
@@ -5956,6 +6124,8 @@
\includegraphics[width=\@ACM@badge@width]{\@acmBadgeR@image}}%
\fi}%
\fi
+ \or % acmengage
+ \twocolumn[\box\mktitle@bx]%
\fi
}
% \end{macrocode}
@@ -5963,7 +6133,8 @@
% \end{macro}
%
% \begin{macro}{\@mktitle}
-% The title of the article
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% The title of the article
% \begin{macrocode}
\def\@mktitle{%
\ifcase\ACM@format@nr
@@ -5985,6 +6156,8 @@
\@mktitle@iii
\or % sigchi-a
\@mktitle@iv
+ \or % acmengage
+ \@mktitle@iii
\fi
}
% \end{macrocode}
@@ -5995,7 +6168,8 @@
% \changes{v1.06}{2016/05/01}{Added macro}
% \changes{v1.45}{2017/08/15}{Switched \cs{bfeseries}\cs{sffamily} to
% \cs{sffamily}\cs{bfseries}}
-% The font to typeset the title
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% The font to typeset the title
% \begin{macrocode}
\def\@titlefont{%
\ifcase\ACM@format@nr
@@ -6017,6 +6191,8 @@
\Huge\sffamily\bfseries
\or % sigchi-a
\Huge\bfseries
+ \or % acmengage
+ \Huge\sffamily\bfseries
\fi}
% \end{macrocode}
%
@@ -6025,7 +6201,8 @@
% \begin{macro}{\@subtitlefont}
% \changes{v1.06}{2016/05/01}{Added macro}
% \changes{v1.33}{2017/03/12}{Added \cs{normalsize}}
-% The font to typeset the subtitle
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% The font to typeset the subtitle
% \begin{macrocode}
\def\@subtitlefont{\normalsize
\ifcase\ACM@format@nr
@@ -6047,6 +6224,8 @@
\LARGE\mdseries
\or % sigchi-a
\mdseries
+ \or % acmengage
+ \LARGE\mdseries
\fi}
% \end{macrocode}
%
@@ -6257,7 +6436,8 @@
% \begin{macro}{\@mkauthors}
% \changes{v1.17}{2016/07/09}{TOG now uses the same authors block as
% other journals}
-% Typesetting the authors
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% Typesetting the authors
% \begin{macrocode}
\def\@mkauthors{\begingroup
\hsize=\textwidth
@@ -6280,6 +6460,8 @@
\@mkauthors@iii
\or % sigchi-a
\@mkauthors@iv
+ \or % acmengage
+ \@mkauthors@iii
\fi
\endgroup
}
@@ -6330,6 +6512,9 @@
\or % sigchi-a
\def\@authorfont{\bfseries}
\def\@affiliationfont{\mdseries}
+\or % acmengage
+ \def\@authorfont{\LARGE}
+ \def\@affiliationfont{\large}
\fi
% \end{macrocode}
%
@@ -6877,7 +7062,16 @@
%
% \end{macro}
%
-%
+% \begin{macro}{\@typesetengagemetadata}
+% \changes{v1.85}{2022/05/08}{Introduced macro}
+% Typesetting special metadata for ACM Engage
+% \begin{macrocode}
+\def\@typesetengagemetadata{%
+ \def\@setengagemetadata##1##2{\par\noindent\textbf{##1} ##2\par}%
+ \@acmengagemetadata}
+% \end{macrocode}
+%
+% \end{macro}
%
%\subsection{Headers and Footers}
%\label{sec:head_foot}
@@ -6957,7 +7151,8 @@
% \changes{v1.33}{2017/03/29}{Added macro}
% \changes{v1.34}{2017/04/10}{Rulers now are continuous}
% \changes{v1.69}{2020/02/02}{Do not increase numbers in one column format}
-% How to display the box on the right. In one column formats we do
+% \changes{1.85}{2022/05/08}{Added: acmengage}
+% How to display the box on the right. In one column formats we do
% not step the numbers.
% \begin{macrocode}
\def\ACM@linecountR{%
@@ -6981,6 +7176,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}}%
@@ -7442,6 +7639,7 @@
% \changes{v1.45}{2017/08/15}{Switched \cs{bfeseries}\cs{sffamily} to
% \cs{sffamily}\cs{bfseries}}
% \changes{v1.67}{2020/01/11}{Deleted redefinitions of sections}
+% \changes{1.85}{2022/05/08}{Added: acmengage}
% Fonts for sections etc. are different for different formats.
% \begin{macrocode}
\def\@secfont{\sffamily\bfseries\section@raggedright\MakeTextUppercase}
@@ -7478,6 +7676,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
% \end{macrocode}
%
@@ -7569,6 +7770,7 @@
\def\@acmplainnotefont{\normalfont}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
% \end{macrocode}
%
@@ -7639,6 +7841,7 @@
\def\@acmdefinitionnotefont{\normalfont}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
% \end{macrocode}
%
@@ -7737,6 +7940,7 @@
\def\@proofindent{\noindent}
\or % sigchi
\or % sigchi-a
+\or % acmengage
\fi
% \end{macrocode}
%
@@ -7783,6 +7987,8 @@
\or % sigchi
\RequirePackage{pbalance}%
\or % sigchi-a
+ \or % acmengage
+ \RequirePackage{pbalance}%
\fi
\fi
\if@ACM@balance
@@ -7805,6 +8011,8 @@
\RequirePackage{balance}%
\or % sigchi-a
\global\@ACM@balancefalse
+ \or % acmengage
+ \RequirePackage{balance}%
\fi
\fi
}