From b861fecdf19a61679a351bf9620bc69fb74f2e92 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 9 May 2019 21:22:22 +0000 Subject: acmart (9may19) git-svn-id: svn://tug.org/texlive/trunk@51061 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/acmart/acmart.cls | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/acmart') 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 -- cgit v1.2.3