From 17a3481529d31ffd1586ca65dde09742f9b5c471 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 26 Mar 2023 03:02:45 +0000 Subject: CTAN sync 202303260302 --- macros/latex/contrib/acmart/Makefile | 3 +- macros/latex/contrib/acmart/README | 5 + macros/latex/contrib/acmart/acm-jdslogo.png | Bin 0 -> 19718 bytes macros/latex/contrib/acmart/acmart.dtx | 303 +++++++++++++-------- macros/latex/contrib/acmart/acmart.pdf | Bin 906356 -> 939698 bytes macros/latex/contrib/acmart/acmguide.pdf | Bin 432050 -> 433117 bytes .../contrib/acmart/samples/artifacts_available.jpg | Bin 0 -> 328099 bytes .../acmart/samples/artifacts_available_v1.1.png | Bin 0 -> 58210 bytes .../samples/artifacts_evaluated_functional.jpg | Bin 0 -> 367293 bytes .../artifacts_evaluated_functional_v1.1.png | Bin 0 -> 67232 bytes .../samples/artifacts_evaluated_reusable.jpg | Bin 0 -> 378663 bytes .../samples/artifacts_evaluated_reusable_v1.1.png | Bin 0 -> 64632 bytes .../acmart/samples/results_replicated_v1.1.png | Bin 0 -> 62671 bytes .../acmart/samples/results_reproduced_v1.1.png | Bin 0 -> 62098 bytes .../latex/contrib/acmart/samples/sample-acmcp.pdf | Bin 208466 -> 213983 bytes .../contrib/acmart/samples/sample-acmengage.pdf | Bin 395897 -> 395452 bytes .../contrib/acmart/samples/sample-acmlarge.pdf | Bin 606046 -> 605417 bytes .../acmart/samples/sample-acmsmall-biblatex.pdf | Bin 628568 -> 627932 bytes .../acmart/samples/sample-acmsmall-conf.pdf | Bin 1050111 -> 1049474 bytes .../acmart/samples/sample-acmsmall-submission.pdf | Bin 618407 -> 617756 bytes .../contrib/acmart/samples/sample-acmsmall.pdf | Bin 615912 -> 615259 bytes .../latex/contrib/acmart/samples/sample-acmtog.pdf | Bin 563306 -> 562640 bytes .../contrib/acmart/samples/sample-authordraft.pdf | Bin 1043261 -> 1042626 bytes .../contrib/acmart/samples/sample-lualatex.pdf | Bin 780905 -> 783621 bytes .../contrib/acmart/samples/sample-manuscript.pdf | Bin 618126 -> 617496 bytes .../acmart/samples/sample-sigconf-biblatex.pdf | Bin 615682 -> 615065 bytes .../contrib/acmart/samples/sample-sigconf-i13n.pdf | Bin 1055541 -> 1054905 bytes .../contrib/acmart/samples/sample-sigconf.pdf | Bin 1039467 -> 1038829 bytes .../contrib/acmart/samples/sample-sigplan.pdf | Bin 1048138 -> 1047499 bytes .../contrib/acmart/samples/sample-xelatex.pdf | Bin 659259 -> 658503 bytes macros/latex/contrib/acmart/samples/samples.dtx | 13 +- macros/latex/contrib/acmart/samples/tmp.pdf | Bin 0 -> 1169197 bytes macros/latex/contrib/tangocolors/README.md | 11 + macros/latex/contrib/tangocolors/tangocolors.dtx | 188 +++++++++++++ macros/latex/contrib/tangocolors/tangocolors.ins | 67 +++++ macros/latex/contrib/tangocolors/tangocolors.pdf | Bin 0 -> 123453 bytes 36 files changed, 464 insertions(+), 126 deletions(-) create mode 100644 macros/latex/contrib/acmart/acm-jdslogo.png create mode 100644 macros/latex/contrib/acmart/samples/artifacts_available.jpg create mode 100644 macros/latex/contrib/acmart/samples/artifacts_available_v1.1.png create mode 100644 macros/latex/contrib/acmart/samples/artifacts_evaluated_functional.jpg create mode 100644 macros/latex/contrib/acmart/samples/artifacts_evaluated_functional_v1.1.png create mode 100644 macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable.jpg create mode 100644 macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable_v1.1.png create mode 100644 macros/latex/contrib/acmart/samples/results_replicated_v1.1.png create mode 100644 macros/latex/contrib/acmart/samples/results_reproduced_v1.1.png create mode 100644 macros/latex/contrib/acmart/samples/tmp.pdf create mode 100644 macros/latex/contrib/tangocolors/README.md create mode 100644 macros/latex/contrib/tangocolors/tangocolors.dtx create mode 100644 macros/latex/contrib/tangocolors/tangocolors.ins create mode 100644 macros/latex/contrib/tangocolors/tangocolors.pdf (limited to 'macros') diff --git a/macros/latex/contrib/acmart/Makefile b/macros/latex/contrib/acmart/Makefile index 6c120b6afb..031c4ddd64 100644 --- a/macros/latex/contrib/acmart/Makefile +++ b/macros/latex/contrib/acmart/Makefile @@ -103,7 +103,7 @@ samples/sample-lualatex.pdf: samples/sample-lualatex.tex samples/$(PACKAGE).c while ( grep -q '^LaTeX Warning: Label(s) may have changed' $(basename $<).log) \ do cd $(dir $@) && lualatex-dev $(notdir $<); done - +samples/sample-acmcp.pdf: samples/acm-jdslogo.png .PRECIOUS: $(PACKAGE).cfg $(PACKAGE).cls @@ -116,6 +116,7 @@ docclean: samples/$(PACKAGE).cls samples/ACM-Reference-Format.bst \ samples/*.log samples/*.aux samples/*.out \ samples/*.bbl samples/*.blg samples/*.cut \ + samples/acm-jdslogo.png \ samples/*.run.xml samples/*.bcf $(SAMPLEBIBLATEXFILES) diff --git a/macros/latex/contrib/acmart/README b/macros/latex/contrib/acmart/README index 12b8265bfd..7591825eeb 100644 --- a/macros/latex/contrib/acmart/README +++ b/macros/latex/contrib/acmart/README @@ -12,6 +12,11 @@ The production version is the one on CTAN and ACM sites. Changes +Version 1.89 Bug fixes + Redesign of ACMCP + New positioning of badges + New journals: PACMMOD, TOPML + Version 1.88 New ISSNs Documentation updates New journal: PACMNET diff --git a/macros/latex/contrib/acmart/acm-jdslogo.png b/macros/latex/contrib/acmart/acm-jdslogo.png new file mode 100644 index 0000000000..9772aed929 Binary files /dev/null and b/macros/latex/contrib/acmart/acm-jdslogo.png differ diff --git a/macros/latex/contrib/acmart/acmart.dtx b/macros/latex/contrib/acmart/acmart.dtx index ee6d4557c8..032ef54576 100644 --- a/macros/latex/contrib/acmart/acmart.dtx +++ b/macros/latex/contrib/acmart/acmart.dtx @@ -1,6 +1,6 @@ % \iffalse % -% Copyright 2016-2022, Association for Computing Machinery +% Copyright 2016-2023, Association for Computing Machinery % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3 of this license or (at your option) any @@ -57,7 +57,7 @@ % \ifx\currentjob\guide\OnlyDescription\fi % \GetFileInfo{acmart.dtx} % \title{\LaTeX{} Class for the \emph{Association for Computing -% Machinery}\thanks{\copyright 2016--2022, Association for Computing Machinery}} +% Machinery}\thanks{\copyright 2016--2023, Association for Computing Machinery}} % \author{Boris Veytsman\thanks{% % \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}}, % \href{mailto:boris@varphi.com}{\texttt{boris@varphi.com}}}} @@ -193,7 +193,8 @@ % \begin{enumerate} % \item Run |latex acmart.ins|. This will produce the file % |acmart.cls| -% \item Put the files |acmart.cls| and |ACM-Reference-Format.bst| +% \item Put the files |acmart.cls|, |acm-jdslogo.png|, +% and |ACM-Reference-Format.bst| % in places where \LaTeX{} can find them (see \cite{TeXFAQ} or % the documentation for your \TeX{} system).\label{item:install} % \item Update the database of file names. Again, see \cite{TeXFAQ} @@ -304,13 +305,13 @@ % manuscript & A manuscript. This is the default. \\ % acmsmall & Small single-column format. Used for ACMJCSS, CIE, CSUR, % DLT, FAC, GAMES, JACM, JATS, JDIQ, JDS, JEA, JERIC, -% JETC, JRC, PACMCGIT, PACMHCI, PACMNET, +% JETC, JRC, PACMCGIT, PACMHCI, PACMMOD, PACMNET, % PACMPL, TAAS, TACCESS, TACO, % TALG, TALLIP (formerly TALIP), TCPS, TDS, % TEAC, TECS, TELO, THRI, TIIS, TIOT, TISSEC, TIST, TKDD, TMIS, % TOCE, TOCHI, TOCL, % TOCS, TOCT, TODAES, TODS, TOIS, TOIT, TOMACS, TOMM (formerly -% TOMCCAP), TOMPECS, TOMS, TOPC, TOPLAS, TOPS, TORS +% TOMCCAP), TOMPECS, TOMS, TOPC, TOPLAS, TOPML, TOPS, TORS % TOS, TOSEM, TOSN, TQC, TRETS, % TSAS, TSC, TSLP and TWEB, including special issues. \\ % acmlarge & Large single-column format. Used for DTRAP, HEALTH, @@ -916,16 +917,13 @@ % string, as |\acmDOI{}|, suppresses the DOI. % % -% \DescribeMacro{\acmBadgeR}% -% \DescribeMacro{\acmBadgeL}% +% \DescribeMacro{\acmBadge}% % Some conference articles get special distinctions, for example, the % artifact evaluation for PPoPP~2016 % (see~\url{http://ctuning.org/ae/ppopp2016.html}). These articles % display special badges supplied by the conference organizers. This -% class provides commands to add these badges: -% \cs{acmBadgeR}\oarg{url}\marg{graphics} and -% \cs{acmBadgeL}\oarg{url}\marg{graphics}. The first command puts the -% badge to the right of the title, and the second one---to the left. +% class provides command to add these badges: +% \cs{acmBadge}\oarg{url}\marg{graphics}. % The arguments have the following meaning: \oarg{url}, if provided, % sets the link to the badge authority in the screen version, while % \marg{graphics} sets the graphics file with the badge image. The @@ -935,7 +933,7 @@ % \begin{verbatim} % \acmBadgeR[http://ctuning.org/ae/ppopp2016.html]{ae-logo} % \end{verbatim} -% +% The command can be repeated, if a paper has several badges. % % % \DescribeMacro{\startPage}% @@ -1015,7 +1013,7 @@ % command are listed in Table~\ref{tab:setcopyright}. This command % must be placed in the preamble, before |\begin{document}|. % Additional information about ACM copyright rules is discussed in -% Section~\ref{ug_cc}. +% Section~\ref{sec:ug_cc}. % % \begin{table} % \centering @@ -1279,7 +1277,8 @@ % Ohio, USA, 43017-6221} % \end{verbatim} % -% +% The design of the cover page may require additional runs of latex to +% make the elements of the page align. % %\subsection{Internationalization} %\label{sec:ug_i13n} @@ -1913,6 +1912,35 @@ % \end{enumerate} % % +% +%\subsubsection{Manual bibliography} +%\label{sec:ug_manual_bibliography} +% +% Some people create bibliographies manually, writing down +% \cs{bibitem} commands explicitly. This approach is \emph{not} +% recommended for ACM styles. The reason is, ACM submissions, besides +% being typeset, are also processed by special programs that extract +% metadata and references. Bibliographies created automatically with +% ACM styles contain customized macros for these programs, for +% example, +% \begin{verbatim} +% \bibitem[Ablamowicz and Fauser(2007)]% +% {Ablamowicz07} +% \bibfield{author}{\bibinfo{person}{Rafal Ablamowicz} {and} +% \bibinfo{person}{Bertfried Fauser}.} \bibinfo{year}{2007}\natexlab{}. +% \newblock \bibinfo{booktitle}{\emph{CLIFFORD: a Maple 11 Package for Clifford +% Algebra Computations, version 11}}. +% \newblock +% \urldef\tempurl% +% \url{http://math.tntech.edu/rafal/cliff11/index.html} +% \showURL{% +% Retrieved February 28, 2008 from \tempurl} +% \end{verbatim} +% +% Manual bibliographies without these macros may slow down the +% publication process, and thus are not recommended for ACM +% submissions. +% %\subsection{Other notable packages and typographic remarks} %\label{sec:ug_other} % @@ -2116,6 +2144,7 @@ % PACMCGIT & Proceedings of the ACM on Computer Graphics and % Interactive Techniques\\ % PACMHCI & PACM on Human-Computer Interaction\\ +% PACMOD & PACM on Management of Data\\ % PACMNET & PACM on Networking\\ % PACMPL & PACM on Programming Languages \\ % POMACS & PACM on Measurement and Analysis of Computing Systems \\ @@ -2156,6 +2185,7 @@ % TOMS & ACM Transactions on Mathematical Software\\ % TOPC & ACM Transactions on Parallel Computing\\ % TOPLAS & ACM Transactions on Programming Languages and Systems\\ +% TOPML & ransactions on Probabilistic Machine Learning\\ % TOPS & ACM Transactions on Privacy and Security\\ % TORS & ACM Transactions on Recommender Systems\\ % TOS & ACM Transactions on Storage\\ @@ -2239,7 +2269,7 @@ \ProvidesFile{acmart.dtx} % %\ProvidesClass{acmart} -[2022/10/24 v1.88 Typesetting articles for the Association for Computing Machinery] +[2023/03/25 v1.89 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -2893,14 +2923,23 @@ % % % \changes{v1.87}{2022/08/14}{Added `framed' package for acmcp} +% \changes{v1.89}{2022/12/25}{Added `zref-savepos' package for acmcp} % \begin{macrocode} \if@ACM@acmcp \RequirePackage{framed} +\RequirePackage{zref-savepos, zref-user} \fi % \end{macrocode} % % -% +% \begin{macro}{\@ACM@acmcp@delta} +% \changes{v1.89}{2022/12/25}{Added dimen} +% We need to store the dimen to store the insert length of amcp box +% \begin{macrocode} +\newdimen\@ACM@acmcp@delta +\@ACM@acmcp@delta=0pt\relax +% \end{macrocode} +% \end{macro} % %\subsection{Citations} % \changes{v1.19}{2016/07/28}{Include 'References' in PDF bookmarks @@ -4290,6 +4329,8 @@ % \changes{1.88}{2022/10/19}{Added ISSN for GAMES} % \changes{1.88}{2022/10/23}{Added ISSN for ACMJCSS} % \changes{1.88}{2022/10/24}{Added PACMNET} +% \changes{1.89}{2023/03/25}{Added PACMMOD} +% \changes{1.89}{2023/03/25}{Added TOPML} % % We use the |xkeyval| interface to define journal titles and the relevant % information @@ -4316,6 +4357,7 @@ JRC,% PACMCGIT,% PACMHCI,% + PACMMOD,% PACMNET,% PACMPL,% POMACS,% @@ -4354,6 +4396,7 @@ TOPC,% TOPS,% TOPLAS,% + TOPML,% TORS,% TOS,% TOSEM,% @@ -4461,6 +4504,10 @@ \def\@permissionCodeOne{2573-0142}% \@ACM@screentrue \PackageInfo{\@classname}{Using screen mode due to \@journalCode}% +\or % PACMMOD + \def\@journalName{Proceedings of the ACM on Management of Data}% + \def\@journalNameShort{Proc. ACM Manag. Data}% + \def\@permissionCodeOne{2836-6573}% \or % PACMNET \def\@journalName{Proceedings of the ACM on Networkng}% \def\@journalNameShort{Proc. ACM Netw.}% @@ -4621,6 +4668,10 @@ \def\@journalName{ACM Transactions on Programming Languages and Systems}% \def\@journalNameShort{ACM Trans. Program. Lang. Syst.}% \def\@permissionCodeOne{0164-0925}% +\or % TOPML + \def\@journalName{ACM Transactions on Probabilistic Machine Learning}% + \def\@journalNameShort{ACM Trans. Probab. Mach. Learn.}% + \def\@permissionCodeOne{}% \or % TORS \def\@journalName{ACM Transactions on Recommender Systems}% \def\@journalNameShort{ACM Trans. Recomm. Syst.}% @@ -5193,13 +5244,7 @@ % % \begin{macro}{\if@ACM@badge} % \changes{v1.06}{2016/05/01}{Added macro} -% Whether to print a badge. Note that either a left or right badge -% triggers it: -% \begin{macrocode} -\newif\if@ACM@badge -\@ACM@badgefalse -% \end{macrocode} -% +% \changes{v1.89}{2022/12/27}{Deleted macro} % \end{macro} % % \begin{macro}{\@ACM@badge@width} @@ -5207,7 +5252,7 @@ % The width of the badge % \begin{macrocode} \newlength\@ACM@badge@width -\setlength\@ACM@badge@width{5pc} +\setlength\@ACM@badge@width{3pc} % \end{macrocode} % % \end{macro} @@ -5215,7 +5260,7 @@ % % \begin{macro}{\@ACM@title@width} % \changes{v1.06}{2016/05/01}{Added macro} -% The width of the badge +% The width of the title % \begin{macrocode} \newlength\@ACM@title@width % \end{macrocode} @@ -5225,40 +5270,80 @@ % % \begin{macro}{\@ACM@badge@skip} % \changes{v1.06}{2016/05/01}{Added macro} -% The space between the badge and the title +% \changes{v1.89}{2022/12/27}{Redefined macro} +% The spacing between badges % \begin{macrocode} \newlength\@ACM@badge@skip -\setlength\@ACM@badge@skip{1pc} +\setlength\@ACM@badge@skip{1pt} % \end{macrocode} % % \end{macro} % +% \begin{macro}{\@acmBadgeR} +% \changes{v1.89}{2022/12/27}{Introduced macro} +% \begin{macrocode} +\def\@acmBadgeR{} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@acmBadgeL} +% \changes{v1.89}{2022/12/27}{Introduced macro} +% \begin{macrocode} +\def\@acmBadgeL{} +% \end{macrocode} +% \end{macro} +% % \begin{macro}{\acmBadgeR} % \changes{v1.06}{2016/05/01}{Added macro} +% \changes{v1.89}{2022/12/27}{Redefined macro} % Setting the right badge % \begin{macrocode} -\newcommand\acmBadgeR[2][]{\@ACM@badgetrue - \def\@acmBadgeR@url{#1}% - \def\@acmBadgeR@image{#2}} -\def\@acmBadgeR@url{} -\def\@acmBadgeR@image{} +\newcommand\acmBadgeR[2][]{% + \ifx\@acmBadgeR\@empty + \gdef\@acmBadgeR{% + \smash{% + \raisebox{0.5\height}{% + \href{#1}{\includegraphics[width=\@ACM@badge@width]{#2}}}}}% + \else + \g@addto@macro{\@acmBadgeR}{% + \hspace{\@ACM@badge@skip}% + \smash{% + \raisebox{0.5\height}{% + \href{#1}{\includegraphics[width=\@ACM@badge@width]{#2}}}}}% + \fi} % \end{macrocode} % % \end{macro} % % \begin{macro}{\acmBadgeL} % \changes{v1.06}{2016/05/01}{Added macro} +% \changes{v1.89}{2022/12/27}{Redefined macro} % Setting the left badge % \begin{macrocode} -\newcommand\acmBadgeL[2][]{\@ACM@badgetrue - \def\@acmBadgeL@url{#1}% - \def\@acmBadgeL@image{#2}} -\def\@acmBadgeL@url{} -\def\@acmBadgeL@image{} +\newcommand\acmBadgeL[2][]{% + \ifx\@acmBadgeL\@empty + \gdef\@acmBadgeL{% + \smash{% + \raisebox{0.5\height}{% + \href{#1}{\includegraphics[width=\@ACM@badge@width]{#2}}}}}% + \else + \g@addto@macro{\@acmBadgeL}{% + \hspace{\@ACM@badge@skip}% + \smash{% + \raisebox{0.5\height}{% + \href{#1}{\includegraphics[width=\@ACM@badge@width]{#2}}}}}% + \fi} % \end{macrocode} % % \end{macro} % +% \begin{macro}{\acmBadge} +% \changes{v1.89}{2023/01/07}{Added macro} +% Just a syntax sugar for \cs{acmBadgeR} +% \begin{macrocode} +\let\acmBadge=\acmBadgeR +% \end{macrocode} +% \end{macro} % % \begin{macro}{\startPage} % The start page of the paper @@ -5474,13 +5559,23 @@ \ClassError{\@classname}{Article Type must be Research, Review,\MessageBreak Discussion, Invited, or Position}} \def\acmArticleType#1{\setkeys{ACM}{articletype=#1}} -\newenvironment{@ACM@color@frame}{% - \def\FrameCommand{\hspace*{-6.5pc}% - \colorbox{@ACM@Article@color!10!white}}% - \MakeFramed {\advance\hsize -6.5pc\relax\FrameRestore}}{\endMakeFramed} \if@ACM@acmcp \acmArticleType{Research}% \fi + % \end{macrocode} +% +% \end{macro} +% \begin{macro}{\@ACM@color@frame} +% \changes{v1.87}{2022/08/13}{Introduced macro} +% \changes{v1.89}{2022/12/25}{Added saving the position of the bottom} +% The colored frame for the acmcp +% \begin{macrocode} +\newenvironment{@ACM@color@frame}{% + \def\FrameCommand{\hspace*{-6.5pc}% + \colorbox{@ACM@Article@color!10!white}}% + \MakeFramed {\advance\hsize + -6.5pc\relax\FrameRestore}}{\zsaveposy{@ACM@acmcpframe@y}% + \endMakeFramed} % \end{macrocode} % % \end{macro} @@ -6296,24 +6391,38 @@ % % \begin{macro}{\set@ACM@acmcpbox} % \changes{v1.87}{2022/08/14}{Added macro} +% \changes{v1.89}{2022/12/25}{Added logo} +% \changes{v1.89}{2022/12/25}{Added zref position of the bottom} % Setting infobox for acmcp % \begin{macrocode} \newbox\@ACM@acmcpbox \def\set@ACM@acmcpbox{% \bgroup \hsize=5pc - \global\setbox\@ACM@acmcpbox=\vtop to \textheight{% + \global\setbox\@ACM@acmcpbox=\vbox{% \setlength{\parindent}{\z@}% - {\Large LOGO\par}% + {\includegraphics[width=\hsize]{acm-jdslogo}\par}% \scriptsize - \vfill - \ifx\@acmCodeDataLink\@empty\else - Code and data links:\\ \@acmCodeDataLink\par\vfill + \ifnum\getrefnumber{TotPages}>1\else + \zrefused{@ACM@acmcpbox@y}% + \zrefused{@ACM@acmcpframe@y}% + \@tempdima=\dimexpr\zposy{@ACM@acmcpbox@y}sp - + \zposy{@ACM@acmcpframe@y}sp+0.3\FrameSep+ + \@ACM@acmcp@delta\relax + \ifdim\@tempdima>0pt\relax + \vspace*{\@tempdima}% + \protected@write\@auxout{}% + {\string\global\@ACM@acmcp@delta=\the\@tempdima\relax}% + \fi \fi - \ifx\@keywords\@empty\else Keywords: - \@keywords\par\vfill + \ifx\@acmCodeDataLink\@empty\else\bigskip + Code and data links:\\ \@acmCodeDataLink\par\bigskip \fi - \ifx\@empty\@authorsaddresses\else\@setauthorsaddresses\vfill\fi + \ifx\@keywords\@empty\else\bigskip + Keywords: \@keywords\par + \fi + \ifx\@empty\@authorsaddresses\else\bigskip\@setauthorsaddresses\fi + \zsaveposy{@ACM@acmcpbox@y}% } \egroup} % \end{macrocode} @@ -6371,9 +6480,9 @@ % \changes{v1.46}{2017/08/29}{Deleted rule} % \changes{v1.78}{2021/05/16}{Added processing the overflowing title box} % \changes{1.85}{2022/05/08}{Added: acmengage} +% \changes{1.89}{2022/12/27}{Moved badges to top header} % The printing of top matter starts a new page and uses the given -% title box. Note that for |sigchi-a| we print badges here rather -% than in \cs{mktitle} since we want them in the margins. +% title box. % % Note that if there are too many authors, |\mktitle@bx| might % overflow the page. Therefore we start with checking this and if @@ -6418,18 +6527,6 @@ \twocolumn[\box\mktitle@bx]% \or % sigchi-a \par\box\mktitle@bx\par\bigskip - \if@ACM@badge - \marginpar{\noindent - \ifx\@acmBadgeL@image\@empty\else - \href{\@acmBadgeL@url}{% - \includegraphics[width=\@ACM@badge@width]{\@acmBadgeL@image}}% - \hskip\@ACM@badge@skip - \fi - \ifx\@acmBadgeR@image\@empty\else - \href{\@acmBadgeR@url}{% - \includegraphics[width=\@ACM@badge@width]{\@acmBadgeR@image}}% - \fi}% - \fi \or % acmengage \twocolumn[\box\mktitle@bx]% \or % acmcp @@ -6552,6 +6649,8 @@ % \cs{translatedsubtitle}} % \changes{v1.87}{2022/08/14}{Special treatment for acmcp} % \changes{v1.88}{2022/10/24}{Moved down title for acmcp} +% \changes{v1.89}{2022/12/27}{Moved badges to top header} +% \changes{v1.89}{2023/01/07}{Moved up acmcp title} % The version of \cs{mktitle} for most journals % \begin{macrocode} \def\@mktitle@i{\hsize=\textwidth @@ -6559,34 +6658,13 @@ \advance\hsize by -6pc% \fi \@ACM@title@width=\hsize - \ifx\@acmBadgeL@image\@empty\else - \advance\@ACM@title@width by -\@ACM@badge@width - \advance\@ACM@title@width by -\@ACM@badge@skip - \fi - \ifx\@acmBadgeR@image\@empty\else - \advance\@ACM@title@width by -\@ACM@badge@width - \advance\@ACM@title@width by -\@ACM@badge@skip - \fi \setbox\mktitle@bx=\vbox{\noindent\@titlefont - \ifx\@acmBadgeL@image\@empty\else - \raisebox{-.5\baselineskip}[\z@][\z@]{\href{\@acmBadgeL@url}{% - \includegraphics[width=\@ACM@badge@width]{\@acmBadgeL@image}}}% - \hskip\@ACM@badge@skip - \fi - \if@ACM@acmcp - \vspace*{108.5\p@}\par\noindent - \fi \parbox[t]{\@ACM@title@width}{\raggedright \@titlefont\noindent \@title\@translatedtitle% \ifx\@subtitle\@empty\else \par\noindent{\@subtitlefont\@subtitle\@translatedsubtitle}% \fi}% - \ifx\@acmBadgeR@image\@empty\else - \hskip\@ACM@badge@skip - \raisebox{-.5\baselineskip}[\z@][\z@]{\href{\@acmBadgeR@url}{% - \includegraphics[width=\@ACM@badge@width]{\@acmBadgeR@image}}}% - \fi \par\bigskip}}% % \end{macrocode} % @@ -6604,37 +6682,18 @@ % \changes{v1.06}{2016/05/01}{Added processing badges} % \changes{v1.83}{2022/02/20}{Added \cs{translatedtitle} and % \cs{translatedsubtitle}} -% The version of \cs{@mktitle} for SIG proceedings. Note that since -% the title is centered, we leave space for the left badge even if -% only the right badge is defined. +% \changes{v1.89}{2022/12/27}{Moved badges to top header} +% The version of \cs{@mktitle} for SIG proceedings. % \begin{macrocode} \def\@mktitle@iii{\hsize=\textwidth \setbox\mktitle@bx=\vbox{\@titlefont\centering \@ACM@title@width=\hsize - \if@ACM@badge - \advance\@ACM@title@width by -2\@ACM@badge@width - \advance\@ACM@title@width by -2\@ACM@badge@skip - \parbox[b]{\@ACM@badge@width}{\strut - \ifx\@acmBadgeL@image\@empty\else - \raisebox{-.5\baselineskip}[\z@][\z@]{\href{\@acmBadgeL@url}{% - \includegraphics[width=\@ACM@badge@width]{\@acmBadgeL@image}}}% - \fi}% - \hskip\@ACM@badge@skip - \fi \parbox[t]{\@ACM@title@width}{\centering\@titlefont \@title\@translatedtitle% \ifx\@subtitle\@empty\else \par\noindent{\@subtitlefont\@subtitle\@translatedsubtitle} \fi }% - \if@ACM@badge - \hskip\@ACM@badge@skip - \parbox[b]{\@ACM@badge@width}{\strut - \ifx\@acmBadgeR@image\@empty\else - \raisebox{-.5\baselineskip}[\z@][\z@]{\href{\@acmBadgeR@url}{% - \includegraphics[width=\@ACM@badge@width]{\@acmBadgeR@image}}}% - \fi}% - \fi \par\bigskip}}% % \end{macrocode} % @@ -7809,6 +7868,7 @@ % journal format} % \changes{v1.59}{2019/04/20}{Moved page styles to \cs{AtBeginDocument}} % \changes{v1.87}{2022/08/14}{Special treatment for acmcp} +% \changes{v1.89}{2022/12/27}{Moved badges here} % The page style for the first page only. % \begin{macrocode} \AtBeginDocument{% @@ -7819,7 +7879,8 @@ \if@ACM@journal@bibstrip \ifcase\ACM@format@nr \relax % manuscript - \fancyhead[L]{\ACM@linecountL}% + \fancyhead[L]{\ACM@linecountL\@acmBadgeL}% + \fancyhead[R]{\@acmBadgeR}% \fancyfoot[RO,LE]{\if@ACM@printfolios\small\thepage\fi}% \if@ACM@nonacm\else% \fancyfoot[RE,LO]{\footnotesize Manuscript submitted to ACM}% @@ -7830,9 +7891,10 @@ \@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}% \fi% - \fancyhead[LE]{\ACM@linecountL\@folioblob}% - \fancyhead[LO]{\ACM@linecountL}% - \fancyhead[RO]{\@folioblob}% + \fancyhead[LE]{\ACM@linecountL\@folioblob\@acmBadgeL}% + \fancyhead[LO]{\ACM@linecountL\@acmBadgeL}% + \fancyhead[RO]{\@acmBadgeR\@folioblob}% + \fancyhead[RE]{\@acmBadgeR}% \fancyheadoffset[RO,LE]{0.6\@folio@wd}% \or % acmlarge \if@ACM@nonacm\else% @@ -7840,9 +7902,10 @@ \@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}% \fi% - \fancyhead[RO]{\@folioblob}% - \fancyhead[LE]{\ACM@linecountL\@folioblob}% - \fancyhead[LO]{\ACM@linecountL}% + \fancyhead[RO]{\@acmBadgeR\@folioblob}% + \fancyhead[RE]{\@acmBadgeR}% + \fancyhead[LE]{\ACM@linecountL\@folioblob\@acmBadgeL}% + \fancyhead[LO]{\ACM@linecountL\@acmBadgeL}% \fancyheadoffset[RO,LE]{1.4\@folio@wd}% \or % acmtog \if@ACM@nonacm\else% @@ -7850,16 +7913,16 @@ \@acmNumber, Article \@acmArticle. Publication date: \@acmPubDate.}% \fi% - \fancyhead[L]{\ACM@linecountL}% - \fancyhead[R]{\ACM@linecountR}% + \fancyhead[L]{\ACM@linecountL\@acmBadgeL}% + \fancyhead[R]{\@acmBadgeR\ACM@linecountR}% \else % Conference proceedings - \fancyhead[L]{\ACM@linecountL}% - \fancyhead[R]{\ACM@linecountR}% + \fancyhead[L]{\ACM@linecountL\@acmBadgeL}% + \fancyhead[R]{\@acmBadgeR\ACM@linecountR}% \fancyfoot[C]{\if@ACM@printfolios\footnotesize\thepage\fi}% \fi \else - \fancyhead[L]{\ACM@linecountL}% - \fancyhead[R]{\ACM@linecountR}% + \fancyhead[L]{\ACM@linecountL\@acmBadgeL}% + \fancyhead[R]{\@acmBadgeR\ACM@linecountR}% \fancyfoot[C]{\if@ACM@printfolios\footnotesize\thepage\fi}% \fi \if@ACM@timestamp @@ -7879,8 +7942,8 @@ \raisebox{-\dimexpr(0.25\textheight*\ACM@ArticleType@nr)}{% \rotatebox{90}{\colorbox{@ACM@Article@color}{\color{white}% \strut\ACM@ArticleType~Article}}}}% - \ACM@linecountL}% - \fancyhead[R]{\makebox[\z@][r]{\box\@ACM@acmcpbox}}% + \ACM@linecountL\@acmBadgeL}% + \fancyhead[R]{\@acmBadgeR\makebox[\z@][r]{\box\@ACM@acmcpbox}}% \fancyfoot[L,C]{}% \fancyfoot[R]{\footnotesize \@journalName, Volume~\@acmVolume, Issue~\@acmNumber, diff --git a/macros/latex/contrib/acmart/acmart.pdf b/macros/latex/contrib/acmart/acmart.pdf index b2b2885b6b..4fffca71ca 100644 Binary files a/macros/latex/contrib/acmart/acmart.pdf and b/macros/latex/contrib/acmart/acmart.pdf differ diff --git a/macros/latex/contrib/acmart/acmguide.pdf b/macros/latex/contrib/acmart/acmguide.pdf index 1501ce4da7..ac5b4417d1 100644 Binary files a/macros/latex/contrib/acmart/acmguide.pdf and b/macros/latex/contrib/acmart/acmguide.pdf differ diff --git a/macros/latex/contrib/acmart/samples/artifacts_available.jpg b/macros/latex/contrib/acmart/samples/artifacts_available.jpg new file mode 100644 index 0000000000..995cef4d26 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/artifacts_available.jpg differ diff --git a/macros/latex/contrib/acmart/samples/artifacts_available_v1.1.png b/macros/latex/contrib/acmart/samples/artifacts_available_v1.1.png new file mode 100644 index 0000000000..d0d2bd24a0 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/artifacts_available_v1.1.png differ diff --git a/macros/latex/contrib/acmart/samples/artifacts_evaluated_functional.jpg b/macros/latex/contrib/acmart/samples/artifacts_evaluated_functional.jpg new file mode 100644 index 0000000000..1720c19472 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/artifacts_evaluated_functional.jpg differ diff --git a/macros/latex/contrib/acmart/samples/artifacts_evaluated_functional_v1.1.png b/macros/latex/contrib/acmart/samples/artifacts_evaluated_functional_v1.1.png new file mode 100644 index 0000000000..29aa063a40 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/artifacts_evaluated_functional_v1.1.png differ diff --git a/macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable.jpg b/macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable.jpg new file mode 100644 index 0000000000..16765d1e07 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable.jpg differ diff --git a/macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable_v1.1.png b/macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable_v1.1.png new file mode 100644 index 0000000000..34c4d60e21 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/artifacts_evaluated_reusable_v1.1.png differ diff --git a/macros/latex/contrib/acmart/samples/results_replicated_v1.1.png b/macros/latex/contrib/acmart/samples/results_replicated_v1.1.png new file mode 100644 index 0000000000..6610dc0a05 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/results_replicated_v1.1.png differ diff --git a/macros/latex/contrib/acmart/samples/results_reproduced_v1.1.png b/macros/latex/contrib/acmart/samples/results_reproduced_v1.1.png new file mode 100644 index 0000000000..051bcc5e02 Binary files /dev/null and b/macros/latex/contrib/acmart/samples/results_reproduced_v1.1.png differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmcp.pdf b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf index dd16095b9c..0e4a7d4239 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmcp.pdf and b/macros/latex/contrib/acmart/samples/sample-acmcp.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmengage.pdf b/macros/latex/contrib/acmart/samples/sample-acmengage.pdf index b0e607be30..9a7df72f79 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmengage.pdf and b/macros/latex/contrib/acmart/samples/sample-acmengage.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf index 002e2ea098..8c9a3ab649 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf and b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf index 8b6e58a143..cd0a75027f 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall-biblatex.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf index 4631786f96..eed36cf237 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf index d42e040ba0..3ecd89d50e 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf index 3e4d4eac4e..cc46fbeff4 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf and b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf index 16ce82202b..cb5759de0e 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf and b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf index 15386cdc3a..5ccc5ffbf9 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf and b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf index 0f17db119c..1b01652b69 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf and b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf index 4415bfe8e9..eb07d2fe83 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf and b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf index ab2fbdff87..27b78626cf 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf and b/macros/latex/contrib/acmart/samples/sample-sigconf-biblatex.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf index f3b1268ee4..120524d37e 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf and b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf index ade6b5e21c..7047d0932a 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf and b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf index 9809c87490..6a62eb079f 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf and b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf differ diff --git a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf index f8898be8a0..f4d41ceeae 100644 Binary files a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf and b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf differ diff --git a/macros/latex/contrib/acmart/samples/samples.dtx b/macros/latex/contrib/acmart/samples/samples.dtx index 24fa4f0594..74b269a76e 100644 --- a/macros/latex/contrib/acmart/samples/samples.dtx +++ b/macros/latex/contrib/acmart/samples/samples.dtx @@ -1264,21 +1264,24 @@ a numbered list of URLs with an optional brief description of the content found \section{Problem statement} -In this document we discuss how to write an ACM article. +In this document we discuss how to write an ACM article. \section{Methods} -This document provides \LaTeX\ templates for the article. +This document provides \LaTeX\ templates for the article. We +demonstrate different versions of ACM styles and show various options +and commands. We add extensive documentation for these commands and +show examples of their use. \section{Results} -We hope the resulting templates help the reader to write ACM papers -and proceedings. +We hope the resulting templates and documentation will help the +readers to write submissions for ACM journals and proceedings. \section{Significance} This document is important for anybody wanting to comply with the -requirements of ACM publishing. +requirements of ACM publishing. \end{document} diff --git a/macros/latex/contrib/acmart/samples/tmp.pdf b/macros/latex/contrib/acmart/samples/tmp.pdf new file mode 100644 index 0000000000..0d80820edf Binary files /dev/null and b/macros/latex/contrib/acmart/samples/tmp.pdf differ diff --git a/macros/latex/contrib/tangocolors/README.md b/macros/latex/contrib/tangocolors/README.md new file mode 100644 index 0000000000..c92742d3a9 --- /dev/null +++ b/macros/latex/contrib/tangocolors/README.md @@ -0,0 +1,11 @@ +Tango colors for LaTeX +---------------------- + +This package allows to use colors from the Tango color palette (http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines#Color_Palette) +easily in LaTeX. + +This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, +either version 1.3 of this license or later (at your option) or any version of the GNU Public License. +The latest version of the LPPL is on http://www.latex-project.org/lppl.txt (version 1.3 or later is +part of all distributions of LaTeX version 2005/12/01 or later). The latest version of the GPL is +available on https://www.gnu.org/licenses/gpl-3.0.txt. \ No newline at end of file diff --git a/macros/latex/contrib/tangocolors/tangocolors.dtx b/macros/latex/contrib/tangocolors/tangocolors.dtx new file mode 100644 index 0000000000..2b96c1e079 --- /dev/null +++ b/macros/latex/contrib/tangocolors/tangocolors.dtx @@ -0,0 +1,188 @@ +% \iffalse meta-comment +% +% Copyright (C) 2009 by Daniel G. Siegel +% Copyright (C) 2023 by Hilmar Preuße +% --------------------------------------------------------------------------- +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or later (at your option) or any version of the +% GNU Public License. +% The latest version of the LPPL is on +% http://www.latex-project.org/lppl.txt +% (version 1.3 or later is part of all distributions of LaTeX version +% 2005/12/01 or later). +% The latest version of the GPL is available on +% https://www.gnu.org/licenses/gpl-3.0.txt +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Daniel G. Siegel and +% Hilmar Preuße. +% +% This work consists of the files tangocolors.dtx and tangocolors.ins +% and the derived filebase tangocolors.sty. +% +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{tangocolors.dtx} +% +%\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%\ProvidesPackage{tangocolors} +%<*package> + [2023/03/20 0.2 Tango colors for LaTeX] +% +% +%<*driver> +\documentclass{ltxdoc} +\usepackage{tangocolors}[2023/03/20] +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{tangocolors.dtx} + \PrintChanges + \PrintIndex +\end{document} +% +% \fi +% +% \CheckSum{89} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% +% \changes{0.1}{2009/05/11}{Initial release} +% \changes{0.2}{2023/03/20}{Converted to DTX file} +% +% \DoNotIndex{\newcommand,\newenvironment} +% +% \providecommand*{\url}{\texttt} +% \GetFileInfo{tangocolors.dtx} +% \title{The \textsf{tangocolors} package} +% \author{Daniel G. Siegel \url{daniel@dgsiegel.net} \\ +% and \\ Hilmar Preuße \url{hille42@web.de}} +% \date{\fileversion~from \filedate} +% +% \maketitle +% +% \section{Introduction} +% +% This package allows to use colors from the Tango color +% palette\footnote{\url{http://tango.freedesktop.org/Tango\_Icon\_Theme\_Guidelines}} +% easily in \LaTeX. It may be distributed and/or modified +% +% \begin{enumerate} +% \item under the \LaTeX{} Project Public License and/or +% \item under the GNU Public License. +% \end{enumerate} +% +% \section{Usage} +% +% The Tango color palette defines some color names and their RGB codes. +% This \LaTeX{} macro package implements these color names, so +% one can easily access these colors by their names. The package +% uses the \verb|xcolor| package, so please refer to the documentation +% to this package to learn how to access these defined colors. +% +% \DescribeMacro{\dumptangocolors} +% +% A macro to dump a table of the available additional colors like this. +% \begin{verbatim} +% \documentclass[11pt,a4paper]{article} +% +% \usepackage{tangocolors} +% +% \begin{document} +% \dumptangocolors +% \end{document} +% \end{verbatim} + +% \dumptangocolors +% +% \StopEventually{} +% +% \section{Implementation} +% +% \iffalse +%<*package> +% \fi +% +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{tangocolors}[2023/03/20 v0.2 Tango colors for LaTeX] +\PassOptionsToPackage{table}{xcolor} +\RequirePackage{xcolor} +\definecolor{butter1}{rgb}{0.988,0.914,0.310} +\definecolor{butter2}{rgb}{0.929,0.831,0.000} +\definecolor{butter3}{rgb}{0.769,0.627,0.000} +\definecolor{orange1}{rgb}{0.988,0.686,0.243} +\definecolor{orange2}{rgb}{0.961,0.475,0.000} +\definecolor{orange3}{rgb}{0.808,0.361,0.000} +\definecolor{chocolate1}{rgb}{0.914,0.725,0.431} +\definecolor{chocolate2}{rgb}{0.757,0.490,0.067} +\definecolor{chocolate3}{rgb}{0.561,0.349,0.008} +\definecolor{chameleon1}{rgb}{0.541,0.886,0.204} +\definecolor{chameleon2}{rgb}{0.451,0.824,0.086} +\definecolor{chameleon3}{rgb}{0.306,0.604,0.024} +\definecolor{skyblue1}{rgb}{0.447,0.624,0.812} +\definecolor{skyblue2}{rgb}{0.204,0.396,0.643} +\definecolor{skyblue3}{rgb}{0.125,0.290,0.529} +\definecolor{plum1}{rgb}{0.678,0.498,0.659} +\definecolor{plum2}{rgb}{0.459,0.314,0.482} +\definecolor{plum3}{rgb}{0.361,0.208,0.400} +\definecolor{scarletred1}{rgb}{0.937,0.161,0.161} +\definecolor{scarletred2}{rgb}{0.800,0.000,0.000} +\definecolor{scarletred3}{rgb}{0.643,0.000,0.000} +\definecolor{aluminium1}{rgb}{0.933,0.933,0.925} +\definecolor{aluminium2}{rgb}{0.827,0.843,0.812} +\definecolor{aluminium3}{rgb}{0.729,0.741,0.714} +\definecolor{aluminium4}{rgb}{0.533,0.541,0.522} +\definecolor{aluminium5}{rgb}{0.333,0.341,0.325} +\definecolor{aluminium6}{rgb}{0.180,0.204,0.212} +% \end{macrocode} +% +% \begin{macro}{\dumptangocolors} +% \begin{macrocode} +\newcommand{\dumptangocolors}{% + \begingroup + \renewcommand{\arraystretch}{1.5} + \begin{tabular}{ccc} + \cellcolor{butter1}butter1 & \cellcolor{butter2}butter2 & \cellcolor{butter3}butter3 \\ + \cellcolor{orange1}orange1 & \cellcolor{orange2}orange2 & \cellcolor{orange3}orange3 \\ + \cellcolor{chocolate1}chocolate1 & \cellcolor{chocolate2}chocolate2 & \cellcolor{chocolate3}chocolate3 \\ + \cellcolor{chameleon1}chameleon1 & \cellcolor{chameleon2}chameleon2 & \cellcolor{chameleon3}chameleon3 \\ + \cellcolor{skyblue1}skyblue1 & \cellcolor{skyblue2}skyblue2 & \cellcolor{skyblue3}\textcolor{white}{skyblue3} \\ + \cellcolor{plum1}plum1 & \cellcolor{plum2}plum2 & \cellcolor{plum3}\textcolor{white}{plum3} \\ + \cellcolor{scarletred1}scarletred1 & \cellcolor{scarletred2}scarletred2 & \cellcolor{scarletred3}\textcolor{white}{scarletred3} \\ + \cellcolor{aluminium1}aluminium1 & \cellcolor{aluminium2}aluminium2 & \cellcolor{aluminium3}aluminium3 \\ + \cellcolor{aluminium4}aluminium4 & \cellcolor{aluminium5}\textcolor{white}{aluminium5} & \cellcolor{aluminium6}\textcolor{white}{aluminium6} \\ + \end{tabular} + \endgroup +} +% \end{macrocode} +% \end{macro} +% + +% +% \iffalse +% +% \fi +% +% \Finale +\endinput diff --git a/macros/latex/contrib/tangocolors/tangocolors.ins b/macros/latex/contrib/tangocolors/tangocolors.ins new file mode 100644 index 0000000000..5cc892b1dc --- /dev/null +++ b/macros/latex/contrib/tangocolors/tangocolors.ins @@ -0,0 +1,67 @@ +%% Copyright (C) 2009 by Daniel G. Siegel +%% Copyright (C) 2023 by Hilmar Preuße +%% -------------------------------------------------------------------------- + +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or later (at your option) or any version of the +%% GNU Public License. +%% The latest version of the LPPL is on +%% http://www.latex-project.org/lppl.txt +%% (version 1.3 or later is part of all distributions of LaTeX version +%% 2005/12/01 or later). +%% The latest version of the GPL is available on +%% https://www.gnu.org/licenses/gpl-3.0.txt +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Daniel G. Siegel & +%% Hilmar Preuße. +%% +%% This work consists of the files tangocolors.dtx and tangocolors.ins +%% and the derived filebase tangocolors.sty. +%% + +\input docstrip.tex +\keepsilent + +\usedir{tex/latex/tangocolors} + +\preamble + +This is a generated file. + +Copyright (C) 2009 by Daniel G. Siegel +Copyright (C) 2023 by Hilmar Preuße +-------------------------------------------------------------------------- +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3 +of this license or later (at your option) or any version of the +GNU Public License. +The latest version of the LPPL is on + http://www.latex-project.org/lppl.txt +(version 1.3 or later is part of all distributions of LaTeX version +2005/12/01 or later). +The latest version of the GPL is available on + https://www.gnu.org/licenses/gpl-3.0.txt + +\endpreamble + +\generate{\file{tangocolors.sty}{\from{tangocolors.dtx}{package}}} + +\obeyspaces +\Msg{*************************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* tangocolors.sty *} +\Msg{* *} +\Msg{* To produce the documentation run the file tangocolors.dtx *} +\Msg{* through LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} +\Msg{* *} +\Msg{*************************************************************} + +\endbatchfile diff --git a/macros/latex/contrib/tangocolors/tangocolors.pdf b/macros/latex/contrib/tangocolors/tangocolors.pdf new file mode 100644 index 0000000000..9afb4e3b11 Binary files /dev/null and b/macros/latex/contrib/tangocolors/tangocolors.pdf differ -- cgit v1.2.3