diff options
author | Karl Berry <karl@freefriends.org> | 2017-08-17 21:17:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-08-17 21:17:58 +0000 |
commit | fd85503e6c3803e3e9fe6db90e0239a636801c6a (patch) | |
tree | 68a33d77c48871442457232279bab47a4fff4df0 /Master/texmf-dist/source/latex/acmart | |
parent | b8ff3abffd353bbb67365864f1abdf3c9ff91fa1 (diff) |
acmart (17aug17)
git-svn-id: svn://tug.org/texlive/trunk@45058 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart')
-rw-r--r-- | Master/texmf-dist/source/latex/acmart/acmart.dtx | 285 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/acmart/acmart.ins | 10 |
2 files changed, 226 insertions, 69 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index 0e485ad3445..a95593b235c 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -15,8 +15,8 @@ % The Current Maintainer of this work is Boris Veytsman, % <borisv@lk.net> % -% This work consists of the file acmart.dtx, the derived file -% acmart.cls, the files ACM-Reference-Format.bst, and templates +% This work consists of the file acmart.dtx, the derived files +% acmart.cls, acmthm.sty, 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, @@ -98,12 +98,27 @@ % package. % % I am grateful to -% Matthew Fluet, +% Michael D.~Adams, +% Leif Andersen, +% Dirk Beyer, +% Michael Ekstrand, +% Matthew Fluet, +% Paolo G.~Giarrusso, +% Ben Greenman, +% LianTze Lim, +% Ben Liblit, +% Frank Mittelbach, +% Ross Moore, % John Owens, +% Joel Nider, +% Tobias Pape, +% Mathias Rav, +% Matteo Riondato, % Craig Rodkin, % Bernard Rous, % David Shamma, -% Stephen Spencer +% Stephen Spencer, +% John Wickerson, % and many others for their invaluable help. % % The development version of the package is available at @@ -133,9 +148,10 @@ % and rather rely on their \TeX\ distributions to provide it. If you % decide to install the package yourself, follow the standard rules: % \begin{enumerate} -% \item Run \progname{latex} on |acmart.ins|. This will produce the file -% |acmart.cls|. -% \item Put the file |acmart.cls| and the bibliography files |*.bst| +% \item Run \progname{latex} on |acmart.ins|. This will produce the files +% |acmart.cls| and |acmthm.sty| +% \item Put the files |acmart.cls|, |acmthm.sty| +% and the bibliography files |*.bst| % to the places where \LaTeX{} can find them (see \cite{TeXFAQ} or % the documentation for your \TeX{} system).\label{item:install} % \item Update the database of file names. Again, see \cite{TeXFAQ} @@ -162,7 +178,6 @@ % \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{cleveref}, \url{http://www.ctan.org/pkg/cleveref} % \item \textsl{draftwatermark}, \url{http://www.ctan.org/pkg/draftwatermark} % \item \textsl{environ}, \url{http://www.ctan.org/pkg/environ} % \item \textsl{fancyhdr}, \url{http://www.ctan.org/pkg/fancyhdr} @@ -185,6 +200,7 @@ % \item \textsl{newtx}, \url{http://www.ctan.org/pkg/newtx} % \item \textsl{oberdiek}, \url{http://www.ctan.org/pkg/oberdiek} % \item \textsl{pdftex-def}, \url{http://www.ctan.org/pkg/pdftex-def} +% \item \textsl{refcount}, \url{http://www.ctan.org/pkg/refcount} % \item \textsl{setspace}, \url{http://www.ctan.org/pkg/setspace} % \item \textsl{textcase}, \url{http://www.ctan.org/pkg/textcase} % \item \textsl{totpages}, \url{http://www.ctan.org/pkg/totpages} @@ -322,6 +338,8 @@ % timestamp & false & Whether to put a time stamp in the % footer of each page\\ % authordraft & false & Whether author's draft mode is enabled\\ +% acmthm & true & Whether to load |acmthm.sty|, see +% Section~\ref{sec:ug_theorems}\\ % \bottomrule % \end{tabularx} % \end{table} @@ -438,8 +456,7 @@ % arguments are the following: % \begin{description} % \item[short name:] the abbreviated name of the conference (optional). -% \item[name:] the name of the conference \emph{or} the name of the -% book as set by the editor. +% \item[name:] the name of the conference. % \item[date:] the date(s) of the conference. % \item[venue:] the place of the conference. % \end{description} @@ -450,10 +467,30 @@ % \acmConference{SA'15 Art Papers}{November 02--06, 2015}{Kobe, Japan} % \end{verbatim} % +% \DescribeMacro{\acmBooktitle}% +% By default we assume that the conference proceedings are published +% in the book named \emph{Proceedings of \textsc{CONFERENCE}}, where +% \textsc{CONFERENCE} is the name of the conference inferred from the +% command \cs{acmConference} above. However, sometimes the book title +% is different. The command \cs{acmBooktitle} may be used to set this +% title, for example, +% \begin{verbatim} +% \acmBooktitle{Companion to the first International Conference on the +% Art, Science and Engineering of Programming (Programming '17)} +% \end{verbatim} +% +% \DescribeMacro{\editor}% +% In most cases conference proceedings are edited. You can use the +% command \cs{editor}\oarg{editor} to set the editor of the volume. +% This command can be repeated, for example, +% \begin{verbatim} +% \editor{Jennifer B. Sartor} +% \editor{Theo D'Hondt} +% \editor{Wolfgang De Meuter} +% \end{verbatim} +% % -% Normally this command is entered either by the editor or by the typesetter. -% -% \DescribeMacro{\title} +% \DescribeMacro{\title}% % The command |\title|, as in \progname{amsart} class, has two arguments: one % optional, and one mandatory: % \begin{flushleft} @@ -766,6 +803,8 @@ % \acmYear{2010} % \acmMonth{3} % \end{verbatim} +% Note that \cs{acmArticle} is used not only for journals, but also +% for some conference proceedings. % % \DescribeMacro{\acmArticleSeq}% % The articles in the same issue of a journal have a \emph{sequential @@ -776,6 +815,7 @@ % \acmArticle{39} % The sequence number will be 39 by default % \acmArticleSeq{5} % We redefine it to 5 % \end{verbatim} +% Setting this number to zero suppresses the blob. % % \DescribeMacro{\acmSubmissionID}% % If you paper got a Submission~ID from the Conference Management @@ -792,7 +832,7 @@ % \end{verbatim} % Note that you do not need to put the dollar sign here, just the % amount. By default the price is \$15.00, unless the copyright is -% set to |usgov| or |rightsretained|, when it is suppressed Note that to +% set to |usgov| or |rightsretained|, when it is suppressed. Note that to % override the defaults you need to set the price \emph{after} the % \cs{setcopyright} command to override the default. Also, the % command |\acmPrice{}| suppresses the printing of the price. @@ -804,7 +844,8 @@ % \begin{verbatim} % \acmISBN{978-1-4503-3916-2} % \end{verbatim} -% +% Setting it to empty string, as |\acmISBN{}|, suppresses printing of +% ISBN. % % \DescribeMacro{\acmDOI}% % The macro \cs{acmDOI}\marg{DOI} sets the DOI number of the article, for @@ -812,7 +853,8 @@ % \begin{verbatim} % \acmDOI{10.1145/9999997.9999999} % \end{verbatim} -% It is normally set by the typesetter. +% It is normally set by the typesetter. Setting it to empty +% string, |\acmDOI{}| suppresses DOI. % % % \DescribeMacro{\acmBadgeR}% @@ -1188,7 +1230,17 @@ % \end{description} % % -% +% These definitions are in the separate style file |acmthm.sty|, which +% is loaded by default. However, sometimes the user might want to +% delay loading this package, for example, if she wants for load +% package like |cleveref| first. In this case use the option +% |acmthm=false| in the preamble, for example, +% \begin{verbatim} +% \documentclass[acmsmall, acmthm=false]{acmart} +% \usepackage{cleveref} +% \usepackage{acmthm} +% \end{verbatim} +% % % %\subsection{Online-only and offline-only material} @@ -1256,7 +1308,7 @@ % thanks inside this environment. % % As for |printonly| and |screenonly| environments, -% |\begin{acks}| and |\end{acls}| should start the +% |\begin{acks}| and |\end{acks}| should start the % line of their own (no leading or trailing spaces). % % \DescribeMacro{\grantsponsor}% @@ -1577,7 +1629,8 @@ \ProvidesFile{acmart.dtx} %</gobble> %<class>\ProvidesClass{acmart} -[2017/07/02 v1.42 Typesetting articles for Association of +%<acmthm>\ProvidesPackage{acmthm} +[2017/08/15 v1.45 Typesetting articles for Association of Computing Machinery] % \end{macrocode} % @@ -1640,7 +1693,10 @@ Computing Machinery] % \changes{v1.40}{2017/06/16}{Added new copyright version: % licensedcagov} % \changes{v1.41}{2017/06/25}{Added new badges} -% \changes{v1.41}{2017/07/02}{Deleted ACM badges} +% \changes{v1.42}{2017/07/02}{Deleted ACM badges} +% \changes{v1.44}{2017/07/30}{Added package refcount} +% \changes{v1.44}{2017/07/30}{Deleted package cleveref} +% \changes{v1.44}{2017/07/30}{Put theorem defs in a separate style} % % % And the driver code: @@ -1732,6 +1788,22 @@ Computing Machinery] % % \end{macro} % +% \begin{macro}{\if@ACM@acmthm} +% \changes{v1.44}{2017/07/30}{Added macro} +% Whether we load |acmthm| +% \begin{macrocode} +\define@boolkey+{acmart.cls}[@ACM@]{acmthm}[true]{% + \if@ACM@acmthm + \PackageInfo{\@classname}{Requiring acmthm}% + \else + \PackageInfo{\@classname}{Suppressing acmthm}% + \fi}{\PackageError{\@classname}{Option acmthm can be either true or + false}} +\ExecuteOptionsX{acmthm=true} +% \end{macrocode} +% +% \end{macro} +% % % \begin{macro}{\if@ACM@review} % Whether we use review mode @@ -1968,8 +2040,10 @@ Computing Machinery] % \end{macrocode} % % -% We need |totpages| package to calculate the number of pages +% We need |totpages| package to calculate the number of pages and +% |refcount| to use the number % \begin{macrocode} +\RequirePackage{refcount} \RequirePackage{totpages} % \end{macrocode} % @@ -2228,10 +2302,11 @@ Computing Machinery] % % \begin{macro}{\@startsection} % \changes{v1.31}{2017/03/04}{Rededined macro} +% \changes{v1.43}{2017/07/09}{Added \cs{makeatletter}} % Amsart redefines \cs{startsection}. Here we redefine it again to % make TOC working % \begin{macrocode} -\def\@starttoc#1#2{\begingroup +\def\@starttoc#1#2{\begingroup\makeatletter \setTrue{#1}% \par\removelastskip\vskip\z@skip \@startsection{section}\@M\z@{\linespacing\@plus\linespacing}% @@ -2308,7 +2383,6 @@ Computing Machinery] \else \hypersetup{hidelinks} \fi -\RequirePackage{cleveref} % \end{macrocode} % % Bibliography mangling. @@ -3245,6 +3319,50 @@ Computing Machinery] % % \end{macro} % +% \begin{macro}{\acmBooktitle} +% \changes{v1.44}{2017/08/11}{Added macro} +% \begin{macro}{\@acmBooktitle} +% \changes{v1.44}{2017/08/11}{Added macro} +% The book title of the conference: +% \begin{macrocode} +\def\acmBooktitle#1{\gdef\@acmBooktitle{#1}} +\acmBooktitle{Proceedings of \acmConference@name + \ifx\acmConference@name\acmConference@shortname\else + \ (\acmConference@shortname)\fi} +% \end{macrocode} +% +% \end{macro} +% \end{macro} +% +% \begin{macro}{\@editorsAbbrev} +% \changes{v1.44}{2017/08/11}{Added macro} +% How to abbreviate editors +% \begin{macrocode} +\def\@editorsAbbrev{(Ed.)} +% \end{macrocode} +% +% \end{macro} +% +% \begin{macro}{\@acmEditors} +% \changes{v1.44}{2017/08/11}{Added macro} +% The list of editors +\def\@acmEditors{} +% \end{macro} +% +% \begin{macro}{\editor} +% \changes{v1.44}{2017/08/11}{Added macro} +% Add new editor to the list +% \begin{macrocode} +\def\editor#1{\ifx\@acmEditors\@empty + \gdef\@acmEditors{#1}% + \else + \gdef\@editorsAbbrev{(Eds.)}% + \g@addto@macro\@acmEditors{\and#1}% +\fi} +% \end{macrocode} +% +% \end{macro} +% % \begin{macro}{\subtitle} % The subtitle macro % \begin{macrocode} @@ -3500,16 +3618,18 @@ Computing Machinery] % % \begin{macro}{\acmArticle} % \changes{v1.17}{2016/07/10}{The default is now numerical} +% \changes{v1.44}{2017/08/111}{The default is now empty} % The current article % \begin{macrocode} \def\acmArticle#1{\def\@acmArticle{#1}} -\acmArticle{1} +\acmArticle{} % \end{macrocode} % % \end{macro} % % \begin{macro}{\acmArticleSeq} % \changes{v1.04}{2016/04/26}{Name change by Matthew Fluet} +% \changes{v1.44}{2017/08/11}{Now acmArticle might be empty} % The sequence number % \begin{macrocode} \def\acmArticleSeq#1{\def\@acmArticleSeq{#1}} @@ -4089,16 +4209,10 @@ Computing Machinery] source. \or % usgovmixed ACM acknowledges that this contribution was authored or co-authored - by an employee, or contractor of the national government. As such, - the Government retains a nonexclusive, royalty-free right to + by an employee, contractor, or affiliate of the United States government. As such, + the United States government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for - Government purposes only. Permission to make digital or hard copies - for personal or classroom use is granted. Copies must bear this - notice and the full citation on the first page. Copyrights for - components of this work owned by others than ACM must be - honored. To copy otherwise, distribute, republish, or post, - requires prior specific permission and\hspace*{.5pt}/or a - fee. Request permissions from permissions@acm.org. + government purposes only. \or % cagov This article was authored by employees of the Government of Canada. As such, the Canadian government retains all interest in the @@ -4252,6 +4366,8 @@ Computing Machinery] % \changes{v1.34}{2017/04/09}{Added date to the bibstrip in conf proceedings} % \changes{v1.34}{2017/04/09}{The \cs{terms} command is now obsolete} % \changes{v1.34}{2017/04/11}{Rearranged bibstrip} +% \changes{v1.44}{2017/07/30}{Empty DOI or ISBN are not printed (by +% Michael Ekstrand)} % The (in)famous \cs{maketitle}. Note that in sigchi-a mode authors % are \emph{not} in the title box. % @@ -4319,7 +4435,7 @@ Computing Machinery] \if@ACM@journal \emph{\@journalName}% \else - \emph{Proceedings of \acmConference@name, \acmConference@date}% + \emph{\@acmBooktitle}% \fi \ifx\@acmDOI\@empty . @@ -4332,9 +4448,9 @@ Computing Machinery] \ifx\@acmPrice\@empty\else\ \$\@acmPrice\fi\\ \@formatdoi{\@acmDOI}% \else % Conference - ACM~ISBN~\@acmISBN - \ifx\@acmPrice\@empty.\else\dots\$\@acmPrice\fi\\ - \@formatdoi{\@acmDOI}% + \ifx\@acmISBN\@empty\else ACM~ISBN~\@acmISBN + \ifx\@acmPrice\@empty.\else\dots\$\@acmPrice\fi\\\fi + \ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi% \fi \fi \fi} @@ -4488,16 +4604,18 @@ Computing Machinery] % % \begin{macro}{\@titlefont} % \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 title % \begin{macrocode} \def\@titlefont{% \ifcase\ACM@format@nr \relax % manuscript - \LARGE\bfseries\sffamily + \LARGE\sffamily\bfseries \or % acmsmall - \LARGE\bfseries\sffamily + \LARGE\sffamily\bfseries \or % acmlarge - \LARGE\bfseries\sffamily + \LARGE\sffamily\bfseries \or % acmtog \Huge\sffamily \or % sigconf @@ -4697,13 +4815,11 @@ Computing Machinery] % \changes{v1.15}{2016/07/03}{Added macro} % \changes{v1.33}{2017/03/28}{Added obeypunctuation code} % \changes{v1.40}{2017/05/27}{Fixed bugs with extra spaces} +% \changes{v1.43}{2017/07/11}{Added comma before country for journals} % Theoretically we can define the macros for \cs{affiliation} inside % the \cs{@mkauthors}-style commands. However, this would lead to a % strange error if an author uses them outside \cs{affiliation}. Of % course we can make them produce an error message, but\ldots -% -% We follow the strange American tradtion of no comma before zip -% code. % \begin{macrocode} \def\streetaddress#1{\unskip\ignorespaces} \def\postcode#1{\unskip\ignorespaces} @@ -4713,7 +4829,7 @@ Computing Machinery] \def\city#1{\unskip\ignorespaces} \def\state#1{\unskip\ignorespaces} \newcommand\department[2][0]{} - \def\country#1{\unskip\ignorespaces} + \def\country#1{\if@ACM@affiliation@obeypunctuation\else, \fi#1\ignorespaces} \else \def\position#1{\if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% \def\institution#1{\if@ACM@affiliation@obeypunctuation#1\else#1\par\fi}% @@ -5128,26 +5244,32 @@ Computing Machinery] % \changes{v1.17}{2016/07/10}{Added \cs{nobreak}} % \changes{v1.31}{2017/03/04}{Disabled linebreak} % \changes{v1.34}{2017/04/09}{Deleted DOI from doi numbers} +% \changes{v1.44}{2017/07/30}{If the paper has just one page, use +% `page' instead of `pages'} % Print bibcitation format % \begin{macrocode} -\def\@mkbibcitation{\bgroup +\def\@mkbibcitation{\bgroup + \def\@pages@word{\ifnum\getrefnumber{TotPages}=1\relax page\else pages\fi}% \def\footnotemark{}% \def\\{\unskip{} \ignorespaces}% \def\footnote{\ClassError{\@classname}{Please do note use footnotes inside \string\title{} or \string\author{} command! Use \string\titlenote{} or \string\authornote{} instead!}}% - \par\medskip\small\noindent{\bfseries ACM Reference format:}\par\nobreak + \def\@article@string{\ifx\@acmArticle\@empty{\ }\else, + Article~\@acmArticle\ \fi}% + \par\medskip\small\noindent{\bfseries ACM Reference Format:}\par\nobreak \noindent\authors. \@acmYear. \@title. \if@ACM@journal \textit{\@journalNameShort} - \@acmVolume, \@acmNumber, Article~\@acmArticle\ (\@acmPubDate), - \ref{TotPages}~pages. + \@acmVolume, \@acmNumber \@article@string (\@acmPubDate), + \ref{TotPages}~\@pages@word. \else - In \textit{Proceedings of \acmConference@name, \acmConference@venue, - \acmConference@date - \ifx\acmConference@name\acmConference@shortname\else - \ (\acmConference@shortname)\fi - ,} \ref{TotPages}~pages. + In \textit{\@acmBooktitle}% + \ifx\@acmEditors\@empty\textit{.}\else + \andify\@acmEditors\textit{, }\@acmEditors~\@editorsAbbrev.% + \fi\ + ACM, New York, NY, USA% + \@article@string\unskip, \ref{TotPages}~\@pages@word. \fi\par \noindent\@formatdoi{\@acmDOI} \par\egroup} @@ -5424,9 +5546,13 @@ Computing Machinery] % \end{macro} % % \begin{macro}{\@folioblob} +% \changes{v1.44}{2017/08/11}{Suppress the blob if acmArticleSeq is empty} +% \changes{v1.45}{2017/08/15}{Switched \cs{bfeseries}\cs{sffamily} to +% \cs{sffamily}\cs{bfseries}} % The macro to typeset the folio blob. % \begin{macrocode} -\def\@folioblob{\@tempcnta=\@acmArticleSeq\relax +\def\@folioblob{\@tempcnta=0\@acmArticleSeq\relax + \ifnum\@tempcnta=0\relax\else % \end{macrocode} % First, we calculate \cs{@acmArticleSeq} modulo \cs{@folio@max} % \begin{macrocode} @@ -5448,8 +5574,8 @@ Computing Machinery] \rule{\@folio@wd}{\@folio@ht}}}% \parbox{\@folio@wd}{% \centering - \textcolor{white}{\LARGE\bfseries\sffamily\@acmArticle}}}} - \end{picture}} + \textcolor{white}{\LARGE\sffamily\bfseries\@acmArticle}}}} + \end{picture}\fi} % \end{macrocode} % @@ -5510,6 +5636,24 @@ Computing Machinery] % % \end{macro} % +% \begin{macro}{\ACM@restore@pagestyle} +% \changes{v1.44}{2017/07/30}{Added macro} +% The following code by Ross Moore protects against changes by +% |totpages| package: +% \begin{macrocode} +\let\ACM@ps@plain\ps@plain +\let\ACM@ps@myheadings\ps@myheadings +\let\ACM@ps@headings\ps@headings +\def\ACM@restore@pagestyle{% + \let\ps@plain\ACM@ps@plain + \let\ps@myheadings\ACM@ps@myheadings + \let\ps@headings\ACM@ps@headings} +\AtBeginDocument{\ACM@restore@pagestyle} +% \end{macrocode} +% +% +% \end{macro} +% % %\subsection{Sectioning} %\label{sec:sectioninng} @@ -5557,8 +5701,10 @@ Computing Machinery] % \begin{macro}{\@subsecfont} % \begin{macro}{\@subsubsecfont} % \begin{macro}{\@parfont} -% \changes{v1.12}{2016/05/30}{Moved to \cs{section@raggedright}}% +% \changes{v1.12}{2016/05/30}{Moved to \cs{section@raggedright}}% % \changes{v1.40}{2017/06/04}{Switched to MakeTextUppercase} +% \changes{v1.45}{2017/08/15}{Switched \cs{bfeseries}\cs{sffamily} to +% \cs{sffamily}\cs{bfseries}} % Fonts for sections etc. are different for different formats. % \begin{macrocode} \def\@secfont{\sffamily\bfseries\section@raggedright\MakeTextUppercase} @@ -5579,8 +5725,8 @@ Computing Machinery] \def\@secfont{\bfseries\Large\section@raggedright\MakeTextUppercase} \def\@subsecfont{\bfseries\Large\section@raggedright} \or % siggraph - \def\@secfont{\bfseries\sffamily\Large\section@raggedright\MakeTextUppercase} - \def\@subsecfont{\bfseries\sffamily\Large\section@raggedright} + \def\@secfont{\sffamily\bfseries\Large\section@raggedright\MakeTextUppercase} + \def\@subsecfont{\sffamily\bfseries\Large\section@raggedright} \or % sigplan \def\@secfont{\bfseries\Large\section@raggedright} \def\@subsecfont{\bfseries\section@raggedright} @@ -5601,12 +5747,12 @@ Computing Machinery] \def\@subparfont{\itshape} \or % sigchi \setcounter{secnumdepth}{1} - \def\@secfont{\bfseries\sffamily\section@raggedright\MakeTextUppercase} - \def\@subsecfont{\bfseries\sffamily\section@raggedright} + \def\@secfont{\sffamily\bfseries\section@raggedright\MakeTextUppercase} + \def\@subsecfont{\sffamily\bfseries\section@raggedright} \or % sigchi-a \setcounter{secnumdepth}{0} - \def\@secfont{\bfseries\sffamily\section@raggedright\MakeTextUppercase} - \def\@subsecfont{\bfseries\sffamily\section@raggedright} + \def\@secfont{\sffamily\bfseries\section@raggedright\MakeTextUppercase} + \def\@subsecfont{\sffamily\bfseries\section@raggedright} \fi % \end{macrocode} % @@ -5650,10 +5796,18 @@ Computing Machinery] %\subsection{Theorems} %\label{sec:theorems} % -% +% The conditional loading +% \begin{macrocode} +\if@ACM@acmthm + \RequirePackage{acmthm} +\fi +% \end{macrocode} +% % \begin{macro}{\@acmplainbodyfont} % The font to typeset the |acmplain| theorem style body. % \begin{macrocode} +%</class> +%<*acmthm> \def\@acmplainbodyfont{\itshape} % \end{macrocode} % @@ -5850,12 +6004,13 @@ Computing Machinery] }{% \popQED\endtrivlist\@endpefalse } +%</acmthm> +%<*class> % \end{macrocode} % % \end{macro} % % -% %\subsection{Acknowledgments} %\label{sec:acks} % diff --git a/Master/texmf-dist/source/latex/acmart/acmart.ins b/Master/texmf-dist/source/latex/acmart/acmart.ins index 8d93280a2c2..aa74c69ed32 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.ins +++ b/Master/texmf-dist/source/latex/acmart/acmart.ins @@ -12,16 +12,18 @@ \askforoverwritefalse \generate{% - \file{acmart.cls}{\from{acmart.dtx}{class}}} + \file{acmart.cls}{\from{acmart.dtx}{class}} + \file{acmthm.sty}{\from{acmart.dtx}{acmthm}} +} \obeyspaces \Msg{*****************************************************}% \Msg{* Congratulations! You successfully generated the *}% \Msg{* acmart package. *}% \Msg{* *}% -\Msg{* Please move the file acmart.cls to where LaTeX *}% -\Msg{* files are stored in your system. The manual is *}% -\Msg{* acmart.pdf. *}% +\Msg{* Please move the files acmart.cls and acmthm.sty *}% +\Msg{* to the location where LaTeX files are stored in *}% +\Msg{* your system. The manual is acmart.pdf. *}% \Msg{* *}% \Msg{* The package is released under LPPL *}% \Msg{* *}% |