summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-11-28 03:03:03 +0000
committerNorbert Preining <norbert@preining.info>2024-11-28 03:03:03 +0000
commite553a2a052caea77287afe41cb0132d0df812935 (patch)
tree1776a4f17b0605a871897372cd9a040e0bf800aa /macros/latex
parent13c9eb88008983c7f0fe6a552623757ec93cdd8f (diff)
CTAN sync 202411280303
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/biblatex-contrib/hep-bibliography/bibliography.bib18
-rw-r--r--macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-documentation.pdfbin310153 -> 330883 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.dtx16
-rw-r--r--macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.pdfbin366410 -> 385792 bytes
-rw-r--r--macros/latex/contrib/hep-acronym/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-acronym/hep-acronym-documentation.pdfbin324023 -> 325458 bytes
-rw-r--r--macros/latex/contrib/hep-acronym/hep-acronym-implementation.dtx107
-rw-r--r--macros/latex/contrib/hep-acronym/hep-acronym-implementation.pdfbin357593 -> 357303 bytes
-rw-r--r--macros/latex/contrib/hep-float/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-float/hep-float-documentation.pdfbin346092 -> 347330 bytes
-rw-r--r--macros/latex/contrib/hep-float/hep-float-implementation.dtx11
-rw-r--r--macros/latex/contrib/hep-float/hep-float-implementation.pdfbin384741 -> 383670 bytes
-rw-r--r--macros/latex/contrib/hep-graphic/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-graphic/hep-graphic-documentation.pdfbin273234 -> 297204 bytes
-rw-r--r--macros/latex/contrib/hep-graphic/hep-graphic-implementation.dtx91
-rw-r--r--macros/latex/contrib/hep-graphic/hep-graphic-implementation.pdfbin335211 -> 335467 bytes
-rw-r--r--macros/latex/contrib/hep-math/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-math/hep-math-documentation.pdfbin411549 -> 409612 bytes
-rw-r--r--macros/latex/contrib/hep-math/hep-math-implementation.dtx46
-rw-r--r--macros/latex/contrib/hep-math/hep-math-implementation.pdfbin470224 -> 466386 bytes
-rw-r--r--macros/latex/contrib/hep-paper/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-paper/hep-paper-documentation.pdfbin510607 -> 533077 bytes
-rw-r--r--macros/latex/contrib/hep-paper/hep-paper-implementation.dtx34
-rw-r--r--macros/latex/contrib/hep-paper/hep-paper-implementation.pdfbin553013 -> 572502 bytes
-rw-r--r--macros/latex/contrib/hep-reference/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-reference/hep-reference-documentation.pdfbin292396 -> 292905 bytes
-rw-r--r--macros/latex/contrib/hep-reference/hep-reference-implementation.dtx8
-rw-r--r--macros/latex/contrib/hep-reference/hep-reference-implementation.pdfbin347850 -> 347884 bytes
-rw-r--r--macros/latex/contrib/hep-text/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-text/hep-text-documentation.pdfbin370668 -> 369591 bytes
-rw-r--r--macros/latex/contrib/hep-text/hep-text-implementation.dtx16
-rw-r--r--macros/latex/contrib/hep-text/hep-text-implementation.pdfbin392254 -> 389907 bytes
-rw-r--r--macros/latex/contrib/hep-title/bibliography.bib18
-rw-r--r--macros/latex/contrib/hep-title/hep-title-documentation.pdfbin318690 -> 318176 bytes
-rw-r--r--macros/latex/contrib/hep-title/hep-title-implementation.dtx8
-rw-r--r--macros/latex/contrib/hep-title/hep-title-implementation.pdfbin393480 -> 392605 bytes
-rw-r--r--macros/latex/contrib/suftesi/suftesi.dtx12
-rw-r--r--macros/latex/contrib/suftesi/suftesi.pdfbin849471 -> 849557 bytes
-rw-r--r--macros/latex/contrib/verifiche/verifiche-example.pdfbin259227 -> 260661 bytes
-rw-r--r--macros/latex/contrib/verifiche/verifiche-example.tex39
-rw-r--r--macros/latex/contrib/verifiche/verifiche.dtx614
-rw-r--r--macros/latex/contrib/verifiche/verifiche.ins2
-rw-r--r--macros/latex/contrib/verifiche/verifiche.pdfbin627088 -> 651831 bytes
43 files changed, 895 insertions, 271 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/hep-bibliography/bibliography.bib b/macros/latex/contrib/biblatex-contrib/hep-bibliography/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/biblatex-contrib/hep-bibliography/bibliography.bib
+++ b/macros/latex/contrib/biblatex-contrib/hep-bibliography/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-documentation.pdf b/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-documentation.pdf
index eeedcba12c..3808fcd291 100644
--- a/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-documentation.pdf
+++ b/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.dtx b/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.dtx
index db8c66d224..28dfafcc78 100644
--- a/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.dtx
+++ b/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.dtx
@@ -18,9 +18,9 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-bibliography}[2023/07/01 v1.2 HEP-Bibliography]
-%<datamodel>\ProvidesFile{hep-bibliography.dbx}[2023/07/01 v1.2 HEP-Bibliography biblatex data model]
-%<documentation>\ProvidesFile{hep-bibliography-documentation.tex}[2023/07/01 v1.2 HEP-Bibliography documentation]
+%<package>\ProvidesPackage{hep-bibliography}[2024/11/01 v1.3 HEP-Bibliography]
+%<datamodel>\ProvidesFile{hep-bibliography.dbx}[2024/11/01 v1.3 HEP-Bibliography biblatex data model]
+%<documentation>\ProvidesFile{hep-bibliography-documentation.tex}[2024/11/01 v1.3 HEP-Bibliography documentation]
%
%<*documentation>
\RequirePackage[l2tabu, orthodox]{nag}
@@ -52,7 +52,7 @@
%
% \fi
%
-% \CheckSum{0}
+% \CheckSum{354}
%
% \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
@@ -71,7 +71,9 @@
% Right brace \} Tilde \~}
%
% \changes{v1.0}{2021/09/01}{Initial version of the style file.}
-% \changes{v1.1}{2023/07/01}{Bug fixes.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
%
% \ifshort
%<*documentation>
@@ -330,8 +332,8 @@ Errata can be included using the "related" feature.
% \begin{macro}{\printbibliography}
% Allow the bibliography to be printed sloppy
% \begin{macrocode}
-\let\hep@printbibliography\printbibliography
-\renewcommand{\printbibliography}{\sloppy\hep@printbibliography}
+% \let\hep@printbibliography\printbibliography
+% \renewcommand{\printbibliography}{{\sloppy\hep@printbibliography}}
% \end{macrocode}
% \end{macro}
diff --git a/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.pdf b/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.pdf
index 0276bace5b..e16069d3b4 100644
--- a/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.pdf
+++ b/macros/latex/contrib/biblatex-contrib/hep-bibliography/hep-bibliography-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-acronym/bibliography.bib b/macros/latex/contrib/hep-acronym/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-acronym/bibliography.bib
+++ b/macros/latex/contrib/hep-acronym/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-acronym/hep-acronym-documentation.pdf b/macros/latex/contrib/hep-acronym/hep-acronym-documentation.pdf
index 5adef17ad2..ba4ba216af 100644
--- a/macros/latex/contrib/hep-acronym/hep-acronym-documentation.pdf
+++ b/macros/latex/contrib/hep-acronym/hep-acronym-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-acronym/hep-acronym-implementation.dtx b/macros/latex/contrib/hep-acronym/hep-acronym-implementation.dtx
index 43a4dd900e..14bd3fd5cb 100644
--- a/macros/latex/contrib/hep-acronym/hep-acronym-implementation.dtx
+++ b/macros/latex/contrib/hep-acronym/hep-acronym-implementation.dtx
@@ -18,16 +18,16 @@
% \iffalse
%
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-acronym}[2023/07/01 v1.2 Acronyms using glossaries]
-%<documentation>\ProvidesFile{hep-acronym-documentation.tex}[2023/07/01 v1.2 hep-acronym documentation]
+%<package>\ProvidesPackage{hep-acronym}[2024/11/01 v1.3 Acronyms using glossaries]
+%<documentation>\ProvidesFile{hep-acronym-documentation.tex}[2024/11/01 v1.3 hep-acronym documentation]
%
%<*documentation>
\RequirePackage[l2tabu, orthodox]{nag}
\documentclass{ltxdoc}
-\renewcommand\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}}
-\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}}
-\renewcommand{\MacroFont}{\codestyle}
+\renewcommand*\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}}
+\AtBeginEnvironment{macrocode}{\renewcommand*{\ttdefault}{clmt}}
+\renewcommand*{\MacroFont}{\codestyle}
\AtBeginDocument{\DeleteShortVerb{\|}}
\AtBeginDocument{\MakeShortVerb{\"}}
\EnableCrossrefs
@@ -51,7 +51,7 @@
%
% \fi
%
-% \CheckSum{0}
+% \CheckSum{541}
%
% \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
@@ -70,7 +70,9 @@
% Right brace \} Tilde \~}
%
% \changes{v1.0}{2021/09/01}{Initial version of the style file.}
-% \changes{v1.1}{2023/07/01}{Bug fixes.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
%
% \ifshort
%<*documentation>
@@ -182,9 +184,9 @@ In the case that the glossary should be printed additional packages must be load
% \begin{macrocode}
\AtBeginDocument{
\@ifpackageloaded{hyperref}{
- \providecommand{\glsxtrusefield}[2]{\@gls@entry@field{#1}{#2}}
- \providecommand{\glsxtrsetfieldifexists}[3]{\glsdoifexists{#1}{#3}}
- \providecommand{\gGlsXtrSetField}[3]{%
+ \providecommand*{\glsxtrusefield}[2]{\@gls@entry@field{#1}{#2}}
+ \providecommand*{\glsxtrsetfieldifexists}[3]{\glsdoifexists{#1}{#3}}
+ \providecommand*{\gGlsXtrSetField}[3]{%
\glsxtrsetfieldifexists{#1}{#2}{%
\csgdef{glo@\glsdetoklabel{#1}@#2}{#3}%
}%
@@ -207,7 +209,7 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide for the case that hyperref is not loaded.
% \begin{macrocode}
-\newcommand{\hep@disable}[1]{%
+\newcommand*{\hep@disable}[1]{%
\@ifpackageloaded{hyperref}{\pdfstringdefDisableCommands{#1}}{}%
}
% \end{macrocode}
@@ -223,9 +225,9 @@ In the case that the glossary should be printed additional packages must be load
% \begin{macrocode}
\PassOptionsToPackage{excludeor}{everyhook}
\RequirePackage{everyhook}
-\newcommand{\begin@sentence}{1001}
-\newcommand{\sentence}{\spacefactor=\begin@sentence}
-\hep@disable{\renewcommand\sentence{}}
+\newcommand*{\begin@sentence}{1001}
+\newcommand*{\sentence}{\spacefactor=\begin@sentence}
+\hep@disable{\renewcommand*\sentence{}}
\PushPostHook{par}{{\sentence}}
\gdef\ttl@case{\leavevmode\sentence}
% \end{macrocode}
@@ -242,10 +244,10 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\if@begin@of@sentence}
+% \begin{macro}{\hep@if@begin@of@sentence}
% Provide a macro checking for the beginning of a sentence by examining the length of the preceeding space.
% \begin{macrocode}
-\newcommand{\if@begin@of@sentence}[2]{\leavevmode\protecting{%
+\newcommand*{\hep@if@begin@of@sentence}[2]{\leavevmode\protecting{%
\ifboolexpr{ test {\ifnumcomp{\spacefactor}{=}{3000}} or%
test {\ifnumcomp{\spacefactor}{=}{2000}} or%
test {\ifnumcomp{\spacefactor}{=}{\begin@sentence}}%
@@ -260,7 +262,8 @@ In the case that the glossary should be printed additional packages must be load
\RequirePackage{xparse}
\ProvideDocumentCommand{\mathdef}{mO{0}m}{%
\expandafter\let\csname hep@text\string#1\endcsname=#1
- \expandafter\newcommand\csname hep@math\string#1\endcsname[#2]{#3}
+ \expandafter\newcommand\expandafter*%
+ \csname hep@math\string#1\endcsname[#2]{#3}
\DeclareRobustCommand#1{%
\ifmmode
\expandafter\let\expandafter\next\csname%
@@ -298,8 +301,8 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide the singular acronym macro.
% \begin{macrocode}
- \expandafter\newcommand\csname#3\endcsname[1][]{%
- \if@begin@of@sentence{%
+ \expandafter\newcommand\expandafter*\csname#3\endcsname[1][]{%
+ \hep@if@begin@of@sentence{%
\ifglsused{#3}{\cgls{#3}[##1]}{\cGls{#3}[##1]}%
}{\cgls{#3}[##1]}%
\ifnum\glsentrycurrcount{#3}>1\relax
@@ -321,8 +324,8 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide the plural acronym macro.
% \begin{macrocode}
- \expandafter\newcommand\csname#3s\endcsname[1][]{%
- \if@begin@of@sentence{\cGlspl{#3}[##1]}{\cglspl{#3}[##1]}%
+ \expandafter\newcommand\expandafter*\csname#3s\endcsname[1][]{%
+ \hep@if@begin@of@sentence{\cGlspl{#3}[##1]}{\cglspl{#3}[##1]}%
\IfBooleanTF{#4}{}{\@\xspace}%
}
% \end{macrocode}
@@ -340,8 +343,8 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide an enforced long form.
% \begin{macrocode}
- \expandafter\newcommand\csname#3long\endcsname[1][]{%
- \if@begin@of@sentence{\Glsdesc*{#3}[##1]}{\glsdesc*{#3}[##1]}%
+ \expandafter\newcommand\expandafter*\csname#3long\endcsname[1][]{%
+ \hep@if@begin@of@sentence{\Glsdesc*{#3}[##1]}{\glsdesc*{#3}[##1]}%
\IfBooleanTF{#4}{}{\@\xspace}%
}
% \end{macrocode}
@@ -351,8 +354,8 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide an enforced long plural form.
% \begin{macrocode}
- \expandafter\newcommand\csname#3slong\endcsname[1][]{%
- \if@begin@of@sentence{%
+ \expandafter\newcommand\expandafter*\csname#3slong\endcsname[1][]{%
+ \hep@if@begin@of@sentence{%
\Glsxtrlongpl*{#3}[##1]}{\glsxtrlongpl*{#3}[##1]%
}%
\IfBooleanTF{#4}{}{\@\xspace}%
@@ -377,7 +380,7 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide the singular acronym macro.
% \begin{macrocode}
- \expandafter\newcommand\csname#3\endcsname[1][]{%
+ \expandafter\newcommand\expandafter*\csname#3\endcsname[1][]{%
\IfNoValueTF{#2}{#3}{#2}\IfBooleanTF{#4}{}{\@\xspace}##1%
}
% \end{macrocode}
@@ -395,7 +398,7 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide the plural acronym macro.
% \begin{macrocode}
- \expandafter\newcommand\csname#3s\endcsname[1][]{%
+ \expandafter\newcommand\expandafter*\csname#3s\endcsname[1][]{%
\IfBooleanTF{#1}{#3}{\IfNoValueTF{#2}{#3s}{#2s}}%
\IfBooleanTF{#4}{}{\@\xspace}##1%
}
@@ -430,8 +433,8 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide the singular acronym macro.
% \begin{macrocode}
- \expandafter\newcommand\csname#3\endcsname[1][]{%
- \if@begin@of@sentence{\MakeUppercase#5}{#5}%
+ \expandafter\newcommand\expandafter*\csname#3\endcsname[1][]{%
+ \hep@if@begin@of@sentence{\MakeUppercase#5}{#5}%
\IfBooleanTF{#4}{}{\@\xspace}##1%
}
% \end{macrocode}
@@ -441,8 +444,8 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provide the plural acronym macro.
% \begin{macrocode}
- \expandafter\newcommand\csname#3s\endcsname[1][]{%
- \if@begin@of@sentence{%
+ \expandafter\newcommand\expandafter*\csname#3s\endcsname[1][]{%
+ \hep@if@begin@of@sentence{%
\IfNoValueTF{#6}{\MakeUppercase#5s}{\MakeUppercase#6}%
}{%
\IfNoValueTF{#6}{#5s}{#6}}\IfBooleanTF{#4}{}{\@\xspace}##1%
@@ -476,7 +479,7 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Define the acronym
% \begin{macrocode}
- \expandafter\newcommand\csname#2\endcsname[1][]{%
+ \expandafter\newcommand\expandafter*\csname#2\endcsname[1][]{%
% \end{macrocode}
% Redirect the relevant macros to the useri field.
% \begin{macrocode}
@@ -487,7 +490,7 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Execute abbreviation macros.
% \begin{macrocode}
- \if@begin@of@sentence{%
+ \hep@if@begin@of@sentence{%
\ifglsused{#1}{\cgls{#1}[##1]}{\cGls{#1}[##1]}%
}{\cgls{#1}[##1]}%
% \end{macrocode}
@@ -517,7 +520,7 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Provie long version of acronym.
% \begin{macrocode}
- \expandafter\newcommand\csname#2long\endcsname[1][]{%
+ \expandafter\newcommand\expandafter*\csname#2long\endcsname[1][]{%
% \end{macrocode}
% Redirect relevant macros.
% \begin{macrocode}
@@ -528,7 +531,7 @@ In the case that the glossary should be printed additional packages must be load
% \end{macrocode}
% Execute relevant macro.
% \begin{macrocode}
- \if@begin@of@sentence{\Glsdesc*{#1}[##1]}{\glsdesc*{#1}[##1]}%
+ \hep@if@begin@of@sentence{\Glsdesc*{#1}[##1]}{\glsdesc*{#1}[##1]}%
\IfBooleanTF{#3}{}{\@\xspace}%
% \end{macrocode}
% Undo redefinition.
@@ -571,8 +574,8 @@ In the case that the glossary should be printed additional packages must be load
% \begin{macro}{\dummyacronym}
% Add two macros for acronym management.
% \begin{macrocode}
-\newcommand{\resetacronym}[1]{\protect\glsreset{#1}}
-\newcommand{\dummyacronym}[1]{\protect\glsunset{#1}}
+\newcommand*{\resetacronym}[1]{\protect\glsreset{#1}}
+\newcommand*{\dummyacronym}[1]{\protect\glsunset{#1}}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -582,7 +585,7 @@ In the case that the glossary should be printed additional packages must be load
% \begin{macrocode}
\@ifundefined{endabstract}{}{%
\let\end@hep@abstract\endabstract%
- \renewcommand\endabstract{\glsresetall\end@hep@abstract}%
+ \renewcommand*\endabstract{\glsresetall\end@hep@abstract}%
}
% \end{macrocode}
% \end{macro}
@@ -592,18 +595,18 @@ In the case that the glossary should be printed additional packages must be load
% \begin{macro}{\listoftables}
% Adjust the "\tableofcontents" macro to never show the long form of acronyms.
% \begin{macrocode}
-\let\hep@table@of@contents\tableofcontents
-\renewcommand\tableofcontents{%
- \glsunsetall\hep@table@of@contents\glsresetall%
-}
-\let\hep@list@of@figures\listoffigures
-\renewcommand\listoffigures{%
- \glsunsetall\hep@list@of@figures\glsresetall%
-}
-\let\hep@list@of@tables\listoftables
-\renewcommand\listoftables{%
- \glsunsetall\hep@list@of@tables\glsresetall%
-}
+% \let\hep@table@of@contents\tableofcontents
+% \renewcommand*\tableofcontents{%
+% \glsunsetall\hep@table@of@contents\glsresetall%
+% }
+% \let\hep@list@of@figures\listoffigures
+% \renewcommand*\listoffigures{%
+% \glsunsetall\hep@list@of@figures\glsresetall%
+% }
+% \let\hep@list@of@tables\listoftables
+% \renewcommand*\listoftables{%
+% \glsunsetall\hep@list@of@tables\glsresetall%
+% }
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -615,10 +618,10 @@ In the case that the glossary should be printed additional packages must be load
\NewDocumentCommand{\acronyms}{om}{%
\IfNoValueTF{#1}{
\newglossary{#2}{#2.in}{#2.out}{#2}%
- \renewcommand{\acronymtype}{#2}%
+ \renewcommand*{\acronymtype}{#2}%
}{
\newglossary{#1}{#1.in}{#1.out}{#2}%
- \renewcommand{\acronymtype}{#1}%
+ \renewcommand*{\acronymtype}{#1}%
}
}
% \end{macrocode}
diff --git a/macros/latex/contrib/hep-acronym/hep-acronym-implementation.pdf b/macros/latex/contrib/hep-acronym/hep-acronym-implementation.pdf
index 106d9c83ba..02a5eb78b5 100644
--- a/macros/latex/contrib/hep-acronym/hep-acronym-implementation.pdf
+++ b/macros/latex/contrib/hep-acronym/hep-acronym-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-float/bibliography.bib b/macros/latex/contrib/hep-float/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-float/bibliography.bib
+++ b/macros/latex/contrib/hep-float/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-float/hep-float-documentation.pdf b/macros/latex/contrib/hep-float/hep-float-documentation.pdf
index be362e9df4..8b2a9242e4 100644
--- a/macros/latex/contrib/hep-float/hep-float-documentation.pdf
+++ b/macros/latex/contrib/hep-float/hep-float-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-float/hep-float-implementation.dtx b/macros/latex/contrib/hep-float/hep-float-implementation.dtx
index 7bb77d67c1..a7908a7897 100644
--- a/macros/latex/contrib/hep-float/hep-float-implementation.dtx
+++ b/macros/latex/contrib/hep-float/hep-float-implementation.dtx
@@ -18,8 +18,8 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-float}[2023/07/01 v1.2 Float adjustments]
-%<documentation>\ProvidesFile{hep-float-documentation.tex}[2023/07/01 v1.2 hep-float documentation]
+%<package>\ProvidesPackage{hep-float}[2024/11/01 v1.3 Float adjustments]
+%<documentation>\ProvidesFile{hep-float-documentation.tex}[2024/11/01 v1.3 hep-float documentation]
%
%<*documentation>
\documentclass{ltxdoc}
@@ -49,7 +49,7 @@
%
% \fi
%
-% \CheckSum{0}
+% \CheckSum{355}
%
% \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
@@ -68,7 +68,9 @@
% Right brace \} Tilde \~}
%
% \changes{v1.0}{2021/09/01}{Initial version of the style file.}
-% \changes{v1.1}{2023/07/01}{Bug fixes.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
%
% \ifshort
%<*documentation>
@@ -394,6 +396,7 @@ If the graphics are located in a sub-folder its path can be indicated by "\graph
% \begin{macrocode}
\RequirePackage{booktabs}
\RequirePackage{multirow}
+\newcommand\header[1]{\multicolumn{1}{c}{#1}}
% \end{macrocode}
% \end{environment}
diff --git a/macros/latex/contrib/hep-float/hep-float-implementation.pdf b/macros/latex/contrib/hep-float/hep-float-implementation.pdf
index 22ea36456f..5a269dea92 100644
--- a/macros/latex/contrib/hep-float/hep-float-implementation.pdf
+++ b/macros/latex/contrib/hep-float/hep-float-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-graphic/bibliography.bib b/macros/latex/contrib/hep-graphic/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-graphic/bibliography.bib
+++ b/macros/latex/contrib/hep-graphic/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-graphic/hep-graphic-documentation.pdf b/macros/latex/contrib/hep-graphic/hep-graphic-documentation.pdf
index 8c40b98f25..aafd9dabfb 100644
--- a/macros/latex/contrib/hep-graphic/hep-graphic-documentation.pdf
+++ b/macros/latex/contrib/hep-graphic/hep-graphic-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-graphic/hep-graphic-implementation.dtx b/macros/latex/contrib/hep-graphic/hep-graphic-implementation.dtx
index cb1a41e4c2..b51a53fbdf 100644
--- a/macros/latex/contrib/hep-graphic/hep-graphic-implementation.dtx
+++ b/macros/latex/contrib/hep-graphic/hep-graphic-implementation.dtx
@@ -18,10 +18,10 @@
% \iffalse
%
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-graphic}[2023/07/01 v1.0 Graphics in High Energy Physics]
-%<plot>\ProvidesPackage{hep-plot}[2023/07/01 v1.0 Plots in High Energy Physics]
-%<feynman>\ProvidesPackage{hep-feynman}[2023/07/01 v1.0 Feynman diagrams in High Energy Physics]
-%<documentation>\ProvidesFile{hep-graphic-documentation.tex}[2023/07/01 v1.0 HEP-graphic documentation]
+%<package>\ProvidesPackage{hep-graphic}[2024/11/01 v1.3 Graphics in High Energy Physics]
+%<plot>\ProvidesPackage{hep-plot}[2024/11/01 v1.3 Plots in High Energy Physics]
+%<feynman>\ProvidesPackage{hep-feynman}[2024/11/01 v1.3 Feynman diagrams in High Energy Physics]
+%<documentation>\ProvidesFile{hep-graphic-documentation.tex}[2024/11/01 v1.3 HEP-graphic documentation]
%
%<*documentation>
%
@@ -53,7 +53,7 @@
%
% \fi
%
-% \CheckSum{0}
+% \CheckSum{130}
%
% \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
@@ -71,6 +71,10 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
+%
% \ifshort
%<*documentation>
% \fi
@@ -141,6 +145,13 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
% \end{macrocode}
%
% \begin{macro}{plot}
+% Define the "extern" option to activate externalisation into the declared folder.
+% \begin{macrocode}
+\DeclareStringOption{extern}[.]
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{plot}
% Define the "plot" switch for loading plot code.
% \begin{macrocode}
\DeclareBoolOption[false]{plot}
@@ -167,17 +178,20 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
% Load the \software{tikz} package with the \software{external} library \cite{pgf}.
% \begin{macrocode}
\RequirePackage{tikz}
-\usetikzlibrary{external}
-\tikzexternalize[
- optimize=false,
- only named=true,
-]
+\ifx\hepgraphic@extern\@empty\else
+ \usetikzlibrary{external}
+ \tikzexternalize[
+% optimize=false,
+ only named=true,
+ ]
+ \tikzsetexternalprefix{\hepgraphic@extern/}
+\fi
% \end{macrocode}
%
% \begin{macro}{\graphicpath}
% Load the \software{standalone} package \cite{standalone} and define the "\graphicpath" pointing to the folder with "pgf" files.
% \begin{macrocode}
-\RequirePackage{standalone}
+\RequirePackage{tikzscale}
\def\hep@graphic@path{.}
\newcommand{\graphicpath}[1]{\def\hep@graphic@path{#1}}
% \end{macrocode}
@@ -186,17 +200,17 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
% Define a macro to include "tikz" figures using the \software{xparse} package \cite{xparse}.
% \begin{macrocode}
\RequirePackage{xparse}
-\NewDocumentCommand{\includetikz}{sO{1}m}{%
+\NewDocumentCommand{\includepgf}{sO{}m}{%
\tikzsetnextfilename{#3}%
\IfBooleanTF{#1}{%
- \includestandalone{\hep@graphic@path/#3}%
+ \includegraphics{\hep@graphic@path/#3}%
}{%
- \linewidth=#2\linewidth
- \includestandalone[width=\linewidth]{\hep@graphic@path/#3}%
+ \pgfplotsset{#2}
+ \includegraphics[#2]{\hep@graphic@path/#3}%
}%
}
\newcommand{\includefeynman}[1]{%
- \vcenter{\hbox{\includestandalone{\hep@graphic@path/#1}}}%
+ \vcenter{\hbox{\includegraphics{\hep@graphic@path/#1}}}%
}
% \end{macrocode}
% \end{macro}
@@ -225,6 +239,12 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
on \the\pgflinewidth off 2pt on \the\pgflinewidth off 2pt
on \the\pgflinewidth off 2pt on \the\pgflinewidth off 2pt
},
+ dotdotdashed/.style={dash pattern=on 3pt off 2pt
+ on 3pt off 2pt on \the\pgflinewidth off 2pt
+ },
+ dotdotdotdashed/.style={dash pattern=on 3pt off 2pt
+ on 3pt off 2pt on 3pt off 2pt on \the\pgflinewidth off 2pt
+ },
}%
% \end{macrocode}
% \end{macro}
@@ -294,24 +314,28 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
% \begin{macrocode}
\colorlet{darkgreen}{green!50!black}
\pgfplotscreateplotcyclelist{colors}{
- blue, red, darkgreen, violet, orange, yellow!25!orange,
+ blue, red, darkgreen, violet, orange, yellow!75!orange,
brown, black
}
\pgfplotscreateplotcyclelist{line styles}{
solid, dashed, {densely dotted, semithick}, dashdotted,
- dashdotdotted, dashdotdotdotted, dashdotdotdotdotted
+ dashdotdotted, dotdotdashed, dashdotdotdotted, dotdotdotdashed, dashdotdotdotdotted
}
\pgfplotscreateplotcyclelist{marks}{
- -, |, Mercedes star flipped, Mercedes star, +, x, star,
- asterisk, 10-pointed star
+ mark=-, mark=|, mark=Mercedes star flipped, mark=Mercedes star, mark=+,
+ mark=x, mark=star, mark=asterisk, mark=10-pointed star
}
\pgfplotscreateplotcyclelist{vertical marks}{
- |, Mercedes star flipped, Mercedes star, x, star,
- asterisk, 10-pointed star
+ mark=|, mark=Mercedes star flipped, mark=Mercedes star, mark=x, mark=star,
+ mark=asterisk, mark=10-pointed star
}
\pgfplotscreateplotcyclelist{horizontal marks}{
- -, Mercedes star flipped, Mercedes star, x, star, %asterisk,
- 10-pointed star
+ mark=-, mark=Mercedes star flipped, mark=Mercedes star, mark=x, mark=star,
+ mark=asterisk, mark=10-pointed star
+}
+\pgfplotscreateplotcyclelist{star marks}{
+ mark=Mercedes star flipped, mark=Mercedes star, mark=x, mark=star,
+ mark=asterisk, mark=10-pointed star
}
\pgfplotsset{
cycle multiindex* list={colors\nextlist line styles},
@@ -338,6 +362,18 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{rainbow}
+% Define the "rainbow" colormap.
+% \begin{macrocode}
+\pgfplotsset{
+ colormap={rainbow}{
+ color(0)=(violet); color(1)=(blue); color(2)=(darkgreen);
+ color(3)=(yellow); color(4)=(orange); color(5)=(red)
+ },
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{legend}
% Set the legend style.
% \begin{macrocode}
@@ -365,7 +401,7 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
% \begin{macrocode}
\pgfplotsset{
contour legend/.style={
- contour prepared={labels=false},
+% contour prepared={labels=false},
colorbar sampled line,
colorbar style={
mark size=7pt,
@@ -381,11 +417,12 @@ The \software{hep-feynman} package loads the \software{tikz-feynman} package \ci
% \begin{macro}{contour legend x}
% Define horizontal contour legend.
% \begin{macrocode}
-\usepgfplotslibrary{colormaps}
+% \usepgfplotslibrary{colormaps}
\pgfplotsset{
contour legend x/.style={
colorbar horizontal,
- colormap/jet,
+ colormap name=rainbow,
+% colormap/rainbow,
contour legend,
colorbar style={
at={(0.5,1.025)},
diff --git a/macros/latex/contrib/hep-graphic/hep-graphic-implementation.pdf b/macros/latex/contrib/hep-graphic/hep-graphic-implementation.pdf
index 259d814a68..fa9110b0d9 100644
--- a/macros/latex/contrib/hep-graphic/hep-graphic-implementation.pdf
+++ b/macros/latex/contrib/hep-graphic/hep-graphic-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-math/bibliography.bib b/macros/latex/contrib/hep-math/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-math/bibliography.bib
+++ b/macros/latex/contrib/hep-math/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-math/hep-math-documentation.pdf b/macros/latex/contrib/hep-math/hep-math-documentation.pdf
index 06ad1299ca..5d39d0a954 100644
--- a/macros/latex/contrib/hep-math/hep-math-documentation.pdf
+++ b/macros/latex/contrib/hep-math/hep-math-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-math/hep-math-implementation.dtx b/macros/latex/contrib/hep-math/hep-math-implementation.dtx
index 9c4284081b..730e478bb2 100644
--- a/macros/latex/contrib/hep-math/hep-math-implementation.dtx
+++ b/macros/latex/contrib/hep-math/hep-math-implementation.dtx
@@ -18,8 +18,8 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-math}[2023/07/01 v1.2 Math and physics macros]
-%<documentation>\ProvidesFile{hep-math-documentation.tex}[2023/07/01 v1.2 hep-math documentation]
+%<package>\ProvidesPackage{hep-math}[2024/11/01 v1.3 Math and physics macros]
+%<documentation>\ProvidesFile{hep-math-documentation.tex}[2024/11/01 v1.3 hep-math documentation]
%
%<*documentation>
\RequirePackage[l2tabu, orthodox]{nag}
@@ -61,7 +61,7 @@
%
% \fi
%
-% \CheckSum{702}
+% \CheckSum{724}
%
% \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
@@ -80,7 +80,9 @@
% Right brace \} Tilde \~}
%
% \changes{v1.0}{2021/09/01}{Initial version of the style file.}
-% \changes{v1.1}{2023/07/01}{Bug fixes.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
%
% \ifshort
%<*documentation>
@@ -123,7 +125,7 @@ The "\mathdef"\marg{name}\oarg{arguments}\marg{code} macro \prefix{re}{defines}
The imaginary unit "\i" and the differential "\d" are defined using this functionality.
\DescribeMacro{\overline}
-The "\overline" macro is adjusted to \overline{work also outside} of math mode using the \software{soulutf8} \cite{soulutf8} package.
+The "\overline" macro is adjusted to \overline{work also outside} of math mode using the \software{soul} \cite{soul} package.
\DescribeMacro{\oset}
\DescribeMacro{\overleft}
@@ -455,10 +457,10 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s
% \end{macro}
%
% \begin{macro}{\overline}
-% Redefine "\overline" to be a text macro using the \software{soulutf8} package \cite{soulutf8}.
+% Redefine "\overline" to be a text macro using the \software{soul} package \cite{soul}.
% Extend it as a math macro with the original definition from the \software{amsmath} package \cite{amsmath}.
% \begin{macrocode}
-\RequirePackage{soulutf8}
+\RequirePackage{soul}
% \def\overline#1{{\renewcommand{\ULdepth}{-1.9ex}{}\uline{#1}}}
\newcommand\textoverline[1]{{\setul{-1.9ex}{}\ul{#1}}}
\let\overline\textoverline
@@ -679,11 +681,11 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s
% \begin{macro}{\int}
% Redefine "\int".
% \begin{macrocode}
-\let\hep@int\int
-\RenewDocumentCommand{\int}{oe{_^}}{%
- \def\temp{\hep@int_{\IfValueT{#2}{#2}}^{\IfValueT{#3}{#3}}}%
- \IfValueTF{#1}{\mathop{\temp#1}}{\temp}%
-}
+% \let\hep@int\int
+% \RenewDocumentCommand{\int}{oe{_^}}{%
+% \def\temp{\hep@int_{\IfValueT{#2}{#2}}^{\IfValueT{#3}{#3}}}%
+% \IfValueTF{#1}{\mathop{\temp#1}}{\temp}%
+% }
% \end{macrocode}
% \end{macro}
%
@@ -706,7 +708,7 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s
}{%
\differential#2\IfValueT{##5}{^{##5\!}}\IfValueT{##2}{##2}%
}{%
- \differential#2{##3}\IfValueT{##5}{^{##5}}%
+ \differential#2{{}##3}\IfValueT{##5}{^{##5}}%
}%
}
}
@@ -729,7 +731,7 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s
\differential#2\ifnum\hep@sum=1\relax\else{^{\hep@sum\!}}\fi
\IfValueT{##2}{##2}%
}{%
- \differential#2{##3}\ifnum##5=1\relax\else{^{##5}}\fi%
+ \differential#2{{}##3}\ifnum##5=1\relax\else{^{##5}}\fi%
\IfValueT{##6}{#2##6\ifnum##7=1\relax\else{^{##7}}\fi}%
\IfValueT{##8}{#2##8\ifnum##9=1\relax\else{^{##9}}\fi}%
}%
@@ -764,6 +766,8 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s
% Define the partial differential and derivative.
% \begin{macrocode}
\newcommand\partialdifferential{\differential\partial}
+\newcommand\slashedpartialdifferential{\differential{\slashed\partial}}
+\newcommand\spd{\slashedpartialdifferential}
\newcommand\pd{\partialdifferential}
\newpartialderivative{\partialderivative}{\partial}
\newcommand\pdv{\partialderivative}
@@ -819,8 +823,9 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s
\RequirePackage{cancel}
\RequirePackage{slashed}
\declareslashed{}{/}{.14}{0}{L}
-\declareslashed{}{/}{.06}{0}{\D}
-\declareslashed{}{/}{.055}{0}{\pd}
+\declareslashed{}{/}{.055}{0}{\partial}
+\declareslashed{}{/}{.06}{0}{\gaugediff}
+\declareslashed{}{/}{.055}{0}{\partialdifferential}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -918,11 +923,16 @@ As a rule of thumb if you have to use "\notag", "\nonumber", or perform manual s
\begin{matrix}\seq_use:Nn\hep@seq{\\}\end{matrix}%
}
\ExplSyntaxOff
-\DeclarePairedDelimiterX{\row}[1]{(}{)}{\hep@row{#1}}
-\NewDocumentCommand{\column}{me{^}e{_}}{%
+\DeclarePairedDelimiterX{\hep@row@}[1]{(}{)}{\hep@row{#1}}
+\NewDocumentCommand{\hep@column@}{me{^}e{_}}{%
\left(\hep@column{#1}\right)%
\IfValueT{#2}{^{\!\!\!#2}}\IfValueT{#3}{_{\!\!\!#3}}%
}
+\providecommand{\column}{}
+\providecommand{\row}{}
+\mathdef{\column}{\hep@column@}
+\providecommand{\row}{}
+\mathdef{\row}{\hep@row@}
% \end{macrocode}
% \end{macro}
% \end{macro}
diff --git a/macros/latex/contrib/hep-math/hep-math-implementation.pdf b/macros/latex/contrib/hep-math/hep-math-implementation.pdf
index b27f3c48d6..3ef4d89fa3 100644
--- a/macros/latex/contrib/hep-math/hep-math-implementation.pdf
+++ b/macros/latex/contrib/hep-math/hep-math-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-paper/bibliography.bib b/macros/latex/contrib/hep-paper/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-paper/bibliography.bib
+++ b/macros/latex/contrib/hep-paper/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-paper/hep-paper-documentation.pdf b/macros/latex/contrib/hep-paper/hep-paper-documentation.pdf
index 4373feea07..f132fd85ee 100644
--- a/macros/latex/contrib/hep-paper/hep-paper-documentation.pdf
+++ b/macros/latex/contrib/hep-paper/hep-paper-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-paper/hep-paper-implementation.dtx b/macros/latex/contrib/hep-paper/hep-paper-implementation.dtx
index b0b1b39ca6..269588794e 100644
--- a/macros/latex/contrib/hep-paper/hep-paper-implementation.dtx
+++ b/macros/latex/contrib/hep-paper/hep-paper-implementation.dtx
@@ -18,8 +18,8 @@
% \iffalse
%
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-paper}[2023/07/01 v2.2 Publications in High Energy Physics]
-%<documentation>\ProvidesFile{hep-paper-documentation.tex}[2023/07/01 v2.2 HEP-Paper documentation]
+%<package>\ProvidesPackage{hep-paper}[2024/11/01 v2.3 Publications in High Energy Physics]
+%<documentation>\ProvidesFile{hep-paper-documentation.tex}[2024/11/01 v2.3 HEP-Paper documentation]
%
%<*documentation>
\RequirePackage[l2tabu, orthodox]{nag}
@@ -52,6 +52,24 @@
%
% \fi
%
+% \CheckSum{461}
+%
+% \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{v1.0}{2019/01/01}{Initial version of the style file.}
% \changes{v1.1}{2020/01/01}{Transition to documented \hologo{LaTeX} source file.}
% \changes{v1.2}{2020/03/01}{Introduction of package options.}
@@ -62,7 +80,9 @@
% \changes{v1.7}{2021/06/01}{Introduction of dedicated style file for the title, acronyms and bibliography macros. Extension of the title macros.}
% \changes{v1.8}{2021/08/01}{Expand thanks to allow for reference label and fine tune the title page. Reimplement the must relevant macros from the physics package. Make mathrm produce upright Greek.}
% \changes{v2.0}{2021/09/01}{Move independent logic into dedicated packages.}
-% \changes{v2.1}{2023/07/01}{Bug fixes in the underlying packages.}
+% \changes{v2.1}{2022/11/01}{Bug fixes in the underlying packages.}
+% \changes{v2.2}{2023/07/01}{Bug fixes in the underlying packages.}
+% \changes{v2.3}{2024/11/01}{Bug fixes in the underlying packages.}
%
% \ifshort
%<*documentation>
@@ -650,8 +670,10 @@ The \software{arxiv-collector} python script \cite{arxiv-collector} alleviates t
% \begin{macrocode}
\@ifclassloaded{PoS}{\setkeys{hep}{pos}}{}
\ifhep@pos
- \setkeys{hep}{defaults, title=false}
+ \setkeys{hep}{defaults, title=false, references=false, font=default}
\DeclareRobustCommand\boldmath{\@nomath\boldmath\mathversion{bold}}
+ \PassOptionsToPackage{hidelinks}{hyperref}
+ \RequirePackage{hyperref}
\fi
% \end{macrocode}
%
@@ -659,7 +681,7 @@ The \software{arxiv-collector} python script \cite{arxiv-collector} alleviates t
% \begin{macrocode}
\@ifclassloaded{beamer}{\setkeys{hep}{beamer}}{}
\ifhep@beamer
- \setkeys{hep}{defaults, title=false, references=false, sansserif}
+ \setkeys{hep}{defaults, title=false, references=false, sansserif, font=default}
\@ifpackageloaded{beamerbasefont}{\usefonttheme{professionalfonts}}{}
\setbeamertemplate{navigation symbols}{}
\fi
@@ -1042,7 +1064,7 @@ The \software{arxiv-collector} python script \cite{arxiv-collector} alleviates t
% \begin{macrocode}
\documentclass{PoS}
-\usepackage[lang=english,title=false]{hep-paper}
+\usepackage[lang=english]{hep-paper}
\usepackage[math]{blindtext}
\title{Title}
diff --git a/macros/latex/contrib/hep-paper/hep-paper-implementation.pdf b/macros/latex/contrib/hep-paper/hep-paper-implementation.pdf
index bf3edc6508..456b787367 100644
--- a/macros/latex/contrib/hep-paper/hep-paper-implementation.pdf
+++ b/macros/latex/contrib/hep-paper/hep-paper-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-reference/bibliography.bib b/macros/latex/contrib/hep-reference/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-reference/bibliography.bib
+++ b/macros/latex/contrib/hep-reference/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-reference/hep-reference-documentation.pdf b/macros/latex/contrib/hep-reference/hep-reference-documentation.pdf
index fa0fd7adc5..16dd62bd2d 100644
--- a/macros/latex/contrib/hep-reference/hep-reference-documentation.pdf
+++ b/macros/latex/contrib/hep-reference/hep-reference-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-reference/hep-reference-implementation.dtx b/macros/latex/contrib/hep-reference/hep-reference-implementation.dtx
index 507647ac98..5cfb549804 100644
--- a/macros/latex/contrib/hep-reference/hep-reference-implementation.dtx
+++ b/macros/latex/contrib/hep-reference/hep-reference-implementation.dtx
@@ -18,8 +18,8 @@
% \iffalse
%
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-reference}[2023/07/01 v1.2 Convenience macros for references]
-%<documentation>\ProvidesFile{hep-reference-documentation.tex}[2023/07/01 v1.2 HEP-reference documentation]
+%<package>\ProvidesPackage{hep-reference}[2024/11/01 v1.3 Convenience macros for references]
+%<documentation>\ProvidesFile{hep-reference-documentation.tex}[2024/11/01 v1.3 HEP-reference documentation]
%
%<*documentation>
\documentclass{ltxdoc}
@@ -69,7 +69,9 @@
% Right brace \} Tilde \~}
%
% \changes{v1.0}{2011/08/01}{Initial version of the style file.}
-% \changes{v1.1}{2023/07/01}{Bug fixes.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
%
% \ifshort
%<*documentation>
diff --git a/macros/latex/contrib/hep-reference/hep-reference-implementation.pdf b/macros/latex/contrib/hep-reference/hep-reference-implementation.pdf
index c29352bc2d..abb0c9ab5a 100644
--- a/macros/latex/contrib/hep-reference/hep-reference-implementation.pdf
+++ b/macros/latex/contrib/hep-reference/hep-reference-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-text/bibliography.bib b/macros/latex/contrib/hep-text/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-text/bibliography.bib
+++ b/macros/latex/contrib/hep-text/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-text/hep-text-documentation.pdf b/macros/latex/contrib/hep-text/hep-text-documentation.pdf
index 08a7e2a13f..a98b0afc4c 100644
--- a/macros/latex/contrib/hep-text/hep-text-documentation.pdf
+++ b/macros/latex/contrib/hep-text/hep-text-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-text/hep-text-implementation.dtx b/macros/latex/contrib/hep-text/hep-text-implementation.dtx
index cec31e7636..ad02f15fcd 100644
--- a/macros/latex/contrib/hep-text/hep-text-implementation.dtx
+++ b/macros/latex/contrib/hep-text/hep-text-implementation.dtx
@@ -18,8 +18,8 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-text}[2023/07/01 v1.2 Some text macros]
-%<documentation>\ProvidesFile{hep-text-documentation.tex}[2023/07/01 v1.2 HEP-Text documentation]
+%<package>\ProvidesPackage{hep-text}[2024/11/01 v1.3 Some text macros]
+%<documentation>\ProvidesFile{hep-text-documentation.tex}[2024/11/01 v1.3 HEP-Text documentation]
%
%<*documentation>
@@ -83,7 +83,9 @@
% Right brace \} Tilde \~}
%
% \changes{v1.0}{2019/01/01}{Initial version of the style file.}
-% \changes{v1.1}{2023/07/01}{Bug fixes.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
%
% \ifshort
%<*documentation>
@@ -136,6 +138,7 @@ The "\online"\marg{url}\marg{text} macro combines the features of the "\href"\ma
\DescribeMacro{inlinelist}
\DescribeMacro{enumdescript}
The "inlinelist" and "enumdescript" environments are defined using the \software{enumitem} package \cite{enumitem}.
+\\
\begin{columns}
\begin{verbatim}
The three main points are
@@ -146,6 +149,7 @@ The three main points are
\end{inlinelist}
\end{verbatim}
\column
+% \vspace{.1ex}
The three main points are
\begin{inlinelist}
\item one
@@ -171,7 +175,7 @@ The three main points are
\end{columns}
\DescribeMacro{\underline}
-The "\underline" macro is redefined to allow line-breaks using the \software{soulutf8} package \cite{soulutf8}.
+The "\underline" macro is redefined to allow line-breaks using the \software{soul} package \cite{soul}.
% \ifshort
\printbibliography
@@ -222,9 +226,9 @@ The "\underline" macro is redefined to allow line-breaks using the \software{sou
% \end{macrocode}
%
% \begin{macro}{\underline}
-% Load the \software{soulutf8} package \cite{soulutf8} for hyphenable underlined text.
+% Load the \software{soul} package \cite{soul} for hyphenable underlined text.
% \begin{macrocode}
-\RequirePackage{soulutf8}
+\RequirePackage{soul}
\let\underline\textul
% \end{macrocode}
% \end{macro}
diff --git a/macros/latex/contrib/hep-text/hep-text-implementation.pdf b/macros/latex/contrib/hep-text/hep-text-implementation.pdf
index c6011e501e..57dfd1f477 100644
--- a/macros/latex/contrib/hep-text/hep-text-implementation.pdf
+++ b/macros/latex/contrib/hep-text/hep-text-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-title/bibliography.bib b/macros/latex/contrib/hep-title/bibliography.bib
index 1b79887246..289e5f7997 100644
--- a/macros/latex/contrib/hep-title/bibliography.bib
+++ b/macros/latex/contrib/hep-title/bibliography.bib
@@ -1258,3 +1258,21 @@ year = "2010",
eprinttype = "ctan",
eprint = "standalone",
}
+
+@article{fullpage,
+title = "The |fullpage| package",
+subtitle = "Set all page margins to $1.5$ cm",
+author = "Patrick W. Daly",
+year = "1994",
+eprinttype = "ctan",
+eprint = "fullpage",
+}
+
+@article{phonenumbers,
+title = "The |phonenumbers| package",
+subtitle = "Typesetting telephone numbers with \hologo{LaTeX}",
+author = "Keno Wehr",
+year = "2016",
+eprinttype = "ctan",
+eprint = "phonenumbers",
+}
diff --git a/macros/latex/contrib/hep-title/hep-title-documentation.pdf b/macros/latex/contrib/hep-title/hep-title-documentation.pdf
index bc159ff796..0f07831a9c 100644
--- a/macros/latex/contrib/hep-title/hep-title-documentation.pdf
+++ b/macros/latex/contrib/hep-title/hep-title-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/hep-title/hep-title-implementation.dtx b/macros/latex/contrib/hep-title/hep-title-implementation.dtx
index 195f54ec91..53d6d52ddd 100644
--- a/macros/latex/contrib/hep-title/hep-title-implementation.dtx
+++ b/macros/latex/contrib/hep-title/hep-title-implementation.dtx
@@ -18,8 +18,8 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-title}[2023/07/01 v1.2 Extend title page macros]
-%<documentation>\ProvidesFile{hep-title-documentation.tex}[2023/07/01 v1.2 hep-title documentation]
+%<package>\ProvidesPackage{hep-title}[2024/11/01 v1.3 Extend title page macros]
+%<documentation>\ProvidesFile{hep-title-documentation.tex}[2024/11/01 v1.3 hep-title documentation]
%
%<*documentation>
@@ -74,7 +74,9 @@
% Right brace \} Tilde \~}
%
% \changes{v1.0}{2021/09/01}{Initial version of the style file.}
-% \changes{v1.1}{2023/07/01}{Bug fixes.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
+% \changes{v1.2}{2023/07/01}{Bug fixes.}
+% \changes{v1.3}{2024/11/01}{Bug fixes.}
%
% \ifshort
%<*documentation>
diff --git a/macros/latex/contrib/hep-title/hep-title-implementation.pdf b/macros/latex/contrib/hep-title/hep-title-implementation.pdf
index 73fc350a2f..61c18ea862 100644
--- a/macros/latex/contrib/hep-title/hep-title-implementation.pdf
+++ b/macros/latex/contrib/hep-title/hep-title-implementation.pdf
Binary files differ
diff --git a/macros/latex/contrib/suftesi/suftesi.dtx b/macros/latex/contrib/suftesi/suftesi.dtx
index 475437e291..6fb14a779f 100644
--- a/macros/latex/contrib/suftesi/suftesi.dtx
+++ b/macros/latex/contrib/suftesi/suftesi.dtx
@@ -5,7 +5,7 @@
\preamble
The 'suftesi' document class
-Copyright (C) 2009-2023 Ivan Valbusa
+Copyright (C) 2009-2024 Ivan Valbusa
<ivan dot valbusa at gmail dot com>
All rights reserved.
@@ -56,7 +56,7 @@ This work has the LPPL maintenance status "author-maintained".
%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<class>\ProvidesClass{suftesi}
%<*class>
- [2022/11/24 v3.2.2 A class for typesetting theses, books and articles]
+ [2024/11/27 v3.2.3 A class for typesetting theses, books and articles]
%</class>
%<*driver>
\documentclass[12pt]{ltxdoc}
@@ -337,7 +337,7 @@ cochineal,mathpazo,bera,amsthm}
%</driver>
% \fi
%
-% \CheckSum{5697}
+% \CheckSum{5698}
%
% \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
@@ -355,6 +355,7 @@ cochineal,mathpazo,bera,amsthm}
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v3.2.3}{2024/11/27}{Fixed an inconsistency relating to \sty{indentfirst}.}
% \changes{v3.2.2}{2024/11/24}{Temporarily fixed a conflict between \sty{amstext} and \sty{zref}.}
% \changes{v3.2.1}{2023/09/07}{Removed \sty{substitutefont} package (obsolete) and replaced \cmd{substitutefont} with \cmd{DeclareFontFamilySubstitution} provided by the \LaTeX\ kernel. Definitions of \texttt{sufred} and \texttt{sufgray} color moved \cmd{AtBeginDocument}.}
% \changes{v3.2.0}{2021/11/01}{Fixed a bug in \cmd{xfootnote} command.
@@ -6157,9 +6158,10 @@ Janusz M.~Nowacki.
% using \hologo{XeLaTeX} with Italian as the main language. I think that this is
% incongruous with the \hologo{LaTeX} default. For this reason:
% \begin{macrocode}
+\AtBeginDocument{%
\unless\ifPDFTeX% if xetex or luatex
- \let\@afterindenttrue\@afterindentfalse
-\fi
+ \let\@afterindenttrue\@afterindentfalse
+\fi}
% \end{macrocode}
% Now we switch off extra space after punctuation, in accordance with the habits
% of European typography, especially the Italian one. The user can restore standard behavior with the \cmd{nonfrenchspacing} command.
diff --git a/macros/latex/contrib/suftesi/suftesi.pdf b/macros/latex/contrib/suftesi/suftesi.pdf
index 0efa8b1aa1..04b20b5004 100644
--- a/macros/latex/contrib/suftesi/suftesi.pdf
+++ b/macros/latex/contrib/suftesi/suftesi.pdf
Binary files differ
diff --git a/macros/latex/contrib/verifiche/verifiche-example.pdf b/macros/latex/contrib/verifiche/verifiche-example.pdf
index d2e1cc358a..5edd4afd7f 100644
--- a/macros/latex/contrib/verifiche/verifiche-example.pdf
+++ b/macros/latex/contrib/verifiche/verifiche-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/verifiche/verifiche-example.tex b/macros/latex/contrib/verifiche/verifiche-example.tex
index a72fa36937..a6c5216fa1 100644
--- a/macros/latex/contrib/verifiche/verifiche-example.tex
+++ b/macros/latex/contrib/verifiche/verifiche-example.tex
@@ -309,6 +309,45 @@ d(A, B)= \sqrt{(x_A - x_B) ^2 + (y_A- y_B)^2} = \pgfmathparse{sqrt((\ax-\bx)^2+(
\end{soluzione}
\end{multitest}
+\begin{esercizio}
+ Per ogni domanda indicare quale delle risposte è quella corretta.
+\begin{shuffledenumerate}[(i)]
+\sitem{\item Il corpo rigido è:
+ \begin{shuffledclosed}
+ \sitem{\item un oggetto assolutamente non elastico.}
+ \sitem{\item un oggetto esteso che subisce deformazioni quando gli vengono applicate forze molto intense.}
+ \sitem{\item[\checked] un oggetto esteso che non subisce deformazioni qualsiasi siano le forze che gli vengono applicate.}
+ \sitem{\item un modello che descrive il comportamento del punto materiale.}
+ \end{shuffledclosed}
+}
+\sitem{\item È possibile mantenere in equilibrio un ombrello sulla punta di un dito solo se:
+ \begin{shuffledclosed}
+ \sitem{\item il peso dell’ombrello è equilibrato dalla forza esercitata dal dito.}
+ \sitem{\item[\checked] il baricentro dell’ombrello sta sulla retta verticale che passa per la punta del dito.}
+ \sitem{\item il momento totale agente sull’ombrello è positivo.}
+ \sitem{\item la forza totale agente sull'ombrello è positivo.}
+ \end{shuffledclosed}
+}
+
+\sitem{\item La condizione di equilibrio per un punto materiale è che:
+ \begin{shuffledclosed}
+ \sitem{\item non ci sia alcuna forza agente su di esso.}
+ \sitem{\item ci siano soltanto forze vincolari agenti su di esso.}
+ \sitem{\item[\checked] la somma delle forze ad esso applicate sia uguale a zero.}
+ \sitem{\item la somma delle forze vincolari agenti su di esso sia uguale a zero.}
+ \end{shuffledclosed}
+}
+
+\sitem{\item Quale delle seguenti definizioni è corretta?
+ \begin{shuffledclosed}
+ \sitem{\item Il baricentro di un oggetto qualunque è il centro geometrico dell'oggetto.}
+ \sitem{\item Il centro di simmetria di un oggetto qualunque è il centro geometrico dell'oggetto.}
+ \sitem{\item[\checked] II baricentro di un oggetto qualunque è il punto di applicazione della forza-peso totale agente sull'oggetto.}
+ \sitem{\item Il centro di simmetria di un oggetto qualunque è il punto di applicazione della forza-peso totale agente sull'oggetto.}
+ \end{shuffledclosed}
+}
+\end{shuffledenumerate}
+\end{esercizio}
\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/verifiche/verifiche.dtx b/macros/latex/contrib/verifiche/verifiche.dtx
index fead99f348..9ac9095b80 100644
--- a/macros/latex/contrib/verifiche/verifiche.dtx
+++ b/macros/latex/contrib/verifiche/verifiche.dtx
@@ -16,62 +16,78 @@
%
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}
-%<package>\ProvidesPackage{verifiche} [2024/02/05 v7.1 .dtx verifiche file]
+%<package>\ProvidesPackage{verifiche} [2024/11/27 v8.0 .dtx verifiche file]
%<*driver>
\documentclass{ltxdoc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english, italian]{babel}
-%\usepackage[a4paper]{geometry}
-\usepackage{listings}
-\lstset{
- language=[LaTeX]TeX,
+\usepackage{tcolorbox}
+\tcbuselibrary{listings, skins}
+\usepackage{xparse}
+\usepackage[solutions]{verifiche}
+\lstset{%
+ language=[LaTeX]TeX,
morekeywords={\setlength, \institute, \asyear, \testtype, \instruction, \duration, \printheading,
\institutefont, \asyearfont, \testtypefont, \instructiondelimiter, \headerfont, \instrunctionfont,
\durationfont, \exerciselabel, \solutionfont, \solutionlabel, \diffsymb, \closedquestionitem,
\inlinesol, \completetext, \truefalse, \openquestion, \linedopenquestion, \squaredopenquestion,
\headercandidatenamelabel, \checked, \finderror, \textandimage, \partialpt, \ptprefix, \ptlabel,
\partialptlabel, \partialptdelimiters, \ptdelimiters, \partialptprefix, \checkmaker, \ref, \tikz, \makecolumn,
- \columnseparation, \subtitle, \subtitlefont, \ptfont, \defineheadingstyle, \headingstyle},
+ \columnseparation, \subtitle, \subtitlefont, \ptfont, \defineheadingstyle, \headingstyle, \sitem},
keywordstyle=\color{blue},
escapeinside={*@}{@*},
inputencoding=utf8,
basicstyle=\small\ttfamily}
-\usepackage{xparse}
-\usepackage{tcolorbox}
-\tcbuselibrary{listingsutf8, skins}
-\tcbset{listing engine=listings}
-\usepackage[solutions]{verifiche}
+%
\newcounter{id}
-\newtcblisting{esempio}{listing outside text, righthand width=.3\textwidth,lower separated=true, skin=bicolor, colbacklower=red!50!white}
-\newcommand{\esempiodicodice}[1]{\begin{esempio}#1\end{esempio}}
-\NewDocumentCommand{\example}{+v m}{%
- \stepcounter{id}%
- \begin{minipage}{.6\textwidth}%
- \begin{tcolorbox}[equal height group=\theid, title={Esempio di codice}, sharp corners=east, leftupper=.5ex, halign=left]%
- \begin{lstlisting}%
- ^^J#1^^J
- \end{lstlisting}
- \end{tcolorbox}
- \end{minipage}
- \begin{minipage}{.4\textwidth}
- \begin{tcolorbox}[colback=red!5!white,colframe=red!75!black, equal height group=\theid, title={Esempio visivo}, sharp corners=west, halign=left]
- #2
- \end{tcolorbox}
- \end{minipage}
+\NewTCBListing{sourcecode}{}{
+ before={},
+ after={\hfill},
+ width=.597\textwidth,
+ equal height group=\theid,
+ title={Esempio di codice},
+ sharp corners=east,
+ leftupper=.5ex,
+ halign=left,
+ listing only,
+ listing options={%
+ language={[LaTeX]TeX},
+ morekeywords={\setlength, \institute, \asyear, \testtype, \instruction, \duration, \printheading,%
+ \institutefont, \asyearfont, \testtypefont, \instructiondelimiter, \headerfont, \instrunctionfont,%
+ \durationfont, \exerciselabel, \solutionfont, \solutionlabel, \diffsymb, \closedquestionitem,%
+ \inlinesol, \completetext, \truefalse, \openquestion, \linedopenquestion, \squaredopenquestion,%
+ \headercandidatenamelabel, \checked, \finderror, \textandimage, \partialpt, \sumpoints, \ptprefix, \ptlabel,%
+ \partialptlabel, \partialptdelimiters, \ptdelimiters, \partialptprefix, \checkmaker, \ref, \tikz, \makecolumn,%
+ \columnseparation, \subtitle, \subtitlefont, \ptfont, \defineheadingstyle, \headingstyle, \sitem},
+ keywordstyle=\color{blue},
+ basicstyle=\small\ttfamily
+ }
+}%
+\NewTColorBox{render}{}{
+ before={},
+ after={\\},
+ width=.397\textwidth,
+ colback=red!5!white,colframe=red!75!black,
+ equal height group=\theid,
+ title={Esempio visivo},
+ sharp corners=west,
+ halign=left,
}
+\NewDocumentEnvironment{example}{m m}{}{}
%
\EnableCrossrefs
\CodelineIndex
\RecordChanges
\parindent0pt
+\shuffleseed{42}
\begin{document}
\DocInput{verifiche.dtx}
\end{document}
%</driver>
% \fi
%
-% \CheckSum{1211}
+% \CheckSum{1307}
% \changes{v1.0}{2020/06/14}{Initial version.}
% \changes{v2.0}{2020/06/26}{Better performance in exercise environment.}
% \changes{v2.1}{2020/06/30}{Introduced closedquestionitem to control |item| symbol.}
@@ -87,6 +103,7 @@
% \changes{v5.2}{2022/06/21}{Minor update. Resolve bugs in printheading command.}
% \changes{v7.0}{2023/08/22}{Major update. Remove some unnecessary packages. Add ptfont command to manage points font. Modify environments to avoid page break after the name of the environment. Adding the possibility to define own heading aspect. Define three types of headings: galilei, einstein and cattaneo.}
% \changes{v7.1}{2024/02/05}{Minor update. Add ptfont to partialpt.}
+% \changes{v8.0}{2024/11/27}{Major update. Add sumpoints instead of partialpt (that remain defined for legacy reason). The partial points, now, can be decimal. Adding shuffled itemize, enumerate and closedquestion environment.}
% \GetFileInfo{verifiche.sty}
% \DoNotIndex{\newcommand,\newenvironment,\def,\begin,\end,\par}
% \DoNotIndex{\DeclareOption,\ExecuteOptions,\ProcessOptions,\RequirePackage}
@@ -165,7 +182,9 @@
%\item |pgffor| e per la gestione dei cicli for;
%\item |amssymb| per la gestione dei simboli matematici;
%\item |tikz| per la gestione di alcuni aspetti grafici avanzati;
-%\item |ulem| per la gestione della formattazione avanzata del testo.
+%\item |ulem| per la gestione della formattazione avanzata del testo;
+%\item |fp| per la gestione dei punteggi decimali dei punti;
+%\item |randomlist| per la gestione di liste ordinate casualmente.
%\end{itemize}
%
%\section{Come usare il pacchetto \textsf{verifiche} e le sue opzioni}
@@ -346,7 +365,7 @@
%<*example>
% \fi
\begin{lstlisting}
-\begin{esercizio}[label=*@\meta{label}@*,diff=*@\meta{number}@*,pt=*@\meta{number}@*,partialpt]
+\begin{esercizio}[label=*@\meta{label}@*,diff=*@\meta{number}@*,pt=*@\meta{number}@*,sumpoints]
...
\end{esercizio}
\end{lstlisting}
@@ -360,6 +379,7 @@
%|label|=\meta{label} & definisce il titolo del quesito\\
%|diff|=\meta{number} & definisce la difficoltà sotto forma di punti\\
%|pt|=\meta{number} & definisce il punteggio della prova\\
+%|sumpoints| & somma in automatico i punteggi parziali\\
%|partialpt| & somma in automatico i punteggi parziali\\
%\end{tabular}
%\end{center}
@@ -369,15 +389,19 @@
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio}
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio}
Testo dell'esercizio
che voglio somministrare
-\end{esercizio}}
-{\begin{esercizio}
+\end{esercizio}
+\end{sourcecode}
+\begin{render}
+\begin{esercizio}
Testo dell'esercizio
che voglio somministrare
-\end{esercizio}}
+\end{esercizio}
+\end{render}
%
% \iffalse
%</example>
@@ -386,15 +410,19 @@ che voglio somministrare
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio}[label=Esercizio]
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio}[label=Esercizio]
Testo dell'esercizio
che voglio somministrare
-\end{esercizio}}
-{\begin{esercizio}[label=Esercizio]
+\end{esercizio}
+\end{sourcecode}
+\begin{render}
+\begin{esercizio}[label=Esercizio]
Testo dell'esercizio
che voglio somministrare
-\end{esercizio}}
+\end{esercizio}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -402,21 +430,25 @@ che voglio somministrare
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio}[diff=2]
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio}[diff=2]
Testo dell'esercizio
che voglio somministrare
-\end{esercizio}}
-{\begin{minipage}{.2\linewidth}
+\end{esercizio}
+\end{sourcecode}
+\begin{render}
+\begin{minipage}{.1\linewidth}
\hfill$\bullet\bullet$
\end{minipage}
\raisebox{-1.3\baselineskip}{
-\begin{minipage}{.7\linewidth}
+\begin{minipage}{.8\linewidth}
\begin{esercizio}
Testo dell'esercizio
che voglio somministrare
\end{esercizio}
-\end{minipage}}}
+\end{minipage}}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -424,21 +456,25 @@ che voglio somministrare
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio}[pt=2]
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio}[pt=2]
Testo dell'esercizio
che voglio somministrare
-\end{esercizio}}
-{\begin{minipage}{.4\linewidth}
+\end{esercizio}
+\end{sourcecode}
+\begin{render}
+\begin{minipage}{.45\linewidth}
\underline{\phantom{1cm}}/ 2 pt
\end{minipage}
-\raisebox{-1.7\baselineskip}{
-\begin{minipage}{.5\linewidth}
+\raisebox{-2.5\baselineskip}{
+\begin{minipage}{.45\linewidth}
\begin{esercizio}
Testo dell'esercizio
che voglio somministrare
\end{esercizio}
-\end{minipage}}}
+\end{minipage}}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -446,22 +482,26 @@ che voglio somministrare
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio}[pt=2, diff=2]
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio}[pt=2, diff=2]
Testo dell'esercizio
che voglio somministrare
-\end{esercizio}}
-{\begin{minipage}{.4\linewidth}
+\end{esercizio}
+\end{sourcecode}
+\begin{render}
+\begin{minipage}{.41\linewidth}
\hfill$\bullet\bullet$\newline
-\underline{\phantom{1cm}}/ 2 pt
+\hspace*{\fill}\underline{\phantom{1cm}}/ 2 pt
\end{minipage}
-\raisebox{-1.3\baselineskip}{
-\begin{minipage}{.5\linewidth}
+\raisebox{-1.5\baselineskip}{
+\begin{minipage}{.52\linewidth}
\begin{esercizio}
Testo dell'esercizio
che voglio somministrare
\end{esercizio}
-\end{minipage}}}
+\end{minipage}}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -475,18 +515,19 @@ che voglio somministrare
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio}
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio}
\begin{enumerate}
\item\partialpt{1} Domanda 1
\item\partialpt{3} Domanda 2
\end{enumerate}
-\end{esercizio}}
-{\begin{minipage}[t]{.3\linewidth}
-\vspace{-.4em}
-\phantom{1cm/ 4 pt\\[.5em]}
-\vspace{.8em}
-(1 pt)\\
+\end{esercizio}
+\end{sourcecode}
+\begin{render}
+\begin{minipage}[t]{.3\linewidth}
+\vspace*{0em}
+(1 pt)\\[.7em]
(3 pt)
\end{minipage}
\raisebox{\baselineskip}{
@@ -498,43 +539,44 @@ che voglio somministrare
\end{enumerate}
\end{esercizio}
\end{minipage}}
-}
+\end{render}
% \iffalse
%</example>
% \fi
%
%Quando usato negli ambienti |enumerate| o |itemize|, il comando introduce uno spazio spurio che può essere rimosso posponendo il comando |\noindent|.
%
-%Quando viene esplicitata l'\emph{opzione} |partialpt| nella definizione dell'ambiente esercizio, il pacchetto si occupa della somma complessiva dei singoli punteggi parziali riportandola come punteggio totale del quesito. In questo caso il documento dev'essere compilato \emph{due volte} per ottenere correttamente il risultato finale.\\
+%Quando viene esplicitata l'\emph{opzione} |sumpoints| nella definizione dell'ambiente esercizio, il pacchetto si occupa della somma complessiva dei singoli punteggi parziali riportandola come punteggio totale del quesito. In questo caso il documento dev'essere compilato \emph{due volte} per ottenere correttamente il risultato finale. (Dalle versioni precedenti la 8.0 il comando |sumpoints| era |partialpt|. Tale comando rimane definito per compatibilità.\\
%
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio}[partialpt]
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio}[sumpoints]
\begin{enumerate}
-\item\partialpt{1} Domanda 1
-\item\partialpt{3} Domanda 2
+\item\partialpt{1.5} Domanda 1
+\item\partialpt{2.5} Domanda 2
\end{enumerate}
-\end{esercizio}}
-{\begin{minipage}[t]{.39\linewidth}
-\vspace{-.7em}
-\underline{\hspace{.7cm}}/4 pt\\[.9em]
-\vspace{.8em}
-\hspace*{\fill}(1 pt)\\
-\hspace*{\fill}(3 pt)
+\end{esercizio}
+\end{sourcecode}
+\begin{render}
+\begin{minipage}[t]{.35\linewidth}
+\vspace*{0pt}
+\underline{\hspace{.5cm}}/4 pt\\[.5em]
+(1.5 pt)\\[.7em]
+(2.5 pt)
\end{minipage}
-\raisebox{.5\baselineskip}{
-\begin{minipage}[t]{.54\linewidth}
+\begin{minipage}[t]{.58\linewidth}
\begin{esercizio}
+\medskip
\begin{enumerate}[leftmargin=*]
-\small
\item Domanda 1
\item Domanda 2
\end{enumerate}
\end{esercizio}
-\end{minipage}}
-}
+\end{minipage}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -551,7 +593,10 @@ che voglio somministrare
%<*example>
% \fi
\begin{lstlisting}
-\begin{esercizio*}[label=*@\meta{label}@*,diff=*@\meta{number}@*,pt=*@\meta{number}@*,partialpt]
+\begin{esercizio*}[label=*@\meta{label}@*,
+ diff=*@\meta{number}@*,
+ pt=*@\meta{number}@*,
+ sumpoints ]
...
\end{esercizio*}
\end{lstlisting}
@@ -562,21 +607,25 @@ che voglio somministrare
% \iffalse
%<*example>
% \fi
-\example
-{\begin{esercizio*}[pt=2]
+\stepcounter{id}
+\begin{sourcecode}
+\begin{esercizio*}[pt=2]
Testo dell'esercizio
che voglio somministrare
-\end{esercizio*}}
-{\begin{minipage}{.4\linewidth}
+\end{esercizio*}
+\end{sourcecode}
+\begin{render}
+\begin{minipage}{.45\linewidth}
\underline{\phantom{1cm}}/ 2 pt
\end{minipage}
-\raisebox{-1.8\baselineskip}{
-\begin{minipage}{.5\linewidth}
+\raisebox{-2.5\baselineskip}{
+\begin{minipage}{.45\linewidth}
\begin{esercizio*}
Testo dell'esercizio
che voglio somministrare
\end{esercizio*}
-\end{minipage}}}
+\end{minipage}}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -600,15 +649,19 @@ che voglio somministrare
% \iffalse
%<*example>
% \fi
-\example
-{\begin{soluzione}
+\stepcounter{id}
+\begin{sourcecode}
+\begin{soluzione}
Testo della soluzione
dell'esercizio somministrato
-\end{soluzione}}
-{\begin{soluzione}
+\end{soluzione}
+\end{sourcecode}
+\begin{render}
+\begin{soluzione}
Testo della soluzione
dell'esercizio somministrato
-\end{soluzione}}
+\end{soluzione}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -627,10 +680,15 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example{Questa e' una \inlinesol{soluzione}
- in linea}
-{\solfalse Questa e' una \inlinesol{soluzione} in linea.\\
- \soltrue Questa e' una \inlinesol{soluzione} in linea}
+\stepcounter{id}
+\begin{sourcecode}
+Questa e' una \inlinesol{soluzione}
+ in linea
+ \end{sourcecode}
+ \begin{render}
+\solfalse Questa e' una \inlinesol{soluzione} in linea.\\
+ \soltrue Questa e' una \inlinesol{soluzione} in linea
+ \end{render}
% \iffalse
%</example>
% \fi
@@ -651,9 +709,14 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example{La \completetext[2cm]{soluzione}}{
+\stepcounter{id}
+\begin{sourcecode}
+La \completetext[2cm]{soluzione}
+\end{sourcecode}
+\begin{render}
\solfalse La \completetext[2cm]{soluzione}\\
-\soltrue La \completetext[2cm]{soluzione}}
+\soltrue La \completetext[2cm]{soluzione}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -682,9 +745,14 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example{Vero o Falso? \truefalse{V}}{
+\stepcounter{id}
+\begin{sourcecode}
+Vero o Falso? \truefalse{V}}
+\end{sourcecode}
+\begin{render}
\solfalse Vero o Falso? \truefalse{V}\\
-\soltrue Vero o Falso? \truefalse{V}}
+\soltrue Vero o Falso? \truefalse{V}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -716,21 +784,25 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example
-{\begin{closedquestion}
+\stepcounter{id}
+\begin{sourcecode}
+\begin{closedquestion}
\item Primo
\item[\checked] Secondo
\item Terzo
\item Quarto
-\end{closedquestion}}
-{\begin{closedquestion}
+\end{closedquestion}
+\end{sourcecode}
+\begin{render}
+\begin{closedquestion}
\item Primo
\item[\checked] Secondo
\end{closedquestion}
\begin{closedquestion}
\item Terzo
\item Quarto
-\end{closedquestion}}
+\end{closedquestion}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -777,12 +849,16 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example
-{\openquestion{
+\stepcounter{id}
+\begin{sourcecode}
+\openquestion{
Prova del testo della soluzione
della domanda aperta
-}}
-{\vspace*{1em}\openquestion[width=4cm, height=2cm]{Prova del testo della soluzione della domanda aperta}}
+}
+\end{sourcecode}
+\begin{render}
+\vspace*{1em}\openquestion[width=4cm, height=2cm]{Prova del testo della soluzione della domanda aperta}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -790,12 +866,16 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example
-{\openquestion[type=lines]{
+\stepcounter{id}
+\begin{sourcecode}
+\openquestion[type=lines]{
Prova del testo della soluzione
della domanda aperta
-}}
-{\vspace*{1em}\openquestion[type=lines, width=4cm, height=2cm]{Prova del testo della soluzione della domanda aperta}}
+}
+\end{sourcecode}
+\begin{render}
+\vspace*{1em}\openquestion[type=lines, width=4cm, height=2cm]{Prova del testo della soluzione della domanda aperta}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -817,9 +897,13 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example
-{\finderror{sbagliato}{corretto}}
-{\finderror{sbagliato}{corretto}}
+\stepcounter{id}
+\begin{sourcecode}
+\finderror{sbagliato}{corretto}
+\end{sourcecode}
+\begin{render}
+\finderror{sbagliato}{corretto}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -840,10 +924,14 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example
-{\textandimage[2cm][1cm]{Testo}{
-\tikz{\draw(0,0) circle (.4cm)}}}
-{\phantom{.}\vspace{1em}\textandimage[2cm][1cm]{Testo}{\tikz{\draw(0,0) circle (.4cm)}}}
+\stepcounter{id}
+\begin{sourcecode}
+\textandimage[2cm][1cm]{Testo}{
+\tikz{\draw(0,0) circle (.4cm)}}
+\end{sourcecode}
+\begin{render}
+\phantom{.}\vspace{1em}\textandimage[2cm][1cm]{Testo}{\tikz{\draw(0,0) circle (.4cm)}}
+\end{render}
% \iffalse
%</example>
% \fi
@@ -873,10 +961,15 @@ dell'esercizio somministrato
% \iffalse
%<*example>
% \fi
-\example
-{\makecolumn{.3\textwidth}{Colonna 1}
-\makecolumn{.3\textwidth}{Colonna 2}}
-{\makecolumn{2.5cm}{Colonna 1} \makecolumn{2.5cm}{Colonna 2}}% \iffalse
+\stepcounter{id}
+\begin{sourcecode}
+\makecolumn{.3\textwidth}{Colonna 1}
+\makecolumn{.3\textwidth}{Colonna 2}
+\end{sourcecode}
+\begin{render}
+\makecolumn{2.5cm}{Colonna 1} \makecolumn{2.5cm}{Colonna 2}
+\end{render}
+% \iffalse
%</example>
% \fi
%
@@ -1202,11 +1295,166 @@ dell'esercizio somministrato
\pgfmathrandomitem*@\marg{macro}\marg{nome lista}@*
\pgfmathsetseed*@\marg{numero intero}@*
\end{lstlisting}
+%\iffalse
+%</example>
+%\fi
%Il comando inizializza il seme dei numeri casuali col numero del compito prodotto, in modo tale da produrre gli stessi compiti casuali ad ogni compilazione.
%\DescribeMacro{multitestcounter}Il contatore |multitestcounter| permette di identificare il numero della traccia generata.
+%\subsection*{Gli ambienti |suffled*|}
+% I test multipli possono richiedere elenchi puntati, numerati o domande chiuse che vengano automaticamente mescolate ad ogni nuova versione del documento. Per questo scopo il pacchetto definisce gli ambienti |shuffledenumerate|, |shuffleditemize| e |shuffledclosed|.
+%
+%\bigskip\DescribeMacro{shuffledenumerate} L'ambiente |shuffledenumerate| viene utilizzato per produrre elenchi numerati in cui l'ordine degli elementi venga randomicamente mescolato. Ogni elemento deve essere introdotto dal comando |\sitem{...}|. L'usuale comando |\item| deve essere indicato all'interno di |\sitem|. L'ambiente accetta una lista separata da virgole di opzioni definite dal pacchetto |enumitem|. La sintassi è la seguente:
+%\iffalse
+%<*example>
+%\fi
+\begin{lstlisting}
+\begin{shuffledenumerate}[*@\meta{enumitem options}@*]
+ \sitem{ ... }
+\end{shuffledenumerate}
+\end{lstlisting}
+%\iffalse
+%</example>
+%\fi
+% \iffalse
+%<*example>
+% \fi
+\stepcounter{id}
+\begin{sourcecode}
+\begin{shuffledenumerate}[(i)]
+ \sitem{\item Domanda 1}
+ \sitem{\item Domanda 2}
+ \sitem{\item Domanda 3}
+\end{shuffledenumerate}
+\end{sourcecode}
+\begin{render}
+\begin{shuffledenumerate}[(i)]
+ \sitem{\item Domanda 1}
+ \sitem{\item Domanda 2}
+ \sitem{\item Domanda 3}
+\end{shuffledenumerate}
+\end{render}
+% \iffalse
+%</example>
+% \fi
+%
+%\bigskip\DescribeMacro{shuffleditemize} L'ambiente |shuffleditemize| viene utilizzato per produrre elenchi puntati in cui l'ordine degli elementi venga randomicamente mescolato. Ogni elemento deve essere introdotto dal comando |\sitem{...}|. L'usuale comando |\item| deve essere indicato all'interno di |\sitem|. L'ambiente accetta una lista separata da virgole di opzioni definite dal pacchetto |enumitem|. La sintassi è la seguente:
+%\iffalse
+%<*example>
+%\fi
+\begin{lstlisting}
+\begin{shuffleditemize}[*@\meta{enumitem options}@*]
+ \sitem{ ... }
+\end{shuffleditemize}
+\end{lstlisting}
%\iffalse
%</example>
%\fi
+% \iffalse
+%<*example>
+% \fi
+\stepcounter{id}
+\begin{sourcecode}
+\begin{shuffleditemize}[$\rhd$]
+ \sitem{\item Domanda 1}
+ \sitem{\item Domanda 2}
+ \sitem{\item Domanda 3}
+\end{shuffleditemize}
+\end{sourcecode}
+\begin{render}
+\begin{shuffleditemize}[$\rhd$]
+ \sitem{\item Domanda 1}
+ \sitem{\item Domanda 2}
+ \sitem{\item Domanda 3}
+\end{shuffleditemize}
+\end{render}
+% \iffalse
+%</example>
+% \fi
+%
+%\bigskip\DescribeMacro{shuffledclosed} L'ambiente |shuffledclosed| viene utilizzato per produrre elenchi di domande a crocette in cui l'ordine degli elementi venga randomicamente mescolato. Ogni elemento deve essere introdotto dal comando |\sitem{...}|. L'usuale comando |\item| deve essere indicato all'interno di |\sitem|. L'ambiente accetta una lista separata da virgole di opzioni definite dall'ambiente |closedquestion|. La sintassi è la seguente:
+%\iffalse
+%<*example>
+%\fi
+\begin{lstlisting}
+\begin{shuffledclosed}[*@\meta{closedquestion options}@*]
+ \sitem{ ... }
+\end{shuffledclosed}
+\end{lstlisting}
+%\iffalse
+%</example>
+%\fi
+% \iffalse
+%<*example>
+% \fi
+\stepcounter{id}
+\begin{sourcecode}
+\begin{shuffledclosed}
+ \sitem{\item Domanda 1}
+ \sitem{\item[\checked] Domanda 2}
+ \sitem{\item Domanda 3}
+\end{shuffledclosed}
+\end{sourcecode}
+\begin{render}
+\begin{shuffledclosed}
+ \sitem{\item Domanda 1}
+ \sitem{\item[\checked] Domanda 2}
+ \sitem{\item Domanda 3}
+\end{shuffledclosed}
+\end{render}
+% \iffalse
+%</example>
+% \fi
+%
+%\bigskip Gli ambienti possono anche essere annidati l'uno dentro l'altro.
+%
+% \iffalse
+%<*example>
+% \fi
+\stepcounter{id}
+\begin{sourcecode}
+\begin{shuffledenumerate}
+ \sitem{\item Primo}
+ \sitem{\item Secondo
+ \begin{shuffleditemize}
+ \sitem{\item $\alpha$}
+ \sitem{\item $\beta$}
+ \sitem{\item $\gamma$}
+ \end{shuffleditemize}
+ }
+ \sitem{\item Terzo
+ \begin{shuffledclosed}
+ \sitem{\item Q 1}
+ \sitem{\item Q 2}
+ \sitem{\item[\checked] Q 3}
+ \end{shuffledclosed}
+ }
+\end{shuffledenumerate}
+\end{sourcecode}
+\begin{render}
+\begin{shuffledenumerate}
+ \sitem{\item Primo}
+ \sitem{\item Secondo
+ \begin{shuffleditemize}
+ \sitem{\item $\alpha$}
+ \sitem{\item $\beta$}
+ \sitem{\item $\gamma$}
+ \end{shuffleditemize}
+ }
+ \sitem{\item Terzo
+ \begin{shuffledclosed}
+ \sitem{\item Q 1}
+ \sitem{\item Q 2}
+ \sitem{\item[\checked] Q 3}
+ \end{shuffledclosed}
+ }
+\end{shuffledenumerate}
+\end{render}
+% \iffalse
+%</example>
+% \fi
+
+
+
%\clearpage
% \StopEventually{\clearpage\PrintChanges \clearpage\PrintIndex}
% \section{Implementation}
@@ -1220,6 +1468,8 @@ dell'esercizio somministrato
\RequirePackage[shortlabels, inline]{enumitem}
\RequirePackage{tikz}
\RequirePackage[normalem]{ulem}
+\RequirePackage[nomessages]{fp}
+\RequirePackage{randomlist}
% \end{macrocode}
%
%
@@ -1275,8 +1525,9 @@ dell'esercizio somministrato
%%counters
%\fi
% \begin{macrocode}
-\newcounter{exercisenumber}
-\newcounter{partialpoints}[exercisenumber]
+\newcounter{exercisenumber}%
+\newcounter{partialpoints}[exercisenumber]%
+\newcounter{shuffleitemscount}%
% \end{macrocode}
%\subsection{Length}
%\iffalse
@@ -1465,7 +1716,7 @@ dell'esercizio somministrato
\renewcommand{\@ptplurlabel}{#2}%
\renewcommand{\@ptsinglabel}{\IfNoValueTF{#1}{#2}{#1}}}%
\newcommand{\@useptlabel}[1]{%
- \ifnum#1=1 \@ptsinglabel \else \@ptplurlabel\fi}
+ \FPifeq{#1}{1} \@ptsinglabel \else \@ptplurlabel\fi}%
% \end{macrocode}
%\iffalse
%%partialpt label
@@ -1477,7 +1728,7 @@ dell'esercizio somministrato
\renewcommand{\@partialptplurlabel}{#2}%
\renewcommand{\@partialptsinglabel}{\IfNoValueTF{#1}{#2}{#1}}}%
\newcommand{\@usepartialptlabel}[1]{%
- \ifnum#1=1 \@partialptsinglabel \else \@partialptplurlabel\fi}
+ \FPifeq{#1}{1} \@partialptsinglabel \else \@partialptplurlabel\fi}%
% \end{macrocode}
%\iffalse
%%partialpt delimiter
@@ -1688,6 +1939,16 @@ dell'esercizio somministrato
\@rpt@delimiter}
\showmarginexercisetrue
\fi}%
+\define@key{esercizio}{sumpoints}[none]{%
+ \ifshowexercisept%
+ \def\@totalpartialpt{\convertreftonum{ptes@\theexercisenumber}}%
+ \def\sumpartialpt{%
+ \ptfont%
+ \@ptprefix\@lpt@delimiter%
+ \@totalpartialpt\space\@useptlabel{\@totalpartialpt}%
+ \@rpt@delimiter}%
+ \showmarginexercisetrue
+ \fi}%
\define@key{esercizio}{partialpt}[none]{%
\ifshowexercisept%
\def\@totalpartialpt{\convertreftonum{ptes@\theexercisenumber}}%
@@ -1728,7 +1989,8 @@ dell'esercizio somministrato
% \begin{macrocode}
\newcommand{\savepointsaux}{%
\ifdefined\sumpartialpt%
- \protected@write \@auxout {}{\string\newlabel {ptes@\theexercisenumber}{{\thepartialpoints}{}}}%
+ \FPeval\sommafinale{clip(partialpoints)}%
+ \protected@write \@auxout {}{\string\newlabel {ptes@\theexercisenumber}{{\sommafinale}{}}}%
\fi%
\ifdefined\espoint%
\protected@write \@auxout {}{\string\newlabel {ptes@\theexercisenumber}{{\pointes}{}}}%
@@ -1743,6 +2005,7 @@ dell'esercizio somministrato
% \begin{macrocode}
\NewDocumentEnvironment{esercizio}{o +b}{%
\refstepcounter{exercisenumber}%
+ \FPset\partialpoints{0}%
\showmarginexercisefalse%
\IfValueT{#1}{\setkeys{esercizio}{#1}}%
\par\addvspace{\baselineskip}%
@@ -1764,6 +2027,7 @@ dell'esercizio somministrato
%The |esercizio*| environment has the same structure of the previous one, except for the code used to show the number of the exercise.
% \begin{macrocode}
\NewDocumentEnvironment{esercizio*}{o +b}{%
+ \FPset\partialpoints{0}%
\showmarginexercisefalse%
\IfValueT{#1}{\setkeys{esercizio}{#1}}%
\par\addvspace{\baselineskip}{\noindent\bfseries\exercisetitle}%
@@ -1787,7 +2051,8 @@ dell'esercizio somministrato
\ptfont\hfill\@partialptprefix%
\@lpartialpt@delimiter#1\space\@usepartialptlabel{#1}%
\@rpartialpt@delimiter%
- \addtocounter{partialpoints}{#1}}\ignorespaces%
+ \FPadd\partialpoints\partialpoints{#1}%
+ \xdef\partialpoints{\partialpoints}}\ignorespaces%
\fi}%
% \end{macrocode}
%\end{macro}
@@ -2009,6 +2274,77 @@ dell'esercizio somministrato
}{}
% \end{macrocode}
%\end{environment}
-
+%
+%
+%\begin{macro}{\shuffleseed}
+%The |\shuffleseed| command set the seed of the shuffled environments
+% \begin{macrocode}
+\newcommand{\shuffleseed}[1]{\RLsetrandomseed{#1}}%
+% \end{macrocode}
+% \end{macro}
+%
+%
+%\begin{macro}{\sitem}
+%The |\sitem| command load the shuffled item for the shuffled environments
+% \begin{macrocode}
+\newcommand{\sitem}[1]{\InsertFirstItem{\verifiche@listname}{#1}}%
+% \end{macrocode}
+% \end{macro}
+%
+%
+%\begin{environment}{shufflenumerate} The environment |shufflenumerate| handle shuffled enumerate lists.
+% \begin{macrocode}
+\NewDocumentEnvironment{shuffledenumerate}{O{} m}{%
+ \addtocounter{shuffleitemscount}{1}%
+ \edef\verifiche@listname{lista\theshuffleitemscount}%
+ \expandafter\NewList\expandafter{\verifiche@listname}%
+ #2%
+}{%
+ \begin{enumerate}[#1]%
+ \ForEachRandomItem{\verifiche@listname}{items}{\items}%
+ \end{enumerate}%
+ \expandafter\ClearList\expandafter{\verifiche@listname}%
+ \addtocounter{shuffleitemscount}{-1}%
+}%
+% \end{macrocode}
+%\end{environment}
+%
+%
+%\begin{environment}{shuffleitemize} The environment |shuffleitemize| handle shuffled itemize lists.
+% \begin{macrocode}
+\NewDocumentEnvironment{shuffleditemize}{O{} m}{%
+ \addtocounter{shuffleitemscount}{1}%
+ \edef\verifiche@listname{lista\theshuffleitemscount}%
+ \expandafter\NewList\expandafter{\verifiche@listname}%
+ #2%
+}{%
+ \begin{itemize}[#1]%
+ \ForEachRandomItem{\verifiche@listname}{items}{\items}%
+ \end{itemize}%
+ \expandafter\ClearList\expandafter{\verifiche@listname}%
+ \addtocounter{shuffleitemscount}{-1}%
+}%
+% \end{macrocode}
+%\end{environment}
+%
+%
+%\begin{environment}{shuffleclosed} The environment |shuffleclosed| handle shuffled closedquestion lists.
+% \begin{macrocode}
+\NewDocumentEnvironment{shuffledclosed}{m}{%
+ \addtocounter{shuffleitemscount}{1}%
+ \edef\verifiche@listname{lista\theshuffleitemscount}%
+ \expandafter\NewList\expandafter{\verifiche@listname}%
+ #1%
+}{%
+ \begin{closedquestion}%
+ \ForEachRandomItem{\verifiche@listname}{items}{\items}%
+ \end{closedquestion}%
+ \expandafter\ClearList\expandafter{\verifiche@listname}%
+ \addtocounter{shuffleitemscount}{-1}%
+}%
+% \end{macrocode}
+%\end{environment}
+%
+%
% \Finale
\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/verifiche/verifiche.ins b/macros/latex/contrib/verifiche/verifiche.ins
index e9c99f3502..15f2a5a1f9 100644
--- a/macros/latex/contrib/verifiche/verifiche.ins
+++ b/macros/latex/contrib/verifiche/verifiche.ins
@@ -16,7 +16,7 @@
\usedir{tex/latex/verifiche}
\preamble
This is a generated file.
-Copyright (C) 2020 - 2023 by Francesco Raccanello
+Copyright (C) 2020 - 2024 by Francesco Raccanello
This file 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 later
diff --git a/macros/latex/contrib/verifiche/verifiche.pdf b/macros/latex/contrib/verifiche/verifiche.pdf
index 75d1792fd7..4027150b35 100644
--- a/macros/latex/contrib/verifiche/verifiche.pdf
+++ b/macros/latex/contrib/verifiche/verifiche.pdf
Binary files differ