summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acmart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-18 21:58:29 +0000
committerKarl Berry <karl@freefriends.org>2016-05-18 21:58:29 +0000
commit17ee5a848b1f535a07aad806695a5c41841bd3dd (patch)
tree4c941decd3d3c20e04dd79fb17a609e11f15844d /Master/texmf-dist/source/latex/acmart
parent22e4774349abb62daba9d0ec279ea58711e7ee43 (diff)
acmart (18may16)
git-svn-id: svn://tug.org/texlive/trunk@41243 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/acmart')
-rw-r--r--Master/texmf-dist/source/latex/acmart/acmart.dtx83
1 files changed, 2 insertions, 81 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx
index 71070c7c321..6b0c7a49afa 100644
--- a/Master/texmf-dist/source/latex/acmart/acmart.dtx
+++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx
@@ -868,16 +868,6 @@
% \item[margintable:] a table on the margin
% \end{description}
%
-% \DescribeMacro{\nocaptionrule}%
-% \DescribeMacro{\captionruleoff}%
-% \DescribeMacro{\captionruleon}%
-% SIGPLAN format uses rules between captions and float bodies. In
-% some cases these rules interfere with the material. The command
-% \cs{nocaptionrule} before the caption (but inside figure or table)
-% switches the rule off. The command \cs{captionruleoff} switches off
-% caption rules for all subsequent figures, while the command
-% \cs{captionruleon} switches them on. In other formats this command
-% does not make any difference.
%
%\subsection{Theorems}
%\label{sec:ug_theorems}
@@ -1007,7 +997,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2016/05/14 v1.08 Typesetting articles for Association of
+[2016/05/18 v1.09 Typesetting articles for Association of
Computing Machinery]
% \end{macrocode}
%
@@ -1031,6 +1021,7 @@ Computing Machinery]
% acmsiggraph and doi numbers for sigproc.bib}
% \changes{v1.08}{2016/05/13}{SIGPLAN reformatting by Matthew Fluet}
% \changes{v1.08}{2016/05/13}{Typos corrected (Tobias Pape)}
+% \changes{v1.09}{2016/05/18}{Revert SIGPLAN caption rules}
%
%
% And the driver code:
@@ -1757,73 +1748,6 @@ Computing Machinery]
% \begin{macrocode}
\RequirePackage{caption, float}
\captionsetup[table]{position=top}
-% \end{macrocode}
-%
-%
-%
-% \begin{macro}{\if@ACM@captionrule}
-% \changes{v1.08}{2016/05/14}{Introduced macro}
-% Whether to use caption rules in SIGPLAN. We define it here, so
-% caption rule commands do not produce errors with other
-% formats. Fortunately, other formats do not use rules.
-% \begin{macrocode}
-\newif\if@ACM@captionrule
-\@ACM@captionruletrue
-% \end{macrocode}
-% \end{macro}
-%
-%
-% \begin{macro}{\nocaptionrule}
-% \changes{v1.08}{2016/05/14}{Introduced macro}
-% Locally delete caption rule
-% \begin{macrocode}
-\def\nocaptionrule{\@ACM@captionrulefalse}
-% \end{macrocode}
-%
-% \end{macro}
-%
-% \begin{macro}{\captionruleoff}
-% \changes{v1.08}{2016/05/14}{Introduced macro}
-% Globally switching rules off
-% \begin{macrocode}
-\def\captionruleoff{\global\@ACM@captionrulefalse}
-% \end{macrocode}
-%
-% \end{macro}
-%
-% \begin{macro}{\captionruleon}
-% \changes{v1.08}{2016/05/14}{Introduced macro}
-% Globally switching rules on
-% \begin{macrocode}
-\def\captionruleon{\global\@ACM@captionruletrue}
-% \end{macrocode}
-%
-% \end{macro}
-%
-% \begin{macro}{@ACM@capfmtWithRuleAbove}
-% \changes{v1.08}{2016/05/14}{Introduced macro}
-% The SIGPLAN ruled caption for figures
-% \begin{macrocode}
-\DeclareCaptionFormat{@ACM@capfmtWithRuleAbove}{%
- \if@ACM@captionrule\hrulefill\par\noindent\fi#1#2#3\par}
-% \end{macrocode}
-%
-% \end{macro}
-%
-% \begin{macro}{@ACM@capfmtWithRuleBelow}
-% \changes{v1.08}{2016/05/14}{Introduced macro}
-% The SIGPLAN ruled caption for tables
-% \begin{macrocode}
-\DeclareCaptionFormat{@ACM@capfmtWithRuleBelow}{%
- #1#2#3\if@ACM@captionrule\par\vspace{-.5\baselineskip}%
- \noindent\hrulefill\fi\par}
-% \end{macrocode}
-%
-% \end{macro}
-%
-%
-% And the actual setup
-% \begin{macrocode}
\if@ACM@journal
\captionsetup{labelfont={sf, small},
textfont={sf, small}, margin=\z@}
@@ -1840,9 +1764,6 @@ Computing Machinery]
\or % siggraph
\captionsetup{textfont={it}}
\or % sigplan
- \setlength\abovecaptionskip{4\p@}
- \captionsetup[figure]{format=@ACM@capfmtWithRuleAbove}
- \captionsetup[table]{format=@ACM@capfmtWithRuleBelow}
\captionsetup{labelfont={bf},
textfont={normalfont}, labelsep=period, margin=\z@}
\or % sigchi