summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/acmart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-07 21:26:32 +0000
committerKarl Berry <karl@freefriends.org>2016-08-07 21:26:32 +0000
commitd3a34e1a80d0e20d4ad8fa7c16a897fb9a90e35c (patch)
treed98f224edc64853a9d4b27bf6e4579bca4aedf01 /Master/texmf-dist/tex/latex/acmart
parentaa378c63179f610e9d08b496b08d058e25024889 (diff)
acmart (6aug16)
git-svn-id: svn://tug.org/texlive/trunk@41817 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/acmart')
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls24
1 files changed, 17 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index 7035523121d..5bd1277ad2d 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}
-[2016/07/12 v1.18 Typesetting articles for Association of
+[2016/08/06 v1.20 Typesetting articles for Association of
Computing Machinery]
\def\@classname{acmart}
\RequirePackage{xkeyval}
@@ -176,6 +176,10 @@ Computing Machinery]
\fi
\if@ACM@natbib
\RequirePackage{natbib}
+ \renewcommand{\bibsection}{%
+ \section*{\refname}%
+ \phantomsection\addcontentsline{toc}{section}{\refname}%
+ }
\renewcommand{\bibfont}{\bibliofont}
\renewcommand\setcitestyle[1]{
\@for\@tempa:=#1\do
@@ -349,7 +353,7 @@ Computing Machinery]
\@xsect{#3}}
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
-\RequirePackage{hyperref}
+\RequirePackage[bookmarksnumbered]{hyperref}
\urlstyle{rm}
\ifcase\ACM@format@nr
\relax % manuscript
@@ -1270,12 +1274,12 @@ Computing Machinery]
\@topnum\z@ % this prevents figures from falling at the top of page
% 1
\hsize=\textwidth
- \def\@makefnmark{\hbox{\@textsuperscript{\@thefnmark}}}
+ \def\@makefnmark{\hbox{\@textsuperscript{\@thefnmark}}}%
\@mktitle\if@ACM@sigchiamode\else\@mkauthors\fi\@mkteasers
\@printtopmatter
\if@ACM@sigchiamode\@mkauthors\fi
\setcounter{footnote}{0}%
- \def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}}
+ \def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}}%
\@titlenotes
\@subtitlenotes
\@authornotes
@@ -1766,7 +1770,8 @@ Computing Machinery]
\else
\section*{Abstract}%
\fi
- \@abstract\par}%
+ \phantomsection\addcontentsline{toc}{section}{Abstract}%
+ \ignorespaces\@abstract\par}%
\fi\egroup}
\def\@mkbibcitation{\bgroup
\def\footnotemark{}%
@@ -2135,8 +2140,13 @@ Computing Machinery]
}{%
\popQED\endtrivlist\@endpefalse
}
-\specialcomment{acks}
- {\begingroup\section*{Acknowledgments}}{\endgroup}
+\specialcomment{acks}{%
+ \begingroup
+ \section*{Acknowledgments}
+ \phantomsection\addcontentsline{toc}{section}{Acknowledgments}
+}{%
+ \endgroup
+}
\def\grantsponsor#1#2#3{#2}
\newcommand\grantnum[3][]{#3%
\def\@tempa{#1}\ifx\@tempa\@empty\else\space(\url{#1})\fi}