acmart: update acmart.cls to version 1.54
This commit is contained in:
parent
87c5f43bdf
commit
ddefcc1018
|
@ -37,7 +37,7 @@
|
||||||
%% Right brace \} Tilde \~}
|
%% Right brace \} Tilde \~}
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesClass{acmart}
|
\ProvidesClass{acmart}
|
||||||
[2018/04/14 v1.53 Typesetting articles for the Association for
|
[2018/07/16 v1.54 Typesetting articles for the Association for
|
||||||
Computing Machinery]
|
Computing Machinery]
|
||||||
\def\@classname{acmart}
|
\def\@classname{acmart}
|
||||||
\InputIfFileExists{acmart-preload-hook.tex}{%
|
\InputIfFileExists{acmart-preload-hook.tex}{%
|
||||||
|
@ -96,6 +96,18 @@ Computing Machinery]
|
||||||
\fi}{\PackageError{\@classname}{The option authorversion can be either true or
|
\fi}{\PackageError{\@classname}{The option authorversion can be either true or
|
||||||
false}}
|
false}}
|
||||||
\ExecuteOptionsX{authorversion=false}
|
\ExecuteOptionsX{authorversion=false}
|
||||||
|
\define@boolkey+{acmart.cls}[@ACM@]{nonacm}[true]{%
|
||||||
|
\if@ACM@nonacm
|
||||||
|
\PackageInfo{\@classname}{Using nonacm mode}%
|
||||||
|
\AtBeginDocument{\@ACM@printacmreffalse}%
|
||||||
|
% in 'nonacm' mode we disable the "ACM Reference Format"
|
||||||
|
% printing by default, but this can be re-enabled by the
|
||||||
|
% user using \settopmatter{printacmref=true}
|
||||||
|
\else
|
||||||
|
\PackageInfo{\@classname}{Not using nonacm mode}%
|
||||||
|
\fi}{\PackageError{\@classname}{The option nonacm can be either true or
|
||||||
|
false}}
|
||||||
|
\ExecuteOptionsX{nonacm=false}
|
||||||
\define@boolkey+{acmart.cls}[@ACM@]{natbib}[true]{%
|
\define@boolkey+{acmart.cls}[@ACM@]{natbib}[true]{%
|
||||||
\if@ACM@natbib
|
\if@ACM@natbib
|
||||||
\PackageInfo{\@classname}{Explicitly selecting natbib mode}%
|
\PackageInfo{\@classname}{Explicitly selecting natbib mode}%
|
||||||
|
@ -410,6 +422,32 @@ Computing Machinery]
|
||||||
\def\l@section{\@tocline{1}{0pt}{1pc}{2pc}{}}
|
\def\l@section{\@tocline{1}{0pt}{1pc}{2pc}{}}
|
||||||
\def\l@subsection{\@tocline{2}{0pt}{1pc}{3pc}{}}
|
\def\l@subsection{\@tocline{2}{0pt}{1pc}{3pc}{}}
|
||||||
\def\l@subsubsection{\@tocline{2}{0pt}{1pc}{5pc}{}}
|
\def\l@subsubsection{\@tocline{2}{0pt}{1pc}{5pc}{}}
|
||||||
|
\def\@makefntext{\noindent\@makefnmark}
|
||||||
|
\if@ACM@sigchiamode
|
||||||
|
\long\def\@footnotetext#1{\marginpar{%
|
||||||
|
\reset@font\small
|
||||||
|
\interlinepenalty\interfootnotelinepenalty
|
||||||
|
\protected@edef\@currentlabel{%
|
||||||
|
\csname p@footnote\endcsname\@thefnmark
|
||||||
|
}%
|
||||||
|
\color@begingroup
|
||||||
|
\@makefntext{%
|
||||||
|
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
|
||||||
|
\color@endgroup}}%
|
||||||
|
\fi
|
||||||
|
\long\def\@mpfootnotetext#1{%
|
||||||
|
\global\setbox\@mpfootins\vbox{%
|
||||||
|
\unvbox\@mpfootins
|
||||||
|
\reset@font\footnotesize
|
||||||
|
\hsize\columnwidth
|
||||||
|
\@parboxrestore
|
||||||
|
\protected@edef\@currentlabel
|
||||||
|
{\csname p@mpfootnote\endcsname\@thefnmark}%
|
||||||
|
\color@begingroup\centering
|
||||||
|
\@makefntext{%
|
||||||
|
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
|
||||||
|
\color@endgroup}}
|
||||||
|
\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}}
|
||||||
\let\@footnotemark@nolink\@footnotemark
|
\let\@footnotemark@nolink\@footnotemark
|
||||||
\let\@footnotetext@nolink\@footnotetext
|
\let\@footnotetext@nolink\@footnotetext
|
||||||
\RequirePackage[bookmarksnumbered,unicode]{hyperref}
|
\RequirePackage[bookmarksnumbered,unicode]{hyperref}
|
||||||
|
@ -442,7 +480,9 @@ Computing Machinery]
|
||||||
filecolor=ACMDarkBlue}
|
filecolor=ACMDarkBlue}
|
||||||
\else
|
\else
|
||||||
\hypersetup{hidelinks}
|
\hypersetup{hidelinks}
|
||||||
\fi}
|
\fi
|
||||||
|
\hypersetup{pdflang={English},
|
||||||
|
pdfdisplaydoctitle}}
|
||||||
\if@ACM@natbib
|
\if@ACM@natbib
|
||||||
\let\citeN\cite
|
\let\citeN\cite
|
||||||
\let\cite\citep
|
\let\cite\citep
|
||||||
|
@ -586,32 +626,6 @@ Computing Machinery]
|
||||||
\color@endgroup
|
\color@endgroup
|
||||||
\egroup
|
\egroup
|
||||||
\expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}}
|
\expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}}
|
||||||
\def\@makefntext{\noindent\@makefnmark}
|
|
||||||
\if@ACM@sigchiamode
|
|
||||||
\long\def\@footnotetext#1{\marginpar{%
|
|
||||||
\reset@font\small
|
|
||||||
\interlinepenalty\interfootnotelinepenalty
|
|
||||||
\protected@edef\@currentlabel{%
|
|
||||||
\csname p@footnote\endcsname\@thefnmark
|
|
||||||
}%
|
|
||||||
\color@begingroup
|
|
||||||
\@makefntext{%
|
|
||||||
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
|
|
||||||
\color@endgroup}}%
|
|
||||||
\fi
|
|
||||||
\long\def\@mpfootnotetext#1{%
|
|
||||||
\global\setbox\@mpfootins\vbox{%
|
|
||||||
\unvbox\@mpfootins
|
|
||||||
\reset@font\footnotesize
|
|
||||||
\hsize\columnwidth
|
|
||||||
\@parboxrestore
|
|
||||||
\protected@edef\@currentlabel
|
|
||||||
{\csname p@mpfootnote\endcsname\@thefnmark}%
|
|
||||||
\color@begingroup\centering
|
|
||||||
\@makefntext{%
|
|
||||||
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
|
|
||||||
\color@endgroup}}
|
|
||||||
\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}}
|
|
||||||
\def\@textbottom{\vskip \z@ \@plus 1pt}
|
\def\@textbottom{\vskip \z@ \@plus 1pt}
|
||||||
\let\@texttop\relax
|
\let\@texttop\relax
|
||||||
\RequirePackage{iftex}
|
\RequirePackage{iftex}
|
||||||
|
@ -639,6 +653,7 @@ Computing Machinery]
|
||||||
have the newtxmath package installed. Please upgrade your
|
have the newtxmath package installed. Please upgrade your
|
||||||
TeX}\@ACM@newfontsfalse}
|
TeX}\@ACM@newfontsfalse}
|
||||||
\if@ACM@newfonts
|
\if@ACM@newfonts
|
||||||
|
\RequirePackage[T1]{fontenc}
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\RequirePackage[tt=false]{libertine}
|
\RequirePackage[tt=false]{libertine}
|
||||||
\else
|
\else
|
||||||
|
@ -646,9 +661,6 @@ Computing Machinery]
|
||||||
\fi
|
\fi
|
||||||
\RequirePackage[varqu]{zi4}
|
\RequirePackage[varqu]{zi4}
|
||||||
\RequirePackage[libertine]{newtxmath}
|
\RequirePackage[libertine]{newtxmath}
|
||||||
\ifxetex\else
|
|
||||||
\RequirePackage[T1]{fontenc}
|
|
||||||
\fi
|
|
||||||
\fi
|
\fi
|
||||||
\let\liningnums\@undefined
|
\let\liningnums\@undefined
|
||||||
\AtEndPreamble{%
|
\AtEndPreamble{%
|
||||||
|
@ -1114,7 +1126,9 @@ Computing Machinery]
|
||||||
\fi
|
\fi
|
||||||
\ifx\addresses\@empty
|
\ifx\addresses\@empty
|
||||||
\if@ACM@anonymous
|
\if@ACM@anonymous
|
||||||
\gdef\addresses{\@author{Anonymous Author(s)}}%
|
\gdef\addresses{\@author{Anonymous Author(s)%
|
||||||
|
\ifx\@acmSubmissionID\@empty\else\\Submission Id:
|
||||||
|
\@acmSubmissionID\fi}}%
|
||||||
\gdef\authors{Anonymous Author(s)}%
|
\gdef\authors{Anonymous Author(s)}%
|
||||||
\else
|
\else
|
||||||
\gdef\addresses{\@author{#2}}%
|
\gdef\addresses{\@author{#2}}%
|
||||||
|
@ -1128,7 +1142,9 @@ Computing Machinery]
|
||||||
\fi
|
\fi
|
||||||
\if@ACM@anonymous
|
\if@ACM@anonymous
|
||||||
\ifx\shortauthors\@empty
|
\ifx\shortauthors\@empty
|
||||||
\gdef\shortauthors{Anon.}%
|
\gdef\shortauthors{Anon.
|
||||||
|
\ifx\@acmSubmissionID\@empty\else Submission Id:
|
||||||
|
\@acmSubmissionID\fi}%
|
||||||
\fi
|
\fi
|
||||||
\else
|
\else
|
||||||
\def\@tempa{#1}%
|
\def\@tempa{#1}%
|
||||||
|
@ -1606,7 +1622,7 @@ Computing Machinery]
|
||||||
\fi
|
\fi
|
||||||
\fi
|
\fi
|
||||||
\fi
|
\fi
|
||||||
\footnotetextcopyrightpermission{%
|
\if@ACM@nonacm\else\footnotetextcopyrightpermission{%
|
||||||
\if@ACM@authordraft
|
\if@ACM@authordraft
|
||||||
\raisebox{-2ex}[\z@][\z@]{\makebox[0pt][l]{\large\bfseries
|
\raisebox{-2ex}[\z@][\z@]{\makebox[0pt][l]{\large\bfseries
|
||||||
Unpublished working draft. Not for distribution.}}%
|
Unpublished working draft. Not for distribution.}}%
|
||||||
|
@ -1644,6 +1660,7 @@ Computing Machinery]
|
||||||
, \@formatdoi{\@acmDOI}.
|
, \@formatdoi{\@acmDOI}.
|
||||||
\fi\\
|
\fi\\
|
||||||
\else
|
\else
|
||||||
|
\if@ACM@nonacm\else
|
||||||
\if@ACM@journal
|
\if@ACM@journal
|
||||||
\@permissionCodeOne/\@acmYear/\@acmMonth-ART\@acmArticle
|
\@permissionCodeOne/\@acmYear/\@acmMonth-ART\@acmArticle
|
||||||
\ifx\@acmPrice\@empty\else\ \$\@acmPrice\fi\\
|
\ifx\@acmPrice\@empty\else\ \$\@acmPrice\fi\\
|
||||||
|
@ -1654,7 +1671,9 @@ Computing Machinery]
|
||||||
\ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi%
|
\ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi%
|
||||||
\fi
|
\fi
|
||||||
\fi
|
\fi
|
||||||
|
\fi
|
||||||
\fi}
|
\fi}
|
||||||
|
\fi
|
||||||
\endgroup
|
\endgroup
|
||||||
\setcounter{footnote}{0}%
|
\setcounter{footnote}{0}%
|
||||||
\@mkabstract
|
\@mkabstract
|
||||||
|
@ -1680,8 +1699,6 @@ Computing Machinery]
|
||||||
\@mkbibcitation
|
\@mkbibcitation
|
||||||
\fi
|
\fi
|
||||||
\hypersetup{%
|
\hypersetup{%
|
||||||
pdflang={English},
|
|
||||||
pdfdisplaydoctitle,
|
|
||||||
pdfauthor={\authors},
|
pdfauthor={\authors},
|
||||||
pdftitle={\@title},
|
pdftitle={\@title},
|
||||||
pdfsubject={\@concepts},
|
pdfsubject={\@concepts},
|
||||||
|
@ -2142,8 +2159,8 @@ Computing Machinery]
|
||||||
\def\@mkbibcitation{\bgroup
|
\def\@mkbibcitation{\bgroup
|
||||||
\def\@pages@word{\ifnum\getrefnumber{TotPages}=1\relax page\else pages\fi}%
|
\def\@pages@word{\ifnum\getrefnumber{TotPages}=1\relax page\else pages\fi}%
|
||||||
\def\footnotemark{}%
|
\def\footnotemark{}%
|
||||||
\def\\{\unskip{} \ignorespaces}%
|
\def\\{\unskip{}, \ignorespaces}%
|
||||||
\def\footnote{\ClassError{\@classname}{Please do note use footnotes
|
\def\footnote{\ClassError{\@classname}{Please do not use footnotes
|
||||||
inside a \string\title{} or \string\author{} command! Use
|
inside a \string\title{} or \string\author{} command! Use
|
||||||
\string\titlenote{} or \string\authornote{} instead!}}%
|
\string\titlenote{} or \string\authornote{} instead!}}%
|
||||||
\def\@article@string{\ifx\@acmArticle\@empty{\ }\else,
|
\def\@article@string{\ifx\@acmArticle\@empty{\ }\else,
|
||||||
|
@ -2151,6 +2168,11 @@ Computing Machinery]
|
||||||
\par\medskip\small\noindent{\bfseries ACM Reference Format:}\par\nobreak
|
\par\medskip\small\noindent{\bfseries ACM Reference Format:}\par\nobreak
|
||||||
\noindent\authors. \@acmYear. \@title
|
\noindent\authors. \@acmYear. \@title
|
||||||
\ifx\@subtitle\@empty. \else: \@subtitle. \fi
|
\ifx\@subtitle\@empty. \else: \@subtitle. \fi
|
||||||
|
\if@ACM@nonacm\else
|
||||||
|
% The 'nonacm' option disables 'printacmref' by default,
|
||||||
|
% and the present \@mkbibcitation definition is never used
|
||||||
|
% in this case. The conditional remains useful if the user
|
||||||
|
% explicitly sets \settopmatter{printacmref=true}.
|
||||||
\if@ACM@journal
|
\if@ACM@journal
|
||||||
\textit{\@journalNameShort}
|
\textit{\@journalNameShort}
|
||||||
\@acmVolume, \@acmNumber \@article@string (\@acmPubDate),
|
\@acmVolume, \@acmNumber \@article@string (\@acmPubDate),
|
||||||
|
@ -2163,6 +2185,7 @@ Computing Machinery]
|
||||||
ACM, New York, NY, USA%
|
ACM, New York, NY, USA%
|
||||||
\@article@string\unskip, \ref{TotPages}~\@pages@word.
|
\@article@string\unskip, \ref{TotPages}~\@pages@word.
|
||||||
\fi
|
\fi
|
||||||
|
\fi
|
||||||
\ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi
|
\ifx\@acmDOI\@empty\else\@formatdoi{\@acmDOI}\fi
|
||||||
\par\egroup}
|
\par\egroup}
|
||||||
\def\@printendtopmatter{\par\bigskip}
|
\def\@printendtopmatter{\par\bigskip}
|
||||||
|
@ -2215,51 +2238,72 @@ Computing Machinery]
|
||||||
Page \thepage\ of \@startPage--\pageref*{TotPages}.%
|
Page \thepage\ of \@startPage--\pageref*{TotPages}.%
|
||||||
}
|
}
|
||||||
\fi
|
\fi
|
||||||
\def\@shortauthors{\if@ACM@anonymous Anon.\else\shortauthors\fi}
|
\def\@shortauthors{%
|
||||||
|
\if@ACM@anonymous
|
||||||
|
Anon.
|
||||||
|
\ifx\@acmSubmissionID\@empty\else Submission Id: \@acmSubmissionID\fi
|
||||||
|
\else\shortauthors\fi}
|
||||||
\def\@headfootfont{\sffamily}
|
\def\@headfootfont{\sffamily}
|
||||||
\fancypagestyle{standardpagestyle}{%
|
\fancypagestyle{standardpagestyle}{%
|
||||||
\fancyhf{}%
|
\fancyhf{}%
|
||||||
\renewcommand{\headrulewidth}{\z@}%
|
\renewcommand{\headrulewidth}{\z@}%
|
||||||
\renewcommand{\footrulewidth}{\z@}%
|
\renewcommand{\footrulewidth}{\z@}%
|
||||||
|
\def\@acmArticlePage{%
|
||||||
|
\ifx\@acmArticle\empty%
|
||||||
|
\if@ACM@printfolios\thepage\fi%
|
||||||
|
\else%
|
||||||
|
\@acmArticle\if@ACM@printfolios:\thepage\fi%
|
||||||
|
\fi%
|
||||||
|
}
|
||||||
\ifcase\ACM@format@nr
|
\ifcase\ACM@format@nr
|
||||||
\relax % manuscript
|
\relax % manuscript
|
||||||
\fancyhead[LE]{\ACM@linecountL\if@ACM@printfolios\thepage\fi}%
|
\fancyhead[LE]{\ACM@linecountL\if@ACM@printfolios\thepage\fi}%
|
||||||
\fancyhead[RO]{\if@ACM@printfolios\thepage\fi}%
|
\fancyhead[RO]{\if@ACM@printfolios\thepage\fi}%
|
||||||
\fancyhead[RE]{\@shortauthors}%
|
\fancyhead[RE]{\@shortauthors}%
|
||||||
\fancyhead[LO]{\ACM@linecountL\shorttitle}%
|
\fancyhead[LO]{\ACM@linecountL\shorttitle}%
|
||||||
\fancyfoot[RO,LE]{\footnotesize Manuscript submitted to ACM}%
|
\if@ACM@nonacm\else%
|
||||||
|
\fancyfoot[RO,LE]{\footnotesize Manuscript submitted to ACM}
|
||||||
|
\fi%
|
||||||
\or % acmsmall
|
\or % acmsmall
|
||||||
\fancyhead[LE]{\ACM@linecountL\@headfootfont\@acmArticle\if@ACM@printfolios:\thepage\fi}%
|
\fancyhead[LE]{\ACM@linecountL\@headfootfont\@acmArticlePage}%
|
||||||
\fancyhead[RO]{\@headfootfont\@acmArticle\if@ACM@printfolios:\thepage\fi}%
|
\fancyhead[RO]{\@headfootfont\@acmArticlePage}%
|
||||||
\fancyhead[RE]{\@headfootfont\@shortauthors}%
|
\fancyhead[RE]{\@headfootfont\@shortauthors}%
|
||||||
\fancyhead[LO]{\ACM@linecountL\@headfootfont\shorttitle}%
|
\fancyhead[LO]{\ACM@linecountL\@headfootfont\shorttitle}%
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
||||||
\@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}%
|
\@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}%
|
||||||
|
\fi%
|
||||||
\or % acmlarge
|
\or % acmlarge
|
||||||
\fancyhead[LE]{\ACM@linecountL\@headfootfont
|
\fancyhead[LE]{\ACM@linecountL\@headfootfont
|
||||||
\@acmArticle\if@ACM@printfolios:\thepage\fi\quad\textbullet\quad\@shortauthors}%
|
\@acmArticlePage\quad\textbullet\quad\@shortauthors}%
|
||||||
\fancyhead[LO]{\ACM@linecountL}%
|
\fancyhead[LO]{\ACM@linecountL}%
|
||||||
\fancyhead[RO]{\@headfootfont
|
\fancyhead[RO]{\@headfootfont
|
||||||
\shorttitle\quad\textbullet\quad\@acmArticle\if@ACM@printfolios:\thepage\fi}%
|
\shorttitle\quad\textbullet\quad\@acmArticlePage}%
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
||||||
\@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}%
|
\@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}%
|
||||||
|
\fi%
|
||||||
\or % acmtog
|
\or % acmtog
|
||||||
\fancyhead[LE]{\ACM@linecountL\@headfootfont
|
\fancyhead[LE]{\ACM@linecountL\@headfootfont
|
||||||
\@acmArticle\if@ACM@printfolios:\thepage\fi\quad\textbullet\quad\@shortauthors}%
|
\@acmArticlePage\quad\textbullet\quad\@shortauthors}%
|
||||||
\fancyhead[LO]{\ACM@linecountL}%
|
\fancyhead[LO]{\ACM@linecountL}%
|
||||||
\fancyhead[RE]{\ACM@linecountR}%
|
\fancyhead[RE]{\ACM@linecountR}%
|
||||||
\fancyhead[RO]{\@headfootfont
|
\fancyhead[RO]{\@headfootfont
|
||||||
\shorttitle\quad\textbullet\quad\@acmArticle\if@ACM@printfolios:\thepage\fi\ACM@linecountR}%
|
\shorttitle\quad\textbullet\quad\@acmArticlePage\ACM@linecountR}%
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
||||||
\@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}%
|
\@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}%
|
||||||
|
\fi%
|
||||||
\else % Proceedings
|
\else % Proceedings
|
||||||
\fancyfoot[C]{\if@ACM@printfolios\footnotesize\thepage\fi}%
|
\fancyfoot[C]{\if@ACM@printfolios\footnotesize\thepage\fi}%
|
||||||
\fancyhead[LO]{\ACM@linecountL\@headfootfont\shorttitle}%
|
\fancyhead[LO]{\ACM@linecountL\@headfootfont\shorttitle}%
|
||||||
\fancyhead[RE]{\@headfootfont\@shortauthors\ACM@linecountR}%
|
\fancyhead[RE]{\@headfootfont\@shortauthors\ACM@linecountR}%
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyhead[LE]{\ACM@linecountL\@headfootfont\acmConference@shortname,
|
\fancyhead[LE]{\ACM@linecountL\@headfootfont\acmConference@shortname,
|
||||||
\acmConference@date, \acmConference@venue}%
|
\acmConference@date, \acmConference@venue}%
|
||||||
\fancyhead[RO]{\@headfootfont\acmConference@shortname,
|
\fancyhead[RO]{\@headfootfont\acmConference@shortname,
|
||||||
\acmConference@date, \acmConference@venue\ACM@linecountR}%
|
\acmConference@date, \acmConference@venue\ACM@linecountR}%
|
||||||
|
\fi%
|
||||||
\fi
|
\fi
|
||||||
\if@ACM@sigchiamode
|
\if@ACM@sigchiamode
|
||||||
\fancyheadoffset[L]{\dimexpr(\marginparsep+\marginparwidth)}%
|
\fancyheadoffset[L]{\dimexpr(\marginparsep+\marginparwidth)}%
|
||||||
|
@ -2317,27 +2361,35 @@ Computing Machinery]
|
||||||
\relax % manuscript
|
\relax % manuscript
|
||||||
\fancyhead[L]{\ACM@linecountL}%
|
\fancyhead[L]{\ACM@linecountL}%
|
||||||
\fancyfoot[RO,LE]{\if@ACM@printfolios\small\thepage\fi}%
|
\fancyfoot[RO,LE]{\if@ACM@printfolios\small\thepage\fi}%
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyfoot[RE,LO]{\footnotesize Manuscript submitted to ACM}%
|
\fancyfoot[RE,LO]{\footnotesize Manuscript submitted to ACM}%
|
||||||
|
\fi%
|
||||||
\or % acmsmall
|
\or % acmsmall
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
||||||
\@acmNumber, Article \@acmArticle. Publication date:
|
\@acmNumber, Article \@acmArticle. Publication date:
|
||||||
\@acmPubDate.}%
|
\@acmPubDate.}%
|
||||||
|
\fi%
|
||||||
\fancyhead[LE]{\ACM@linecountL\@folioblob}%
|
\fancyhead[LE]{\ACM@linecountL\@folioblob}%
|
||||||
\fancyhead[LO]{\ACM@linecountL}%
|
\fancyhead[LO]{\ACM@linecountL}%
|
||||||
\fancyhead[RO]{\@folioblob}%
|
\fancyhead[RO]{\@folioblob}%
|
||||||
\fancyheadoffset[RO,LE]{0.6\@folio@wd}%
|
\fancyheadoffset[RO,LE]{0.6\@folio@wd}%
|
||||||
\or % acmlarge
|
\or % acmlarge
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
||||||
\@acmNumber, Article \@acmArticle. Publication date:
|
\@acmNumber, Article \@acmArticle. Publication date:
|
||||||
\@acmPubDate.}%
|
\@acmPubDate.}%
|
||||||
|
\fi%
|
||||||
\fancyhead[RO]{\@folioblob}%
|
\fancyhead[RO]{\@folioblob}%
|
||||||
\fancyhead[LE]{\ACM@linecountL\@folioblob}%
|
\fancyhead[LE]{\ACM@linecountL\@folioblob}%
|
||||||
\fancyhead[LO]{\ACM@linecountL}%
|
\fancyhead[LO]{\ACM@linecountL}%
|
||||||
\fancyheadoffset[RO,LE]{1.4\@folio@wd}%
|
\fancyheadoffset[RO,LE]{1.4\@folio@wd}%
|
||||||
\or % acmtog
|
\or % acmtog
|
||||||
|
\if@ACM@nonacm\else%
|
||||||
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
\fancyfoot[RO,LE]{\footnotesize \@journalNameShort, Vol. \@acmVolume, No.
|
||||||
\@acmNumber, Article \@acmArticle. Publication date:
|
\@acmNumber, Article \@acmArticle. Publication date:
|
||||||
\@acmPubDate.}%
|
\@acmPubDate.}%
|
||||||
|
\fi%
|
||||||
\fancyhead[L]{\ACM@linecountL}%
|
\fancyhead[L]{\ACM@linecountL}%
|
||||||
\fancyhead[R]{\ACM@linecountR}%
|
\fancyhead[R]{\ACM@linecountR}%
|
||||||
\else % Conference proceedings
|
\else % Conference proceedings
|
||||||
|
@ -2348,7 +2400,9 @@ Computing Machinery]
|
||||||
\if@ACM@timestamp
|
\if@ACM@timestamp
|
||||||
\ifnum\ACM@format@nr=0\relax % Manuscript
|
\ifnum\ACM@format@nr=0\relax % Manuscript
|
||||||
\fancyfoot[LO,RE]{\ACM@timestamp\quad
|
\fancyfoot[LO,RE]{\ACM@timestamp\quad
|
||||||
\footnotesize Manuscript submitted to ACM}
|
\if@ACM@nonacm\else
|
||||||
|
\footnotesize Manuscript submitted to ACM
|
||||||
|
\fi}
|
||||||
\else
|
\else
|
||||||
\fancyfoot[LO,RE]{\ACM@timestamp}
|
\fancyfoot[LO,RE]{\ACM@timestamp}
|
||||||
\fi
|
\fi
|
||||||
|
@ -2362,26 +2416,56 @@ Computing Machinery]
|
||||||
\let\ps@myheadings\ACM@ps@myheadings
|
\let\ps@myheadings\ACM@ps@myheadings
|
||||||
\let\ps@headings\ACM@ps@headings}
|
\let\ps@headings\ACM@ps@headings}
|
||||||
\AtBeginDocument{\ACM@restore@pagestyle}
|
\AtBeginDocument{\ACM@restore@pagestyle}
|
||||||
|
\def\ACM@NRadjust#1{%
|
||||||
|
\begingroup
|
||||||
|
\expandafter\ifx\csname Sectionformat\endcsname\relax
|
||||||
|
% do nothing when \Sectionformat is unknown
|
||||||
|
\def\next{\endgroup #1}%
|
||||||
|
\else
|
||||||
|
\def\next{\endgroup
|
||||||
|
\let\realSectionformat\Sectionformat
|
||||||
|
\def\ACM@sect@format@{#1}%
|
||||||
|
\let\Sectionformat\ACM@NR@adjustedSectionformat
|
||||||
|
%% next lines added 2018-06-17 to ensure section number is styled
|
||||||
|
\let\real@adddotafter\@adddotafter
|
||||||
|
\let\@adddotafter\ACM@adddotafter
|
||||||
|
#1{}% imposes the styles, but nullifies \MakeUppercase
|
||||||
|
\let\@adddotafter\real@adddotafter
|
||||||
|
}%
|
||||||
|
\fi \next
|
||||||
|
}
|
||||||
|
\def\ACM@NR@adjustedSectionformat#1#2{%
|
||||||
|
\realSectionformat{\ACM@sect@format{#1}}{#2}%
|
||||||
|
\let\Sectionformat\realSectionformat}
|
||||||
|
\DeclareRobustCommand{\ACM@sect@format}{\ACM@sect@format@}
|
||||||
|
\def\ACM@sect@format@null#1{#1}
|
||||||
|
\let\ACM@sect@format@\ACM@sect@format@null
|
||||||
|
\AtBeginDocument{%
|
||||||
|
\expandafter\ifx\csname LTX@adddotafter\endcsname\relax
|
||||||
|
\let\LTX@adddotafter\@adddotafter
|
||||||
|
\fi
|
||||||
|
}
|
||||||
|
\def\ACM@adddotafter#1{\ifx\relax#1\relax\else\LTX@adddotafter{#1}\fi}
|
||||||
\renewcommand\section{\@startsection{section}{1}{\z@}%
|
\renewcommand\section{\@startsection{section}{1}{\z@}%
|
||||||
{-.75\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
{-.75\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
||||||
{.25\baselineskip}%
|
{.25\baselineskip}%
|
||||||
{\@secfont}}
|
{\ACM@NRadjust\@secfont}}
|
||||||
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
|
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
|
||||||
{-.75\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
{-.75\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
||||||
{.25\baselineskip}%
|
{.25\baselineskip}%
|
||||||
{\@subsecfont}}
|
{\ACM@NRadjust\@subsecfont}}
|
||||||
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{10pt}%
|
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
|
||||||
{-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
{-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
||||||
{-3.5\p@}%
|
{-3.5\p@}%
|
||||||
{\@subsubsecfont\@adddotafter}}
|
{\ACM@NRadjust{\@subsubsecfont\@adddotafter}}}
|
||||||
\renewcommand\paragraph{\@startsection{paragraph}{4}{\parindent}%
|
\renewcommand\paragraph{\@startsection{paragraph}{4}{\parindent}%
|
||||||
{-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
{-.5\baselineskip \@plus -2\p@ \@minus -.2\p@}%
|
||||||
{-3.5\p@}%
|
{-3.5\p@}%
|
||||||
{\@parfont\@adddotafter}}
|
{\ACM@NRadjust{\@parfont\@adddotafter}}}
|
||||||
\renewcommand\part{\@startsection{part}{9}{\z@}%
|
\renewcommand\part{\@startsection{part}{9}{\z@}%
|
||||||
{-10\p@ \@plus -4\p@ \@minus -2\p@}%
|
{-10\p@ \@plus -4\p@ \@minus -2\p@}%
|
||||||
{4\p@}%
|
{4\p@}%
|
||||||
{\@parfont}}
|
{\ACM@NRadjust\@parfont}}
|
||||||
\def\section@raggedright{\@rightskip\@flushglue
|
\def\section@raggedright{\@rightskip\@flushglue
|
||||||
\rightskip\@rightskip
|
\rightskip\@rightskip
|
||||||
\leftskip\z@skip
|
\leftskip\z@skip
|
||||||
|
|
Loading…
Reference in New Issue
Block a user