summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/acmart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-09 21:22:22 +0000
committerKarl Berry <karl@freefriends.org>2019-05-09 21:22:22 +0000
commitb861fecdf19a61679a351bf9620bc69fb74f2e92 (patch)
treef2327ace89839f6607c58a50275a289c3516a5d1 /Master/texmf-dist/tex/latex/acmart
parent6b8660f398522ec8c9225f4743bf35d7ead3fdbb (diff)
acmart (9may19)
git-svn-id: svn://tug.org/texlive/trunk@51061 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/acmart')
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls27
1 files changed, 21 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index 9b105600b10..59820d825b6 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmart.cls
+++ b/Master/texmf-dist/tex/latex/acmart/acmart.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{acmart}
-[2019/03/29 v1.59 Typesetting articles for the Association for
+[2019/04/22 v1.60 Typesetting articles for the Association for
Computing Machinery]
\def\@classname{acmart}
\InputIfFileExists{acmart-preload-hook.tex}{%
@@ -71,6 +71,14 @@ Computing Machinery]
\fi}{\PackageError{\@classname}{The option screen can be either true or
false}}
\ExecuteOptionsX{screen=false}
+\define@boolkey+{acmart.cls}[@ACM@]{urlbreakonhyphens}[true]{%
+ \if@ACM@urlbreakonhyphens
+ \PackageInfo{\@classname}{Using breaking urls on hyphens}%
+ \else
+ \PackageInfo{\@classname}{Not breaking urls on hyphens}%
+ \fi}{\PackageError{\@classname}{The option urlbreakonhyphens can be either true or
+ false}}
+\ExecuteOptionsX{urlbreakonhyphens=true}
\define@boolkey+{acmart.cls}[@ACM@]{acmthm}[true]{%
\if@ACM@acmthm
\PackageInfo{\@classname}{Requiring acmthm}%
@@ -484,6 +492,9 @@ Computing Machinery]
\urlstyle{sf}
\fi
\AtEndPreamble{%
+ \if@ACM@urlbreakonhyphens
+ \def\do@url@hyp{\do\-}%
+ \fi
\if@ACM@screen
\hypersetup{colorlinks,
linkcolor=ACMPurple,
@@ -2351,7 +2362,7 @@ Computing Machinery]
Anon.
\ifx\@acmSubmissionID\@empty\else Submission Id: \@acmSubmissionID\fi
\else\shortauthors\fi}
-\def\@headfootfont{\sffamily}
+\def\@headfootfont{\sffamily\footnotesize}
\AtBeginDocument{%
\fancypagestyle{standardpagestyle}{%
\fancyhf{}%
@@ -2409,9 +2420,11 @@ Computing Machinery]
\fancyhead[LO]{\ACM@linecountL\@headfootfont\shorttitle}%
\fancyhead[RE]{\@headfootfont\@shortauthors\ACM@linecountR}%
\if@ACM@nonacm\else%
- \fancyhead[LE]{\ACM@linecountL\@headfootfont\acmConference@shortname,
+ \fancyhead[LE]{\ACM@linecountL\@headfootfont\footnotesize
+ \acmConference@shortname,
\acmConference@date, \acmConference@venue}%
- \fancyhead[RO]{\@headfootfont\acmConference@shortname,
+ \fancyhead[RO]{\@headfootfont
+ \acmConference@shortname,
\acmConference@date, \acmConference@venue\ACM@linecountR}%
\fi
\fi
@@ -2420,9 +2433,11 @@ Computing Machinery]
\fancyhead[LO]{\ACM@linecountL\@headfootfont\shorttitle}%
\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}%
- \fancyhead[RO]{\@headfootfont\acmConference@shortname,
+ \fancyhead[RO]{\@headfootfont
+ \acmConference@shortname,
\acmConference@date, \acmConference@venue\ACM@linecountR}%
\fi
\fi