summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/acmart
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/acmart')
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart-tagged.cls30
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmart.cls30
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmauthoryear.bbx8
-rw-r--r--Master/texmf-dist/tex/latex/acmart/acmnumeric.bbx10
4 files changed, 51 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart-tagged.cls b/Master/texmf-dist/tex/latex/acmart/acmart-tagged.cls
index 0a5ed76d1fb..851d327f25b 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmart-tagged.cls
+++ b/Master/texmf-dist/tex/latex/acmart/acmart-tagged.cls
@@ -38,7 +38,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{acmart-tagged}
-[2024/10/19 v2.10 Typesetting articles for the Association for Computing Machinery]
+[2024/12/28 v2.12 Typesetting articles for the Association for Computing Machinery]
\def\@classname{acmart-tagged}
\InputIfFileExists{acmart-preload-hook.tex}{%
\ClassWarning{\@classname}{%
@@ -293,7 +293,6 @@
\RequirePackage{setspace}
\onehalfspacing
\fi
-\RequirePackage{textcase}
\if@ACM@acmcp
\RequirePackage{framed}
\RequirePackage{zref-savepos, zref-user}
@@ -778,21 +777,23 @@
have the newtxmath package installed. Please upgrade your
TeX}\@ACM@newfontsfalse}
\if@ACM@newfonts
- \RequirePackage[T1]{fontenc}
% Note that the order in which packages are loaded matters,
% and the correct order depends on the LaTeX engine used.
% See https://github.com/borisveytsman/acmart/issues/402
% and https://github.com/borisveytsman/acmart/issues/410
\ifxetex
- \RequirePackage[libertine]{newtxmath}
+ \RequirePackage{unicode-math}
+ \setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
\RequirePackage[tt=false]{libertine}
\setmonofont[StylisticSet=3]{inconsolata}
\else
\ifluatex
- \RequirePackage[libertine]{newtxmath}
+ \RequirePackage{unicode-math}
+ \setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
\RequirePackage[tt=false]{libertine}
\setmonofont[StylisticSet=3]{inconsolata}
\else
+ \RequirePackage[T1]{fontenc}
\RequirePackage[tt=false, type1=true]{libertine}
\RequirePackage[varqu]{zi4}
\RequirePackage[libertine]{newtxmath}
@@ -1555,7 +1556,7 @@
\def\position##1{\ignorespaces}%
\def\institution##1{##1\ignorespaces}%
\def\department{\@ifnextchar[{\@department}{\@department[]}}%
- \def\@department[##1]##2{\unskip, ##2\ignorespaces}%
+ \def\@department[##1]##2{##2, \ignorespaces}%
\let\city\position
\let\state\position
\let\country\position
@@ -1635,7 +1636,7 @@
\def\acmSubmissionID#1{\def\@acmSubmissionID{#1}}
\acmSubmissionID{}
\def\acmISBN#1{\def\@acmISBN{#1}}
-\acmISBN{978-x-xxxx-xxxx-x/YY/MM}
+\acmISBN{978-x-xxxx-xxxx-x/YYYY/MM}
\def\acmDOI#1{\def\@acmDOI{#1}}
\acmDOI{10.1145/nnnnnnn.nnnnnnn}
\newlength\@ACM@badge@width
@@ -2055,8 +2056,8 @@
the appropriate attribution.
\or % CC
\IfEq{\ACM@cc@type}{zero}{%
- \def\ACM@CC@Url{https://creativecommons.org/publicdomain/zero/1.0/legalcode}}{%
- \edef\ACM@CC@Url{https://creativecommons.org/licenses/\ACM@cc@type/\ACM@cc@version/legalcode}}%
+ \def\ACM@CC@Url{https://creativecommons.org/publicdomain/zero/1.0}}{%
+ \edef\ACM@CC@Url{https://creativecommons.org/licenses/\ACM@cc@type/\ACM@cc@version}}%
\href{\ACM@CC@Url}{\includegraphics[height=5ex]{doclicense-CC-\ACM@cc@type-88x31}}\\
\href{\ACM@CC@Url}{%
This work is licensed under a Creative Commons
@@ -2159,14 +2160,16 @@
\if@ACM@engage
{\itshape \@acmBooktitle, \@acmYear.}\par
\else
- {\itshape \acmConference@shortname, \acmConference@date, \acmConference@venue}\par
+ {\itshape \acmConference@shortname, \acmConference@venue}\par
\fi
\fi
\fi
\if@printcopyright
\copyright\ \@copyrightyear\ \@copyrightowner\\
\else
- \@copyrightyear.\
+ \ifx\@copyrightyear\@empty\else
+ \@copyrightyear.\
+ \fi
\fi
\if@ACM@manuscript
Manuscript submitted to ACM\\
@@ -2282,6 +2285,7 @@
\fi
\ifx\@empty\@authorsaddresses\else\bigskip\@setauthorsaddresses\fi
\zsaveposy{@ACM@acmcpbox@y}%
+ \par
}
\egroup}
\def\@specialsection#1{%
@@ -2599,9 +2603,9 @@
\global\let\and\@typeset@author@line
\def\@author##1{%
\ifx\@currentauthors\@empty
- \gdef\@currentauthors{\@authorfont\MakeTextUppercase{##1}}%
+ \gdef\@currentauthors{\@authorfont\MakeUppercase{##1}}%
\else
- \g@addto@macro{\@currentauthors}{\and\MakeTextUppercase{##1}}%
+ \g@addto@macro{\@currentauthors}{\and\MakeUppercase{##1}}%
\fi
\gdef\and{}}%
\def\email##1##2{}%
diff --git a/Master/texmf-dist/tex/latex/acmart/acmart.cls b/Master/texmf-dist/tex/latex/acmart/acmart.cls
index a31508fe671..5694f3083bc 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}
-[2024/10/19 v2.10 Typesetting articles for the Association for Computing Machinery]
+[2024/12/28 v2.12 Typesetting articles for the Association for Computing Machinery]
\def\@classname{acmart}
\InputIfFileExists{acmart-preload-hook.tex}{%
\ClassWarning{\@classname}{%
@@ -289,7 +289,6 @@
\RequirePackage{setspace}
\onehalfspacing
\fi
-\RequirePackage{textcase}
\if@ACM@acmcp
\RequirePackage{framed}
\RequirePackage{zref-savepos, zref-user}
@@ -859,21 +858,23 @@
have the newtxmath package installed. Please upgrade your
TeX}\@ACM@newfontsfalse}
\if@ACM@newfonts
- \RequirePackage[T1]{fontenc}
% Note that the order in which packages are loaded matters,
% and the correct order depends on the LaTeX engine used.
% See https://github.com/borisveytsman/acmart/issues/402
% and https://github.com/borisveytsman/acmart/issues/410
\ifxetex
- \RequirePackage[libertine]{newtxmath}
+ \RequirePackage{unicode-math}
+ \setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
\RequirePackage[tt=false]{libertine}
\setmonofont[StylisticSet=3]{inconsolata}
\else
\ifluatex
- \RequirePackage[libertine]{newtxmath}
+ \RequirePackage{unicode-math}
+ \setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
\RequirePackage[tt=false]{libertine}
\setmonofont[StylisticSet=3]{inconsolata}
\else
+ \RequirePackage[T1]{fontenc}
\RequirePackage[tt=false, type1=true]{libertine}
\RequirePackage[varqu]{zi4}
\RequirePackage[libertine]{newtxmath}
@@ -1636,7 +1637,7 @@
\def\position##1{\ignorespaces}%
\def\institution##1{##1\ignorespaces}%
\def\department{\@ifnextchar[{\@department}{\@department[]}}%
- \def\@department[##1]##2{\unskip, ##2\ignorespaces}%
+ \def\@department[##1]##2{##2, \ignorespaces}%
\let\city\position
\let\state\position
\let\country\position
@@ -1716,7 +1717,7 @@
\def\acmSubmissionID#1{\def\@acmSubmissionID{#1}}
\acmSubmissionID{}
\def\acmISBN#1{\def\@acmISBN{#1}}
-\acmISBN{978-x-xxxx-xxxx-x/YY/MM}
+\acmISBN{978-x-xxxx-xxxx-x/YYYY/MM}
\def\acmDOI#1{\def\@acmDOI{#1}}
\acmDOI{10.1145/nnnnnnn.nnnnnnn}
\newlength\@ACM@badge@width
@@ -2136,8 +2137,8 @@
the appropriate attribution.
\or % CC
\IfEq{\ACM@cc@type}{zero}{%
- \def\ACM@CC@Url{https://creativecommons.org/publicdomain/zero/1.0/legalcode}}{%
- \edef\ACM@CC@Url{https://creativecommons.org/licenses/\ACM@cc@type/\ACM@cc@version/legalcode}}%
+ \def\ACM@CC@Url{https://creativecommons.org/publicdomain/zero/1.0}}{%
+ \edef\ACM@CC@Url{https://creativecommons.org/licenses/\ACM@cc@type/\ACM@cc@version}}%
\href{\ACM@CC@Url}{\includegraphics[height=5ex]{doclicense-CC-\ACM@cc@type-88x31}}\\
\href{\ACM@CC@Url}{%
This work is licensed under a Creative Commons
@@ -2240,14 +2241,16 @@
\if@ACM@engage
{\itshape \@acmBooktitle, \@acmYear.}\par
\else
- {\itshape \acmConference@shortname, \acmConference@date, \acmConference@venue}\par
+ {\itshape \acmConference@shortname, \acmConference@venue}\par
\fi
\fi
\fi
\if@printcopyright
\copyright\ \@copyrightyear\ \@copyrightowner\\
\else
- \@copyrightyear.\
+ \ifx\@copyrightyear\@empty\else
+ \@copyrightyear.\
+ \fi
\fi
\if@ACM@manuscript
Manuscript submitted to ACM\\
@@ -2363,6 +2366,7 @@
\fi
\ifx\@empty\@authorsaddresses\else\bigskip\@setauthorsaddresses\fi
\zsaveposy{@ACM@acmcpbox@y}%
+ \par
}
\egroup}
\def\@specialsection#1{%
@@ -2680,9 +2684,9 @@
\global\let\and\@typeset@author@line
\def\@author##1{%
\ifx\@currentauthors\@empty
- \gdef\@currentauthors{\@authorfont\MakeTextUppercase{##1}}%
+ \gdef\@currentauthors{\@authorfont\MakeUppercase{##1}}%
\else
- \g@addto@macro{\@currentauthors}{\and\MakeTextUppercase{##1}}%
+ \g@addto@macro{\@currentauthors}{\and\MakeUppercase{##1}}%
\fi
\gdef\and{}}%
\def\email##1##2{}%
diff --git a/Master/texmf-dist/tex/latex/acmart/acmauthoryear.bbx b/Master/texmf-dist/tex/latex/acmart/acmauthoryear.bbx
index de5e3c6c069..b3800b96837 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmauthoryear.bbx
+++ b/Master/texmf-dist/tex/latex/acmart/acmauthoryear.bbx
@@ -898,3 +898,11 @@
license=false,
language=american
}
+
+% We use lowercase DOI
+
+\DeclareFieldFormat{doi}{%
+ doi\addcolon
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}}
diff --git a/Master/texmf-dist/tex/latex/acmart/acmnumeric.bbx b/Master/texmf-dist/tex/latex/acmart/acmnumeric.bbx
index c13e40137f0..d83a5a10bc8 100644
--- a/Master/texmf-dist/tex/latex/acmart/acmnumeric.bbx
+++ b/Master/texmf-dist/tex/latex/acmart/acmnumeric.bbx
@@ -882,4 +882,12 @@
vcs=true,
license=false,
language=american
- } \ No newline at end of file
+ }
+
+% We use lowercase DOI
+
+\DeclareFieldFormat{doi}{%
+ doi\addcolon
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}}