summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acmart/acmart.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart/acmart.dtx')
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx56
1 files changed, 42 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx
index 46a8f4e8f5c..9765b874f2d 100644
--- a/Master/texmf-dist/source/latex/acmart/acmart.dtx
+++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx
@@ -1132,10 +1132,18 @@
% assignments.
%
%
+%\subsection{Other notable packages and typographic remarks}
+%\label{sec:ug_other}
%
+% Several other packages are recommended for specialized tasks.
+%
+% The package \textsl{subcaption}~\cite{Sommerfeldt13:Subcaption} is
+% recommended for complex figures with several subplots or subfigures
+% that require separate subcaptioning. The packages
+% \textsl{nomencl}~\cite{Nomencl} and
+% \textsl{glossaries}~\cite{Talbot16:Glossaries} can be used for the
+% automatic creation of the lists of symbols and concepts used.
%
-%\subsection{Typographich niceties}
-%\label{sec:ug_penalties}
%
% By default |acmart| prevents all widows and orphans (i.e. lonely
% lines at the beginning and the end of the page) and hyphenation at
@@ -1179,7 +1187,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2016/07/12 v1.18 Typesetting articles for Association of
+[2016/08/06 v1.20 Typesetting articles for Association of
Computing Machinery]
% \end{macrocode}
%
@@ -1212,6 +1220,9 @@ Computing Machinery]
% Fluet)}
% \changes{v1.18}{2016/07/10}{Natbib is now the default for all
% formats}
+% \changes{v1.19}{2016/07/28}{Include 'Abstract', 'Acknowledgements',
+% and 'References' in PDF bookmarks (Matthew Fluet)}
+% \changes{v1.20}{2016/08/06}{Bug fixes for bst}
%
%
% And the driver code:
@@ -1507,6 +1518,8 @@ Computing Machinery]
\fi
% \end{macrocode}
%
+% \changes{v1.19}{2016/07/28}{Include 'References' in PDF bookmarks
+% (Matthew Fluet)}
% \changes{v1.14}{2016/06/09}{Patched \cs{citestyle}}
% Citations. We patch \cs{setcitestyle} to allow, e.g.,
% \cs{setcitestyle}|{sort}| and \cs{setcitestyle}|{nosort}|. We patch
@@ -1514,6 +1527,10 @@ Computing Machinery]
% \begin{macrocode}
\if@ACM@natbib
\RequirePackage{natbib}
+ \renewcommand{\bibsection}{%
+ \section*{\refname}%
+ \phantomsection\addcontentsline{toc}{section}{\refname}%
+ }
\renewcommand{\bibfont}{\bibliofont}
\renewcommand\setcitestyle[1]{
\@for\@tempa:=#1\do
@@ -1724,7 +1741,7 @@ Computing Machinery]
% \begin{macrocode}
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
-\RequirePackage{hyperref}
+\RequirePackage[bookmarksnumbered]{hyperref}
\urlstyle{rm}
\ifcase\ACM@format@nr
\relax % manuscript
@@ -2753,7 +2770,7 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\acmMonth}
-% \changes{v1.17}{2017/07/09}{The default must be numerical. Closes \#50.}
+% \changes{v1.17}{2016/07/09}{The default must be numerical. Closes \#50.}
% The current month
% \begin{macrocode}
\def\acmMonth#1{\def\@acmMonth{#1}}
@@ -3403,12 +3420,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
@@ -3844,7 +3861,7 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\@mkauthors}
-% \changes{v1.17}{2017/07/09}{TOG now uses the same authors block as
+% \changes{v1.17}{2016/07/09}{TOG now uses the same authors block as
% other journals}
% Typesetting authors
% \begin{macrocode}
@@ -3923,7 +3940,7 @@ Computing Machinery]
% \end{macrocode}
%
% \begin{macro}{\@typeset@author@line}
-% \changes{v1.18}{2017/07/12}{Added macro}
+% \changes{v1.18}{2016/07/12}{Added macro}
% At this point we have \cs{@currentauthors} and
% \cs{@currentaffiliations}. We typeset them in the journal style
% \begin{macrocode}
@@ -3941,7 +3958,7 @@ Computing Machinery]
%
%
% \begin{macro}{\@mkauthors@i}
-% \changes{v1.18}{2017/07/12}{Now we andify affiliations}
+% \changes{v1.18}{2016/07/12}{Now we andify affiliations}
% This is version used in most formats. Note that \cs{and} between
% authors with the same affiliation becomes \verb*| and |:
% \begin{macrocode}
@@ -3975,7 +3992,7 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\@mkauthors@ii}
-% \changes{v1.17}{2017/07/09}{Deleted}
+% \changes{v1.17}{2016/07/09}{Deleted}
% \cs{@mkauthors@iI} was version used in acmtog. No longer necessary
%
% \end{macro}
@@ -4172,6 +4189,9 @@ Computing Machinery]
% \end{macro}
%
% \begin{macro}{\@mkabstract}
+% \changes{v1.19}{2016/07/28}{Include 'Abstract' in PDF bookmarks
+% (Matthew Fluet)}
+% \changes{v1.20}{2016/08/03}{Deleted spurious space}
% Typesetting abstract
% \begin{macrocode}
\def\@mkabstract{\bgroup
@@ -4181,7 +4201,8 @@ Computing Machinery]
\else
\section*{Abstract}%
\fi
- \@abstract\par}%
+ \phantomsection\addcontentsline{toc}{section}{Abstract}%
+ \ignorespaces\@abstract\par}%
\fi\egroup}
% \end{macrocode}
%
@@ -4832,11 +4853,18 @@ Computing Machinery]
%\label{sec:acks}
%
% \begin{macro}{\acks}
+% \changes{v1.19}{2016/07/28}{Include 'Acknowledgements' in PDF bookmarks
+% (Matthew Fluet)}
% \changes{v1.15}{2016/07/05}{Added macro}
% This is a |comment|-like structure
% \begin{macrocode}
-\specialcomment{acks}
- {\begingroup\section*{Acknowledgments}}{\endgroup}
+\specialcomment{acks}{%
+ \begingroup
+ \section*{Acknowledgments}
+ \phantomsection\addcontentsline{toc}{section}{Acknowledgments}
+}{%
+ \endgroup
+}
% \end{macrocode}
%
% \end{macro}