diff options
Diffstat (limited to 'macros')
177 files changed, 480 insertions, 223 deletions
diff --git a/macros/latex-dev/base/README.md b/macros/latex-dev/base/README.md index 711462f8df..cdf7d25e6b 100644 --- a/macros/latex-dev/base/README.md +++ b/macros/latex-dev/base/README.md @@ -1,7 +1,7 @@ The LaTeX kernel ================ -Release 2020-10-01 pre-release 0 +Release 2020-10-01 pre-release 1 Overview -------- diff --git a/macros/latex-dev/base/alltt.pdf b/macros/latex-dev/base/alltt.pdf Binary files differindex c55c748ace..fec5a7c59e 100644 --- a/macros/latex-dev/base/alltt.pdf +++ b/macros/latex-dev/base/alltt.pdf diff --git a/macros/latex-dev/base/cfgguide.pdf b/macros/latex-dev/base/cfgguide.pdf Binary files differindex fc1c0fee84..5c84b475fa 100644 --- a/macros/latex-dev/base/cfgguide.pdf +++ b/macros/latex-dev/base/cfgguide.pdf diff --git a/macros/latex-dev/base/changes.txt b/macros/latex-dev/base/changes.txt index 6b82d58616..cb0dab5175 100644 --- a/macros/latex-dev/base/changes.txt +++ b/macros/latex-dev/base/changes.txt @@ -1,10 +1,30 @@ -This file lists changes to the LaTeX2e files in reverse chronological order. +This file lists changes to the LaTeX2e files in reverse chronological order. It is provided for convenience only. It therefore makes no claims to completeness or accuracy and it contains some references to files that are not part of the distribution. ======================================================================= ######################### +# 2020-02-02 PL 1 Release +######################### + +2020-02-05 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * lttextcomp.dtx (section{The \texttt{textcomp} package}): + Warn if new package runs with old format (gh/260) + Changed the package default to info (gh/262) + + * ltfssini.dtx (section{Custom series settings for main document families}): + Corrected misspelled csname (gh/264) + Renamed \@reserveda to \reserved@a + Clarrified error text message + + * ltfssaxes.dtx: Renamed \@reserveda and\@reservedb to \reserved@a + and \reserved@b + + * ltclass.dtx: Renamed \@reserveda to \reserved@a + +######################### # 2020-02-02 Release ######################### diff --git a/macros/latex-dev/base/classes.pdf b/macros/latex-dev/base/classes.pdf Binary files differindex b00e573d31..d27e732d61 100644 --- a/macros/latex-dev/base/classes.pdf +++ b/macros/latex-dev/base/classes.pdf diff --git a/macros/latex-dev/base/clsguide.pdf b/macros/latex-dev/base/clsguide.pdf Binary files differindex 093c4e2fb1..54e5c0982e 100644 --- a/macros/latex-dev/base/clsguide.pdf +++ b/macros/latex-dev/base/clsguide.pdf diff --git a/macros/latex-dev/base/cmfonts.pdf b/macros/latex-dev/base/cmfonts.pdf Binary files differindex 6b8ed43328..e099fe12cc 100644 --- a/macros/latex-dev/base/cmfonts.pdf +++ b/macros/latex-dev/base/cmfonts.pdf diff --git a/macros/latex-dev/base/cyrguide.pdf b/macros/latex-dev/base/cyrguide.pdf Binary files differindex ac7fdc9390..04e1fc7041 100644 --- a/macros/latex-dev/base/cyrguide.pdf +++ b/macros/latex-dev/base/cyrguide.pdf diff --git a/macros/latex-dev/base/doc.pdf b/macros/latex-dev/base/doc.pdf Binary files differindex 5528d59105..5319615aec 100644 --- a/macros/latex-dev/base/doc.pdf +++ b/macros/latex-dev/base/doc.pdf diff --git a/macros/latex-dev/base/docstrip.pdf b/macros/latex-dev/base/docstrip.pdf Binary files differindex 0ba288a7ca..23a0f86c34 100644 --- a/macros/latex-dev/base/docstrip.pdf +++ b/macros/latex-dev/base/docstrip.pdf diff --git a/macros/latex-dev/base/encguide.pdf b/macros/latex-dev/base/encguide.pdf Binary files differindex 8348539d44..63656864ea 100644 --- a/macros/latex-dev/base/encguide.pdf +++ b/macros/latex-dev/base/encguide.pdf diff --git a/macros/latex-dev/base/exscale.pdf b/macros/latex-dev/base/exscale.pdf Binary files differindex d26c39cc7d..b452b0dee3 100644 --- a/macros/latex-dev/base/exscale.pdf +++ b/macros/latex-dev/base/exscale.pdf diff --git a/macros/latex-dev/base/fix-cm.pdf b/macros/latex-dev/base/fix-cm.pdf Binary files differindex 769656c1c4..d225375417 100644 --- a/macros/latex-dev/base/fix-cm.pdf +++ b/macros/latex-dev/base/fix-cm.pdf diff --git a/macros/latex-dev/base/fntguide.pdf b/macros/latex-dev/base/fntguide.pdf Binary files differindex c77741a212..6ff4211550 100644 --- a/macros/latex-dev/base/fntguide.pdf +++ b/macros/latex-dev/base/fntguide.pdf diff --git a/macros/latex-dev/base/graphpap.pdf b/macros/latex-dev/base/graphpap.pdf Binary files differindex 82f8e6e8c7..74547e3332 100644 --- a/macros/latex-dev/base/graphpap.pdf +++ b/macros/latex-dev/base/graphpap.pdf diff --git a/macros/latex-dev/base/ifthen.pdf b/macros/latex-dev/base/ifthen.pdf Binary files differindex d03b6c0379..dc9b9bf4fb 100644 --- a/macros/latex-dev/base/ifthen.pdf +++ b/macros/latex-dev/base/ifthen.pdf diff --git a/macros/latex-dev/base/inputenc.pdf b/macros/latex-dev/base/inputenc.pdf Binary files differindex debc386726..fb84aabf3a 100644 --- a/macros/latex-dev/base/inputenc.pdf +++ b/macros/latex-dev/base/inputenc.pdf diff --git a/macros/latex-dev/base/latexchanges.pdf b/macros/latex-dev/base/latexchanges.pdf Binary files differindex 65db61aeb6..241052a47b 100644 --- a/macros/latex-dev/base/latexchanges.pdf +++ b/macros/latex-dev/base/latexchanges.pdf diff --git a/macros/latex-dev/base/latexrelease.pdf b/macros/latex-dev/base/latexrelease.pdf Binary files differindex 95ff9ddb5c..5b89866043 100644 --- a/macros/latex-dev/base/latexrelease.pdf +++ b/macros/latex-dev/base/latexrelease.pdf diff --git a/macros/latex-dev/base/latexsym.pdf b/macros/latex-dev/base/latexsym.pdf Binary files differindex c3405a8383..e29d9210ff 100644 --- a/macros/latex-dev/base/latexsym.pdf +++ b/macros/latex-dev/base/latexsym.pdf diff --git a/macros/latex-dev/base/lb2.pdf b/macros/latex-dev/base/lb2.pdf Binary files differindex 9f7205d10a..5de3d170e0 100644 --- a/macros/latex-dev/base/lb2.pdf +++ b/macros/latex-dev/base/lb2.pdf diff --git a/macros/latex-dev/base/letter.pdf b/macros/latex-dev/base/letter.pdf Binary files differindex 19394daa70..b850950688 100644 --- a/macros/latex-dev/base/letter.pdf +++ b/macros/latex-dev/base/letter.pdf diff --git a/macros/latex-dev/base/lgc2.pdf b/macros/latex-dev/base/lgc2.pdf Binary files differindex 4f5c690012..4e723b696a 100644 --- a/macros/latex-dev/base/lgc2.pdf +++ b/macros/latex-dev/base/lgc2.pdf diff --git a/macros/latex-dev/base/ltclass.dtx b/macros/latex-dev/base/ltclass.dtx index 9e7668e88e..96daa3aa30 100644 --- a/macros/latex-dev/base/ltclass.dtx +++ b/macros/latex-dev/base/ltclass.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltclass.dtx} - [2020/01/28 v1.3h LaTeX Kernel (Class & Package Interface)] + [2020/02/05 v1.3i LaTeX Kernel (Class & Package Interface)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltclass.dtx} @@ -1807,11 +1807,11 @@ % \begin{macrocode} \def\filec@ntents@opt[#1]{% \edef\@fortmp{\zap@space#1 \@empty}% - \@for\@reserveda:=\@fortmp\do{% - \ifcsname filec@ntents@\@reserveda\endcsname - \csname filec@ntents@\@reserveda\endcsname + \@for\reserved@a:=\@fortmp\do{% + \ifcsname filec@ntents@\reserved@a\endcsname + \csname filec@ntents@\reserved@a\endcsname \else - \@latex@error{Unknown filecontents option \@reserveda}% + \@latex@error{Unknown filecontents option \reserved@a}% {Valid options are force (or overwrite), nosearch, noheader}% \fi}% \filec@ntents diff --git a/macros/latex-dev/base/ltfssaxes.dtx b/macros/latex-dev/base/ltfssaxes.dtx index 4dd7a36ca4..fcf304d1fa 100644 --- a/macros/latex-dev/base/ltfssaxes.dtx +++ b/macros/latex-dev/base/ltfssaxes.dtx @@ -35,7 +35,7 @@ % % \ProvidesFile{ltfssaxes.dtx} - [2020/01/30 v1.0a LaTeX Kernel (NFSS Axes handing)] + [2020/02/05 v1.0b LaTeX Kernel (NFSS Axes handing)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -739,8 +739,8 @@ % definition of \cs{AmSfont} that is actually the case. % \begin{macrocode} %\ifcat\expandafter X\detokenize{#1}X% - \def\@reserveda{#3}% - \ifx\@reserveda\@empty + \def\reserved@a{#3}% + \ifx\reserved@a\@empty \set@target@series{#2}% \else % \end{macrocode} @@ -751,8 +751,8 @@ % is actually available. % \begin{macrocode} \maybe@load@fontshape - \edef\@reserveda{\f@encoding /\f@family /#1/\f@shape}% - \ifcsname \@reserveda \endcsname + \edef\reserved@a{\f@encoding /\f@family /#1/\f@shape}% + \ifcsname \reserved@a \endcsname % \end{macrocode} % If the desired result is available then we use that. However, we % do need some post-processing because we need to drop surplus @@ -791,10 +791,10 @@ % \cs{@reserveda} above. % \begin{macrocode} \def\@font@shape@subst@warning{% - \edef\@reservedb{\curr@fontshape}% - \ifx\@reserveda\@reservedb \else - \@font@warning{Font shape `\@reserveda' undefined\MessageBreak - using `\@reservedb' instead}% + \edef\reserved@b{\curr@fontshape}% + \ifx\reserved@a\reserved@b \else + \@font@warning{Font shape `\reserved@a' undefined\MessageBreak + using `\reserved@b' instead}% \fi } % \end{macrocode} @@ -1103,13 +1103,13 @@ % ``m''s from the name as we had to for the series. % \begin{macrocode} \def\merge@font@shape@#1#2#3\@nil{% - \def\@reserveda{#3}% - \ifx\@reserveda\@empty + \def\reserved@a{#3}% + \ifx\reserved@a\@empty \edef\f@shape{#2}% \else \maybe@load@fontshape - \edef\@reserveda{\f@encoding /\f@family /\f@series/#1}% - \ifcsname \@reserveda\endcsname + \edef\reserved@a{\f@encoding /\f@family /\f@series/#1}% + \ifcsname \reserved@a\endcsname \edef\f@shape{#1}% \else \ifcsname \f@encoding /\f@family /\f@series/#2\endcsname diff --git a/macros/latex-dev/base/ltfssini.dtx b/macros/latex-dev/base/ltfssini.dtx index 9687e08b0e..320c5a181e 100644 --- a/macros/latex-dev/base/ltfssini.dtx +++ b/macros/latex-dev/base/ltfssini.dtx @@ -36,7 +36,7 @@ % % \ProvidesFile{ltfssini.dtx} - [2020/01/11 v3.1f LaTeX Kernel (NFSS Initialisation)] + [2020/02/05 v3.1g LaTeX Kernel (NFSS Initialisation)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -279,16 +279,21 @@ % ``tt'' family. % \begin{macrocode} \newcommand\DeclareFontSeriesDefault[3][]{% - \def\@reserveda{#1}% + \def\reserved@a{#1}% % \end{macrocode} % No optional argument: set up general default. +% \changes{v3.1g}{2020/02/05}{Corrected misspelled csname (gh/264)} % \begin{macrocode} - \ifx\@resereda\@empty + \ifx\reserved@a\@empty \ifcsname #2series\endcsname % supported are % \[md/bf]default \expandafter\def \csname #2default\endcsname{#3}% \else +% \end{macrocode} +% +% \changes{v3.1g}{2020/02/05}{Clarrified error text} +% \begin{macrocode} \@latex@error{Wrong syntax for \string\DeclareFontSeriesDefault}% {Mandatory first argument must be 'md' or 'bf'.} \fi @@ -310,8 +315,8 @@ \csname #2series@#1@kernel\endcsname\@undefined \else \@latex@error{Wrong syntax for \string\DeclareFontSeriesDefault}% - {Optional first argument must be 'rm', 'sf', or 'tt'. \MessageBreak - Second argument must be 'md' or 'bf'.} + {Optional argument must be 'rm', 'sf', or 'tt'. \MessageBreak + Mandatory first argument must be 'md' or 'bf'.} \fi \fi } @@ -678,8 +683,8 @@ % contains all meta families and we need to ignore the case where % current one from the list and target one are identical. % \begin{macrocode} - \def\@reserveda{#1}% - \ifx\target@meta@family@value\@reserveda % rm -> rm do nothing + \def\reserved@a{#1}% + \ifx\target@meta@family@value\reserved@a % rm -> rm do nothing \else % \end{macrocode} % We only ``do'' something if the current font family matches the diff --git a/macros/latex-dev/base/ltfsstrc.dtx b/macros/latex-dev/base/ltfsstrc.dtx index e997e5be55..055f408ceb 100644 --- a/macros/latex-dev/base/ltfsstrc.dtx +++ b/macros/latex-dev/base/ltfsstrc.dtx @@ -37,7 +37,7 @@ %<package> [2019/10/11 v3.0l Standard LaTeX package (font tracing)] % \fi % \ProvidesFile{ltfsstrc.dtx} -% [2019/10/11 v3.0l LaTeX Kernel (NFSS tracing)] +% [2020/02/03 v3.0l LaTeX Kernel (NFSS tracing)] % % \iffalse %<+checkmem>\CHECKMEM @@ -1731,7 +1731,7 @@ % the optional argument (if present) is ignored. The font encoding % scheme cannot be changed. Therefore, the first thing we do is to % prepend the encoding scheme. -% {documentation fixes} +% \changes{v2.0b}{1992/07/26}{documentation fixes} % \begin{macrocode} \DeclareSizeFunction{sub}{\sub@sfcnt\@font@warning} \DeclareSizeFunction{ssub}{\sub@sfcnt\@font@info} @@ -1803,7 +1803,7 @@ % \begin{macrocode} %</2ekernel> %<*2ekernel|latexrelease> -%<latexrelease>\IncludeInRelease{2020/02/01}% +%<latexrelease>\IncludeInRelease{2020/02/02}% %<latexrelease> {\@font@aliasinfo}{alias size function}% \DeclareSizeFunction{alias}{\sub@sfcnt\@font@aliasinfo} \def\@font@aliasinfo#1{% diff --git a/macros/latex-dev/base/ltluatex.pdf b/macros/latex-dev/base/ltluatex.pdf Binary files differindex 0f129b6b4f..08d0a3b3d5 100644 --- a/macros/latex-dev/base/ltluatex.pdf +++ b/macros/latex-dev/base/ltluatex.pdf diff --git a/macros/latex-dev/base/ltnews.pdf b/macros/latex-dev/base/ltnews.pdf Binary files differindex 47d9e0d99f..510812679d 100644 --- a/macros/latex-dev/base/ltnews.pdf +++ b/macros/latex-dev/base/ltnews.pdf diff --git a/macros/latex-dev/base/ltnews01.pdf b/macros/latex-dev/base/ltnews01.pdf Binary files differindex 7b5bbd0e30..28d0c9fc11 100644 --- a/macros/latex-dev/base/ltnews01.pdf +++ b/macros/latex-dev/base/ltnews01.pdf diff --git a/macros/latex-dev/base/ltnews02.pdf b/macros/latex-dev/base/ltnews02.pdf Binary files differindex 1f59a891d2..1ca58c1359 100644 --- a/macros/latex-dev/base/ltnews02.pdf +++ b/macros/latex-dev/base/ltnews02.pdf diff --git a/macros/latex-dev/base/ltnews03.pdf b/macros/latex-dev/base/ltnews03.pdf Binary files differindex 10dbb998f7..b187ba2e2a 100644 --- a/macros/latex-dev/base/ltnews03.pdf +++ b/macros/latex-dev/base/ltnews03.pdf diff --git a/macros/latex-dev/base/ltnews04.pdf b/macros/latex-dev/base/ltnews04.pdf Binary files differindex 53427ab756..c8276903e7 100644 --- a/macros/latex-dev/base/ltnews04.pdf +++ b/macros/latex-dev/base/ltnews04.pdf diff --git a/macros/latex-dev/base/ltnews05.pdf b/macros/latex-dev/base/ltnews05.pdf Binary files differindex 06b6e6d115..383ed1a943 100644 --- a/macros/latex-dev/base/ltnews05.pdf +++ b/macros/latex-dev/base/ltnews05.pdf diff --git a/macros/latex-dev/base/ltnews06.pdf b/macros/latex-dev/base/ltnews06.pdf Binary files differindex 02cabdf06c..d13d2ec351 100644 --- a/macros/latex-dev/base/ltnews06.pdf +++ b/macros/latex-dev/base/ltnews06.pdf diff --git a/macros/latex-dev/base/ltnews07.pdf b/macros/latex-dev/base/ltnews07.pdf Binary files differindex a9e91ea855..38521261bd 100644 --- a/macros/latex-dev/base/ltnews07.pdf +++ b/macros/latex-dev/base/ltnews07.pdf diff --git a/macros/latex-dev/base/ltnews08.pdf b/macros/latex-dev/base/ltnews08.pdf Binary files differindex 90c18f1291..6d42d3622f 100644 --- a/macros/latex-dev/base/ltnews08.pdf +++ b/macros/latex-dev/base/ltnews08.pdf diff --git a/macros/latex-dev/base/ltnews09.pdf b/macros/latex-dev/base/ltnews09.pdf Binary files differindex cec8b4ace8..98fab67295 100644 --- a/macros/latex-dev/base/ltnews09.pdf +++ b/macros/latex-dev/base/ltnews09.pdf diff --git a/macros/latex-dev/base/ltnews10.pdf b/macros/latex-dev/base/ltnews10.pdf Binary files differindex c264db4542..cfb7b4f123 100644 --- a/macros/latex-dev/base/ltnews10.pdf +++ b/macros/latex-dev/base/ltnews10.pdf diff --git a/macros/latex-dev/base/ltnews11.pdf b/macros/latex-dev/base/ltnews11.pdf Binary files differindex f8983e522f..8f60d37b60 100644 --- a/macros/latex-dev/base/ltnews11.pdf +++ b/macros/latex-dev/base/ltnews11.pdf diff --git a/macros/latex-dev/base/ltnews12.pdf b/macros/latex-dev/base/ltnews12.pdf Binary files differindex ced29319c8..d206fba216 100644 --- a/macros/latex-dev/base/ltnews12.pdf +++ b/macros/latex-dev/base/ltnews12.pdf diff --git a/macros/latex-dev/base/ltnews13.pdf b/macros/latex-dev/base/ltnews13.pdf Binary files differindex 071b9fd9f4..ea78a71741 100644 --- a/macros/latex-dev/base/ltnews13.pdf +++ b/macros/latex-dev/base/ltnews13.pdf diff --git a/macros/latex-dev/base/ltnews14.pdf b/macros/latex-dev/base/ltnews14.pdf Binary files differindex 5ec47164ef..bf088f5614 100644 --- a/macros/latex-dev/base/ltnews14.pdf +++ b/macros/latex-dev/base/ltnews14.pdf diff --git a/macros/latex-dev/base/ltnews15.pdf b/macros/latex-dev/base/ltnews15.pdf Binary files differindex 9210f39c0b..4fb208af6e 100644 --- a/macros/latex-dev/base/ltnews15.pdf +++ b/macros/latex-dev/base/ltnews15.pdf diff --git a/macros/latex-dev/base/ltnews16.pdf b/macros/latex-dev/base/ltnews16.pdf Binary files differindex c747254d61..4f6aff12db 100644 --- a/macros/latex-dev/base/ltnews16.pdf +++ b/macros/latex-dev/base/ltnews16.pdf diff --git a/macros/latex-dev/base/ltnews17.pdf b/macros/latex-dev/base/ltnews17.pdf Binary files differindex bda9ebe291..ebc53720ca 100644 --- a/macros/latex-dev/base/ltnews17.pdf +++ b/macros/latex-dev/base/ltnews17.pdf diff --git a/macros/latex-dev/base/ltnews18.pdf b/macros/latex-dev/base/ltnews18.pdf Binary files differindex 89653d0bbb..6e828a0ec5 100644 --- a/macros/latex-dev/base/ltnews18.pdf +++ b/macros/latex-dev/base/ltnews18.pdf diff --git a/macros/latex-dev/base/ltnews19.pdf b/macros/latex-dev/base/ltnews19.pdf Binary files differindex 016ceb0f22..ed262f73d3 100644 --- a/macros/latex-dev/base/ltnews19.pdf +++ b/macros/latex-dev/base/ltnews19.pdf diff --git a/macros/latex-dev/base/ltnews20.pdf b/macros/latex-dev/base/ltnews20.pdf Binary files differindex 50d112c5d9..354bfec824 100644 --- a/macros/latex-dev/base/ltnews20.pdf +++ b/macros/latex-dev/base/ltnews20.pdf diff --git a/macros/latex-dev/base/ltnews21.pdf b/macros/latex-dev/base/ltnews21.pdf Binary files differindex 13ff048a5f..39f0818168 100644 --- a/macros/latex-dev/base/ltnews21.pdf +++ b/macros/latex-dev/base/ltnews21.pdf diff --git a/macros/latex-dev/base/ltnews22.pdf b/macros/latex-dev/base/ltnews22.pdf Binary files differindex 0095e5a5c5..7720d6ee38 100644 --- a/macros/latex-dev/base/ltnews22.pdf +++ b/macros/latex-dev/base/ltnews22.pdf diff --git a/macros/latex-dev/base/ltnews23.pdf b/macros/latex-dev/base/ltnews23.pdf Binary files differindex 97872e751e..9b18272871 100644 --- a/macros/latex-dev/base/ltnews23.pdf +++ b/macros/latex-dev/base/ltnews23.pdf diff --git a/macros/latex-dev/base/ltnews24.pdf b/macros/latex-dev/base/ltnews24.pdf Binary files differindex bbc76b17f4..a89d3c6ec1 100644 --- a/macros/latex-dev/base/ltnews24.pdf +++ b/macros/latex-dev/base/ltnews24.pdf diff --git a/macros/latex-dev/base/ltnews25.pdf b/macros/latex-dev/base/ltnews25.pdf Binary files differindex 104437cf6a..f048259b06 100644 --- a/macros/latex-dev/base/ltnews25.pdf +++ b/macros/latex-dev/base/ltnews25.pdf diff --git a/macros/latex-dev/base/ltnews26.pdf b/macros/latex-dev/base/ltnews26.pdf Binary files differindex ec7f98808d..c399c80adc 100644 --- a/macros/latex-dev/base/ltnews26.pdf +++ b/macros/latex-dev/base/ltnews26.pdf diff --git a/macros/latex-dev/base/ltnews27.pdf b/macros/latex-dev/base/ltnews27.pdf Binary files differindex 4a47b30b07..a1e22c04e0 100644 --- a/macros/latex-dev/base/ltnews27.pdf +++ b/macros/latex-dev/base/ltnews27.pdf diff --git a/macros/latex-dev/base/ltnews28.pdf b/macros/latex-dev/base/ltnews28.pdf Binary files differindex 757c0941d9..ddf5a3528e 100644 --- a/macros/latex-dev/base/ltnews28.pdf +++ b/macros/latex-dev/base/ltnews28.pdf diff --git a/macros/latex-dev/base/ltnews29.pdf b/macros/latex-dev/base/ltnews29.pdf Binary files differindex 7bf9da5c9c..6f63cf1908 100644 --- a/macros/latex-dev/base/ltnews29.pdf +++ b/macros/latex-dev/base/ltnews29.pdf diff --git a/macros/latex-dev/base/ltnews30.pdf b/macros/latex-dev/base/ltnews30.pdf Binary files differindex a24e2404f8..8055b76d74 100644 --- a/macros/latex-dev/base/ltnews30.pdf +++ b/macros/latex-dev/base/ltnews30.pdf diff --git a/macros/latex-dev/base/ltnews31.pdf b/macros/latex-dev/base/ltnews31.pdf Binary files differindex 86c7730430..b92f6b3de6 100644 --- a/macros/latex-dev/base/ltnews31.pdf +++ b/macros/latex-dev/base/ltnews31.pdf diff --git a/macros/latex-dev/base/ltnews31.tex b/macros/latex-dev/base/ltnews31.tex index 5622ea103f..83e81cb7f2 100644 --- a/macros/latex-dev/base/ltnews31.tex +++ b/macros/latex-dev/base/ltnews31.tex @@ -433,10 +433,10 @@ past they were always taken from Computer Modern Roman if substitution was necessary. -\typeout{^^J^^J***************************************} -\typeout{** This example needs LaTeX 2020-02-02} +\typeout{^^J^^J******************************************} +\typeout{** This example needs LaTeX 2020-02-02 or later} \typeout{** to come out correctly !!} -\typeout{***************************************^^J^^J} +\typeout{******************************************^^J^^J} \textsf{This is most noticeable with \cs{oldstylenums} which are now taken from \texttt{TS1} so that you no longer get @@ -737,7 +737,7 @@ Note that it has become standard practice to check for Unicode-aware engines by using the existence of the \cs{Umathcode} primitive. As such, this is already a requirement: engines lacking these primitives cannot use Unicode features of the \LaTeXe{} kernel or \pkg{expl3}. Note also that up\TeX{} can -handling Unicode but it is not classed as a Unicode engine by the +handle Unicode but it is not classed as a Unicode engine by the base \LaTeX\ code. \enlargethispage*{\baselineskip} diff --git a/macros/latex-dev/base/lttextcomp.dtx b/macros/latex-dev/base/lttextcomp.dtx index eca72e4d28..c918a836f9 100644 --- a/macros/latex-dev/base/lttextcomp.dtx +++ b/macros/latex-dev/base/lttextcomp.dtx @@ -1397,7 +1397,6 @@ % % \begin{macrocode} %<*TS1sty> -\NeedsTeXFormat{LaTeX2e}[1995/06/01] \providecommand\DeclareRelease[3]{} \providecommand\DeclareCurrentRelease[2]{} @@ -1405,7 +1404,13 @@ \DeclareCurrentRelease{}{2020-02-02} \ProvidesPackage{textcomp} - [2020/02/02 v2.0m Standard LaTeX package] + [2020/02/02 v2.0n Standard LaTeX package] +% \end{macrocode} +% +% A precaution in case this is used without rebuilding the format. +% \changes{v2.0n}{2020/02/05}{Ensure we are on a new format (gh/260)} +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e}[2020/02/02] % \end{macrocode} % % This is implemented by defining the default subset: @@ -1423,12 +1428,12 @@ % results to ensure that there aren't ``missing glyphs''. % % The next set of options define the warning level (default in the -% kernel is info only). If you load the package then the default -% changes to produce an error message if any substitution happens. +% kernel is info only). Using the package options you can change this behavior. +% \changes{v2.0n}{2020/02/05}{Changed the package default to info (gh/262)} % \begin{macrocode} -\def\tc@errorwarn{\PackageError{textcomp}} \DeclareOption{error}{\gdef\tc@errorwarn{\PackageError{textcomp}}} \DeclareOption{warn}{\gdef\tc@errorwarn#1#2{\PackageWarning{textcomp}{#1}}} +\DeclareOption{info}{\gdef\tc@errorwarn#1#2{\PackageInfo{textcomp}{#1}}} \DeclareOption{quiet}{\gdef\tc@errorwarn#1#2{}} % \end{macrocode} % @@ -1453,7 +1458,7 @@ % \end{macrocode} % % \begin{macrocode} -\ExecuteOptions{} +\ExecuteOptions{info} \ProcessOptions\relax % \end{macrocode} % diff --git a/macros/latex-dev/base/ltvers.dtx b/macros/latex-dev/base/ltvers.dtx index 1bd6a49246..e381864bd4 100644 --- a/macros/latex-dev/base/ltvers.dtx +++ b/macros/latex-dev/base/ltvers.dtx @@ -115,7 +115,7 @@ {2020-10-01} %</2ekernel|latexrelease> %<*2ekernel> -\def\patch@level{0} +\def\patch@level{-1} % \end{macrocode} % % \begin{macro}{\development@branch@name} diff --git a/macros/latex-dev/base/ltx3info.pdf b/macros/latex-dev/base/ltx3info.pdf Binary files differindex b7f7ae4bc4..c543f82d3b 100644 --- a/macros/latex-dev/base/ltx3info.pdf +++ b/macros/latex-dev/base/ltx3info.pdf diff --git a/macros/latex-dev/base/ltxdoc.pdf b/macros/latex-dev/base/ltxdoc.pdf Binary files differindex 8a1ac9fc2a..7412872a0c 100644 --- a/macros/latex-dev/base/ltxdoc.pdf +++ b/macros/latex-dev/base/ltxdoc.pdf diff --git a/macros/latex-dev/base/makeindx.pdf b/macros/latex-dev/base/makeindx.pdf Binary files differindex fc3b7487d7..d0802e5ae4 100644 --- a/macros/latex-dev/base/makeindx.pdf +++ b/macros/latex-dev/base/makeindx.pdf diff --git a/macros/latex-dev/base/manual.pdf b/macros/latex-dev/base/manual.pdf Binary files differindex 0ac58cda39..2b3da49b7f 100644 --- a/macros/latex-dev/base/manual.pdf +++ b/macros/latex-dev/base/manual.pdf diff --git a/macros/latex-dev/base/modguide.pdf b/macros/latex-dev/base/modguide.pdf Binary files differindex 1622d06d4f..19e33910b1 100644 --- a/macros/latex-dev/base/modguide.pdf +++ b/macros/latex-dev/base/modguide.pdf diff --git a/macros/latex-dev/base/nfssfont.pdf b/macros/latex-dev/base/nfssfont.pdf Binary files differindex 02055e940f..7d0a69ca44 100644 --- a/macros/latex-dev/base/nfssfont.pdf +++ b/macros/latex-dev/base/nfssfont.pdf diff --git a/macros/latex-dev/base/proc.pdf b/macros/latex-dev/base/proc.pdf Binary files differindex 1b54594a94..73c6d9f6e4 100644 --- a/macros/latex-dev/base/proc.pdf +++ b/macros/latex-dev/base/proc.pdf diff --git a/macros/latex-dev/base/slides.pdf b/macros/latex-dev/base/slides.pdf Binary files differindex d1ad811718..1c1e343628 100644 --- a/macros/latex-dev/base/slides.pdf +++ b/macros/latex-dev/base/slides.pdf diff --git a/macros/latex-dev/base/slifonts.pdf b/macros/latex-dev/base/slifonts.pdf Binary files differindex 21d9d42ec9..1b92c10c45 100644 --- a/macros/latex-dev/base/slifonts.pdf +++ b/macros/latex-dev/base/slifonts.pdf diff --git a/macros/latex-dev/base/source2e.pdf b/macros/latex-dev/base/source2e.pdf Binary files differindex 8b90395efe..f5e929d7c5 100644 --- a/macros/latex-dev/base/source2e.pdf +++ b/macros/latex-dev/base/source2e.pdf diff --git a/macros/latex-dev/base/syntonly.pdf b/macros/latex-dev/base/syntonly.pdf Binary files differindex 4a60e512be..d27551fd7f 100644 --- a/macros/latex-dev/base/syntonly.pdf +++ b/macros/latex-dev/base/syntonly.pdf diff --git a/macros/latex-dev/base/tlc2.pdf b/macros/latex-dev/base/tlc2.pdf Binary files differindex 29dd711683..895110712f 100644 --- a/macros/latex-dev/base/tlc2.pdf +++ b/macros/latex-dev/base/tlc2.pdf diff --git a/macros/latex-dev/base/tulm.pdf b/macros/latex-dev/base/tulm.pdf Binary files differindex 1c55782b98..dda1160a00 100644 --- a/macros/latex-dev/base/tulm.pdf +++ b/macros/latex-dev/base/tulm.pdf diff --git a/macros/latex-dev/base/usrguide.pdf b/macros/latex-dev/base/usrguide.pdf Binary files differindex f45056bbb8..aa4ba24e80 100644 --- a/macros/latex-dev/base/usrguide.pdf +++ b/macros/latex-dev/base/usrguide.pdf diff --git a/macros/latex-dev/base/utf8ienc.pdf b/macros/latex-dev/base/utf8ienc.pdf Binary files differindex ba71f40aaa..97ecda8365 100644 --- a/macros/latex-dev/base/utf8ienc.pdf +++ b/macros/latex-dev/base/utf8ienc.pdf diff --git a/macros/latex-dev/base/webcomp.pdf b/macros/latex-dev/base/webcomp.pdf Binary files differindex 4ec5f0d41e..1c8a13b439 100644 --- a/macros/latex-dev/base/webcomp.pdf +++ b/macros/latex-dev/base/webcomp.pdf diff --git a/macros/latex/base/README.md b/macros/latex/base/README.md index a4ce49ed27..6afc68d5ed 100644 --- a/macros/latex/base/README.md +++ b/macros/latex/base/README.md @@ -1,7 +1,7 @@ The LaTeX kernel ================ -Release 2020-02-02 +Release 2020-02-02 patch level 1 Overview -------- diff --git a/macros/latex/base/alltt.pdf b/macros/latex/base/alltt.pdf Binary files differindex 8668d35744..f1ef74b92e 100644 --- a/macros/latex/base/alltt.pdf +++ b/macros/latex/base/alltt.pdf diff --git a/macros/latex/base/cfgguide.pdf b/macros/latex/base/cfgguide.pdf Binary files differindex 9db957f80a..8aa53b1c2e 100644 --- a/macros/latex/base/cfgguide.pdf +++ b/macros/latex/base/cfgguide.pdf diff --git a/macros/latex/base/changes.txt b/macros/latex/base/changes.txt index 6b82d58616..cb0dab5175 100644 --- a/macros/latex/base/changes.txt +++ b/macros/latex/base/changes.txt @@ -1,10 +1,30 @@ -This file lists changes to the LaTeX2e files in reverse chronological order. +This file lists changes to the LaTeX2e files in reverse chronological order. It is provided for convenience only. It therefore makes no claims to completeness or accuracy and it contains some references to files that are not part of the distribution. ======================================================================= ######################### +# 2020-02-02 PL 1 Release +######################### + +2020-02-05 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * lttextcomp.dtx (section{The \texttt{textcomp} package}): + Warn if new package runs with old format (gh/260) + Changed the package default to info (gh/262) + + * ltfssini.dtx (section{Custom series settings for main document families}): + Corrected misspelled csname (gh/264) + Renamed \@reserveda to \reserved@a + Clarrified error text message + + * ltfssaxes.dtx: Renamed \@reserveda and\@reservedb to \reserved@a + and \reserved@b + + * ltclass.dtx: Renamed \@reserveda to \reserved@a + +######################### # 2020-02-02 Release ######################### diff --git a/macros/latex/base/classes.pdf b/macros/latex/base/classes.pdf Binary files differindex d82b026f65..f246bf7a10 100644 --- a/macros/latex/base/classes.pdf +++ b/macros/latex/base/classes.pdf diff --git a/macros/latex/base/clsguide.pdf b/macros/latex/base/clsguide.pdf Binary files differindex 6cf3f297f2..c32c7c53f9 100644 --- a/macros/latex/base/clsguide.pdf +++ b/macros/latex/base/clsguide.pdf diff --git a/macros/latex/base/cmfonts.pdf b/macros/latex/base/cmfonts.pdf Binary files differindex 3e4ce63df0..ca0970a1f1 100644 --- a/macros/latex/base/cmfonts.pdf +++ b/macros/latex/base/cmfonts.pdf diff --git a/macros/latex/base/cyrguide.pdf b/macros/latex/base/cyrguide.pdf Binary files differindex 0cc3392bce..8b4ecbdb69 100644 --- a/macros/latex/base/cyrguide.pdf +++ b/macros/latex/base/cyrguide.pdf diff --git a/macros/latex/base/doc.pdf b/macros/latex/base/doc.pdf Binary files differindex 667ecd8e1d..f7060db9b0 100644 --- a/macros/latex/base/doc.pdf +++ b/macros/latex/base/doc.pdf diff --git a/macros/latex/base/docstrip.pdf b/macros/latex/base/docstrip.pdf Binary files differindex 764221283f..fda4ea2a24 100644 --- a/macros/latex/base/docstrip.pdf +++ b/macros/latex/base/docstrip.pdf diff --git a/macros/latex/base/encguide.pdf b/macros/latex/base/encguide.pdf Binary files differindex 5508bfd2c6..4ad00c2b6e 100644 --- a/macros/latex/base/encguide.pdf +++ b/macros/latex/base/encguide.pdf diff --git a/macros/latex/base/exscale.pdf b/macros/latex/base/exscale.pdf Binary files differindex eb69ff3eab..09a7afd611 100644 --- a/macros/latex/base/exscale.pdf +++ b/macros/latex/base/exscale.pdf diff --git a/macros/latex/base/fix-cm.pdf b/macros/latex/base/fix-cm.pdf Binary files differindex f81921ce0c..3b58b956d0 100644 --- a/macros/latex/base/fix-cm.pdf +++ b/macros/latex/base/fix-cm.pdf diff --git a/macros/latex/base/fntguide.pdf b/macros/latex/base/fntguide.pdf Binary files differindex ae007a4246..870d3013a3 100644 --- a/macros/latex/base/fntguide.pdf +++ b/macros/latex/base/fntguide.pdf diff --git a/macros/latex/base/graphpap.pdf b/macros/latex/base/graphpap.pdf Binary files differindex 15c1cf44a0..5253f4af22 100644 --- a/macros/latex/base/graphpap.pdf +++ b/macros/latex/base/graphpap.pdf diff --git a/macros/latex/base/ifthen.pdf b/macros/latex/base/ifthen.pdf Binary files differindex bfe0cd093f..5e9b61d895 100644 --- a/macros/latex/base/ifthen.pdf +++ b/macros/latex/base/ifthen.pdf diff --git a/macros/latex/base/inputenc.pdf b/macros/latex/base/inputenc.pdf Binary files differindex 947f03a5bd..e34b5c053f 100644 --- a/macros/latex/base/inputenc.pdf +++ b/macros/latex/base/inputenc.pdf diff --git a/macros/latex/base/latexchanges.pdf b/macros/latex/base/latexchanges.pdf Binary files differindex d08cd03b2a..5b852535e2 100644 --- a/macros/latex/base/latexchanges.pdf +++ b/macros/latex/base/latexchanges.pdf diff --git a/macros/latex/base/latexrelease.pdf b/macros/latex/base/latexrelease.pdf Binary files differindex cf2029207f..0536a0f5bd 100644 --- a/macros/latex/base/latexrelease.pdf +++ b/macros/latex/base/latexrelease.pdf diff --git a/macros/latex/base/latexsym.pdf b/macros/latex/base/latexsym.pdf Binary files differindex c7b87bb1ff..01dbb29262 100644 --- a/macros/latex/base/latexsym.pdf +++ b/macros/latex/base/latexsym.pdf diff --git a/macros/latex/base/lb2.pdf b/macros/latex/base/lb2.pdf Binary files differindex 15c68a2c72..71fcd7294c 100644 --- a/macros/latex/base/lb2.pdf +++ b/macros/latex/base/lb2.pdf diff --git a/macros/latex/base/letter.pdf b/macros/latex/base/letter.pdf Binary files differindex f2840343b6..d116468e58 100644 --- a/macros/latex/base/letter.pdf +++ b/macros/latex/base/letter.pdf diff --git a/macros/latex/base/lgc2.pdf b/macros/latex/base/lgc2.pdf Binary files differindex d9d9a964d4..859ae28fe0 100644 --- a/macros/latex/base/lgc2.pdf +++ b/macros/latex/base/lgc2.pdf diff --git a/macros/latex/base/ltclass.dtx b/macros/latex/base/ltclass.dtx index 9e7668e88e..96daa3aa30 100644 --- a/macros/latex/base/ltclass.dtx +++ b/macros/latex/base/ltclass.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltclass.dtx} - [2020/01/28 v1.3h LaTeX Kernel (Class & Package Interface)] + [2020/02/05 v1.3i LaTeX Kernel (Class & Package Interface)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltclass.dtx} @@ -1807,11 +1807,11 @@ % \begin{macrocode} \def\filec@ntents@opt[#1]{% \edef\@fortmp{\zap@space#1 \@empty}% - \@for\@reserveda:=\@fortmp\do{% - \ifcsname filec@ntents@\@reserveda\endcsname - \csname filec@ntents@\@reserveda\endcsname + \@for\reserved@a:=\@fortmp\do{% + \ifcsname filec@ntents@\reserved@a\endcsname + \csname filec@ntents@\reserved@a\endcsname \else - \@latex@error{Unknown filecontents option \@reserveda}% + \@latex@error{Unknown filecontents option \reserved@a}% {Valid options are force (or overwrite), nosearch, noheader}% \fi}% \filec@ntents diff --git a/macros/latex/base/ltfssaxes.dtx b/macros/latex/base/ltfssaxes.dtx index 4dd7a36ca4..fcf304d1fa 100644 --- a/macros/latex/base/ltfssaxes.dtx +++ b/macros/latex/base/ltfssaxes.dtx @@ -35,7 +35,7 @@ % % \ProvidesFile{ltfssaxes.dtx} - [2020/01/30 v1.0a LaTeX Kernel (NFSS Axes handing)] + [2020/02/05 v1.0b LaTeX Kernel (NFSS Axes handing)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -739,8 +739,8 @@ % definition of \cs{AmSfont} that is actually the case. % \begin{macrocode} %\ifcat\expandafter X\detokenize{#1}X% - \def\@reserveda{#3}% - \ifx\@reserveda\@empty + \def\reserved@a{#3}% + \ifx\reserved@a\@empty \set@target@series{#2}% \else % \end{macrocode} @@ -751,8 +751,8 @@ % is actually available. % \begin{macrocode} \maybe@load@fontshape - \edef\@reserveda{\f@encoding /\f@family /#1/\f@shape}% - \ifcsname \@reserveda \endcsname + \edef\reserved@a{\f@encoding /\f@family /#1/\f@shape}% + \ifcsname \reserved@a \endcsname % \end{macrocode} % If the desired result is available then we use that. However, we % do need some post-processing because we need to drop surplus @@ -791,10 +791,10 @@ % \cs{@reserveda} above. % \begin{macrocode} \def\@font@shape@subst@warning{% - \edef\@reservedb{\curr@fontshape}% - \ifx\@reserveda\@reservedb \else - \@font@warning{Font shape `\@reserveda' undefined\MessageBreak - using `\@reservedb' instead}% + \edef\reserved@b{\curr@fontshape}% + \ifx\reserved@a\reserved@b \else + \@font@warning{Font shape `\reserved@a' undefined\MessageBreak + using `\reserved@b' instead}% \fi } % \end{macrocode} @@ -1103,13 +1103,13 @@ % ``m''s from the name as we had to for the series. % \begin{macrocode} \def\merge@font@shape@#1#2#3\@nil{% - \def\@reserveda{#3}% - \ifx\@reserveda\@empty + \def\reserved@a{#3}% + \ifx\reserved@a\@empty \edef\f@shape{#2}% \else \maybe@load@fontshape - \edef\@reserveda{\f@encoding /\f@family /\f@series/#1}% - \ifcsname \@reserveda\endcsname + \edef\reserved@a{\f@encoding /\f@family /\f@series/#1}% + \ifcsname \reserved@a\endcsname \edef\f@shape{#1}% \else \ifcsname \f@encoding /\f@family /\f@series/#2\endcsname diff --git a/macros/latex/base/ltfssini.dtx b/macros/latex/base/ltfssini.dtx index 9687e08b0e..320c5a181e 100644 --- a/macros/latex/base/ltfssini.dtx +++ b/macros/latex/base/ltfssini.dtx @@ -36,7 +36,7 @@ % % \ProvidesFile{ltfssini.dtx} - [2020/01/11 v3.1f LaTeX Kernel (NFSS Initialisation)] + [2020/02/05 v3.1g LaTeX Kernel (NFSS Initialisation)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -279,16 +279,21 @@ % ``tt'' family. % \begin{macrocode} \newcommand\DeclareFontSeriesDefault[3][]{% - \def\@reserveda{#1}% + \def\reserved@a{#1}% % \end{macrocode} % No optional argument: set up general default. +% \changes{v3.1g}{2020/02/05}{Corrected misspelled csname (gh/264)} % \begin{macrocode} - \ifx\@resereda\@empty + \ifx\reserved@a\@empty \ifcsname #2series\endcsname % supported are % \[md/bf]default \expandafter\def \csname #2default\endcsname{#3}% \else +% \end{macrocode} +% +% \changes{v3.1g}{2020/02/05}{Clarrified error text} +% \begin{macrocode} \@latex@error{Wrong syntax for \string\DeclareFontSeriesDefault}% {Mandatory first argument must be 'md' or 'bf'.} \fi @@ -310,8 +315,8 @@ \csname #2series@#1@kernel\endcsname\@undefined \else \@latex@error{Wrong syntax for \string\DeclareFontSeriesDefault}% - {Optional first argument must be 'rm', 'sf', or 'tt'. \MessageBreak - Second argument must be 'md' or 'bf'.} + {Optional argument must be 'rm', 'sf', or 'tt'. \MessageBreak + Mandatory first argument must be 'md' or 'bf'.} \fi \fi } @@ -678,8 +683,8 @@ % contains all meta families and we need to ignore the case where % current one from the list and target one are identical. % \begin{macrocode} - \def\@reserveda{#1}% - \ifx\target@meta@family@value\@reserveda % rm -> rm do nothing + \def\reserved@a{#1}% + \ifx\target@meta@family@value\reserved@a % rm -> rm do nothing \else % \end{macrocode} % We only ``do'' something if the current font family matches the diff --git a/macros/latex/base/ltluatex.pdf b/macros/latex/base/ltluatex.pdf Binary files differindex 2e3231a006..a5ad84f549 100644 --- a/macros/latex/base/ltluatex.pdf +++ b/macros/latex/base/ltluatex.pdf diff --git a/macros/latex/base/ltnews.pdf b/macros/latex/base/ltnews.pdf Binary files differindex 3d841df266..1daff2a0ee 100644 --- a/macros/latex/base/ltnews.pdf +++ b/macros/latex/base/ltnews.pdf diff --git a/macros/latex/base/ltnews01.pdf b/macros/latex/base/ltnews01.pdf Binary files differindex 07004e6028..63a0f882d9 100644 --- a/macros/latex/base/ltnews01.pdf +++ b/macros/latex/base/ltnews01.pdf diff --git a/macros/latex/base/ltnews02.pdf b/macros/latex/base/ltnews02.pdf Binary files differindex 61645a2548..808754de1c 100644 --- a/macros/latex/base/ltnews02.pdf +++ b/macros/latex/base/ltnews02.pdf diff --git a/macros/latex/base/ltnews03.pdf b/macros/latex/base/ltnews03.pdf Binary files differindex f8b9aadd41..3004593a22 100644 --- a/macros/latex/base/ltnews03.pdf +++ b/macros/latex/base/ltnews03.pdf diff --git a/macros/latex/base/ltnews04.pdf b/macros/latex/base/ltnews04.pdf Binary files differindex 53f6d6a0a7..ad785f9fa0 100644 --- a/macros/latex/base/ltnews04.pdf +++ b/macros/latex/base/ltnews04.pdf diff --git a/macros/latex/base/ltnews05.pdf b/macros/latex/base/ltnews05.pdf Binary files differindex 9269f1f235..55740ab2f0 100644 --- a/macros/latex/base/ltnews05.pdf +++ b/macros/latex/base/ltnews05.pdf diff --git a/macros/latex/base/ltnews06.pdf b/macros/latex/base/ltnews06.pdf Binary files differindex 3dd686d975..2d93f8993d 100644 --- a/macros/latex/base/ltnews06.pdf +++ b/macros/latex/base/ltnews06.pdf diff --git a/macros/latex/base/ltnews07.pdf b/macros/latex/base/ltnews07.pdf Binary files differindex 0eec4615e1..707f723903 100644 --- a/macros/latex/base/ltnews07.pdf +++ b/macros/latex/base/ltnews07.pdf diff --git a/macros/latex/base/ltnews08.pdf b/macros/latex/base/ltnews08.pdf Binary files differindex 328aa78579..c2421812d9 100644 --- a/macros/latex/base/ltnews08.pdf +++ b/macros/latex/base/ltnews08.pdf diff --git a/macros/latex/base/ltnews09.pdf b/macros/latex/base/ltnews09.pdf Binary files differindex f5a4450259..2af9844205 100644 --- a/macros/latex/base/ltnews09.pdf +++ b/macros/latex/base/ltnews09.pdf diff --git a/macros/latex/base/ltnews10.pdf b/macros/latex/base/ltnews10.pdf Binary files differindex 8358667171..f998cee45c 100644 --- a/macros/latex/base/ltnews10.pdf +++ b/macros/latex/base/ltnews10.pdf diff --git a/macros/latex/base/ltnews11.pdf b/macros/latex/base/ltnews11.pdf Binary files differindex 039554c1a6..4d02841744 100644 --- a/macros/latex/base/ltnews11.pdf +++ b/macros/latex/base/ltnews11.pdf diff --git a/macros/latex/base/ltnews12.pdf b/macros/latex/base/ltnews12.pdf Binary files differindex 51b1cc7b84..72f75450d2 100644 --- a/macros/latex/base/ltnews12.pdf +++ b/macros/latex/base/ltnews12.pdf diff --git a/macros/latex/base/ltnews13.pdf b/macros/latex/base/ltnews13.pdf Binary files differindex 2db447027e..810ffe005f 100644 --- a/macros/latex/base/ltnews13.pdf +++ b/macros/latex/base/ltnews13.pdf diff --git a/macros/latex/base/ltnews14.pdf b/macros/latex/base/ltnews14.pdf Binary files differindex 24239c2bb7..6b7f75e521 100644 --- a/macros/latex/base/ltnews14.pdf +++ b/macros/latex/base/ltnews14.pdf diff --git a/macros/latex/base/ltnews15.pdf b/macros/latex/base/ltnews15.pdf Binary files differindex d250b2b2ae..abfababed0 100644 --- a/macros/latex/base/ltnews15.pdf +++ b/macros/latex/base/ltnews15.pdf diff --git a/macros/latex/base/ltnews16.pdf b/macros/latex/base/ltnews16.pdf Binary files differindex 7e9d1eab75..aaf8cf2c89 100644 --- a/macros/latex/base/ltnews16.pdf +++ b/macros/latex/base/ltnews16.pdf diff --git a/macros/latex/base/ltnews17.pdf b/macros/latex/base/ltnews17.pdf Binary files differindex 3327978b66..7b81d4be79 100644 --- a/macros/latex/base/ltnews17.pdf +++ b/macros/latex/base/ltnews17.pdf diff --git a/macros/latex/base/ltnews18.pdf b/macros/latex/base/ltnews18.pdf Binary files differindex 66a65018e9..07e43b2e76 100644 --- a/macros/latex/base/ltnews18.pdf +++ b/macros/latex/base/ltnews18.pdf diff --git a/macros/latex/base/ltnews19.pdf b/macros/latex/base/ltnews19.pdf Binary files differindex 490ac3a5cd..72d78cad85 100644 --- a/macros/latex/base/ltnews19.pdf +++ b/macros/latex/base/ltnews19.pdf diff --git a/macros/latex/base/ltnews20.pdf b/macros/latex/base/ltnews20.pdf Binary files differindex 5200799f50..01f9f8e985 100644 --- a/macros/latex/base/ltnews20.pdf +++ b/macros/latex/base/ltnews20.pdf diff --git a/macros/latex/base/ltnews21.pdf b/macros/latex/base/ltnews21.pdf Binary files differindex 56f053a089..caa5a4e2f1 100644 --- a/macros/latex/base/ltnews21.pdf +++ b/macros/latex/base/ltnews21.pdf diff --git a/macros/latex/base/ltnews22.pdf b/macros/latex/base/ltnews22.pdf Binary files differindex e9a62a3067..1452ed0768 100644 --- a/macros/latex/base/ltnews22.pdf +++ b/macros/latex/base/ltnews22.pdf diff --git a/macros/latex/base/ltnews23.pdf b/macros/latex/base/ltnews23.pdf Binary files differindex 0da1ae2ca2..12752390fa 100644 --- a/macros/latex/base/ltnews23.pdf +++ b/macros/latex/base/ltnews23.pdf diff --git a/macros/latex/base/ltnews24.pdf b/macros/latex/base/ltnews24.pdf Binary files differindex eb5e6b5a91..a2aca079a1 100644 --- a/macros/latex/base/ltnews24.pdf +++ b/macros/latex/base/ltnews24.pdf diff --git a/macros/latex/base/ltnews25.pdf b/macros/latex/base/ltnews25.pdf Binary files differindex 0d219971c5..011921f604 100644 --- a/macros/latex/base/ltnews25.pdf +++ b/macros/latex/base/ltnews25.pdf diff --git a/macros/latex/base/ltnews26.pdf b/macros/latex/base/ltnews26.pdf Binary files differindex 0d4b3347c4..ed34088d8f 100644 --- a/macros/latex/base/ltnews26.pdf +++ b/macros/latex/base/ltnews26.pdf diff --git a/macros/latex/base/ltnews27.pdf b/macros/latex/base/ltnews27.pdf Binary files differindex 3336029eff..7e8f1146db 100644 --- a/macros/latex/base/ltnews27.pdf +++ b/macros/latex/base/ltnews27.pdf diff --git a/macros/latex/base/ltnews28.pdf b/macros/latex/base/ltnews28.pdf Binary files differindex 45bb0f8435..4e8a4312bb 100644 --- a/macros/latex/base/ltnews28.pdf +++ b/macros/latex/base/ltnews28.pdf diff --git a/macros/latex/base/ltnews29.pdf b/macros/latex/base/ltnews29.pdf Binary files differindex 5982babe53..ac29976223 100644 --- a/macros/latex/base/ltnews29.pdf +++ b/macros/latex/base/ltnews29.pdf diff --git a/macros/latex/base/ltnews30.pdf b/macros/latex/base/ltnews30.pdf Binary files differindex fe49f085c8..9c3554216a 100644 --- a/macros/latex/base/ltnews30.pdf +++ b/macros/latex/base/ltnews30.pdf diff --git a/macros/latex/base/ltnews31.pdf b/macros/latex/base/ltnews31.pdf Binary files differindex e69083c7f9..f8924feca5 100644 --- a/macros/latex/base/ltnews31.pdf +++ b/macros/latex/base/ltnews31.pdf diff --git a/macros/latex/base/lttextcomp.dtx b/macros/latex/base/lttextcomp.dtx index eca72e4d28..c918a836f9 100644 --- a/macros/latex/base/lttextcomp.dtx +++ b/macros/latex/base/lttextcomp.dtx @@ -1397,7 +1397,6 @@ % % \begin{macrocode} %<*TS1sty> -\NeedsTeXFormat{LaTeX2e}[1995/06/01] \providecommand\DeclareRelease[3]{} \providecommand\DeclareCurrentRelease[2]{} @@ -1405,7 +1404,13 @@ \DeclareCurrentRelease{}{2020-02-02} \ProvidesPackage{textcomp} - [2020/02/02 v2.0m Standard LaTeX package] + [2020/02/02 v2.0n Standard LaTeX package] +% \end{macrocode} +% +% A precaution in case this is used without rebuilding the format. +% \changes{v2.0n}{2020/02/05}{Ensure we are on a new format (gh/260)} +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e}[2020/02/02] % \end{macrocode} % % This is implemented by defining the default subset: @@ -1423,12 +1428,12 @@ % results to ensure that there aren't ``missing glyphs''. % % The next set of options define the warning level (default in the -% kernel is info only). If you load the package then the default -% changes to produce an error message if any substitution happens. +% kernel is info only). Using the package options you can change this behavior. +% \changes{v2.0n}{2020/02/05}{Changed the package default to info (gh/262)} % \begin{macrocode} -\def\tc@errorwarn{\PackageError{textcomp}} \DeclareOption{error}{\gdef\tc@errorwarn{\PackageError{textcomp}}} \DeclareOption{warn}{\gdef\tc@errorwarn#1#2{\PackageWarning{textcomp}{#1}}} +\DeclareOption{info}{\gdef\tc@errorwarn#1#2{\PackageInfo{textcomp}{#1}}} \DeclareOption{quiet}{\gdef\tc@errorwarn#1#2{}} % \end{macrocode} % @@ -1453,7 +1458,7 @@ % \end{macrocode} % % \begin{macrocode} -\ExecuteOptions{} +\ExecuteOptions{info} \ProcessOptions\relax % \end{macrocode} % diff --git a/macros/latex/base/ltvers.dtx b/macros/latex/base/ltvers.dtx index b23271f83b..9223ca1abc 100644 --- a/macros/latex/base/ltvers.dtx +++ b/macros/latex/base/ltvers.dtx @@ -115,7 +115,7 @@ {2020-02-02} %</2ekernel|latexrelease> %<*2ekernel> -\def\patch@level{0} +\def\patch@level{1} % \end{macrocode} % % \begin{macro}{\development@branch@name} diff --git a/macros/latex/base/ltx3info.pdf b/macros/latex/base/ltx3info.pdf Binary files differindex b972e62c0e..4c2fcaebdc 100644 --- a/macros/latex/base/ltx3info.pdf +++ b/macros/latex/base/ltx3info.pdf diff --git a/macros/latex/base/ltxdoc.pdf b/macros/latex/base/ltxdoc.pdf Binary files differindex b8102289c9..6bf2753a13 100644 --- a/macros/latex/base/ltxdoc.pdf +++ b/macros/latex/base/ltxdoc.pdf diff --git a/macros/latex/base/makeindx.pdf b/macros/latex/base/makeindx.pdf Binary files differindex 724966fa3f..03772e2914 100644 --- a/macros/latex/base/makeindx.pdf +++ b/macros/latex/base/makeindx.pdf diff --git a/macros/latex/base/manual.pdf b/macros/latex/base/manual.pdf Binary files differindex 300cbb509b..4e22440384 100644 --- a/macros/latex/base/manual.pdf +++ b/macros/latex/base/manual.pdf diff --git a/macros/latex/base/modguide.pdf b/macros/latex/base/modguide.pdf Binary files differindex 5a61078bd3..36e6efcebb 100644 --- a/macros/latex/base/modguide.pdf +++ b/macros/latex/base/modguide.pdf diff --git a/macros/latex/base/nfssfont.pdf b/macros/latex/base/nfssfont.pdf Binary files differindex ceac939603..35b5ecf535 100644 --- a/macros/latex/base/nfssfont.pdf +++ b/macros/latex/base/nfssfont.pdf diff --git a/macros/latex/base/proc.pdf b/macros/latex/base/proc.pdf Binary files differindex 199682309c..1ad52a8d5d 100644 --- a/macros/latex/base/proc.pdf +++ b/macros/latex/base/proc.pdf diff --git a/macros/latex/base/slides.pdf b/macros/latex/base/slides.pdf Binary files differindex 69138ef85f..180d20dcb1 100644 --- a/macros/latex/base/slides.pdf +++ b/macros/latex/base/slides.pdf diff --git a/macros/latex/base/slifonts.pdf b/macros/latex/base/slifonts.pdf Binary files differindex adc386391d..f1bd0bde98 100644 --- a/macros/latex/base/slifonts.pdf +++ b/macros/latex/base/slifonts.pdf diff --git a/macros/latex/base/source2e.pdf b/macros/latex/base/source2e.pdf Binary files differindex 8efc470264..56146ae46f 100644 --- a/macros/latex/base/source2e.pdf +++ b/macros/latex/base/source2e.pdf diff --git a/macros/latex/base/syntonly.pdf b/macros/latex/base/syntonly.pdf Binary files differindex 98986d5010..611d5bfa5f 100644 --- a/macros/latex/base/syntonly.pdf +++ b/macros/latex/base/syntonly.pdf diff --git a/macros/latex/base/tlc2.pdf b/macros/latex/base/tlc2.pdf Binary files differindex adddbc5569..44e6369a72 100644 --- a/macros/latex/base/tlc2.pdf +++ b/macros/latex/base/tlc2.pdf diff --git a/macros/latex/base/tulm.pdf b/macros/latex/base/tulm.pdf Binary files differindex 75988b9206..40d95290d7 100644 --- a/macros/latex/base/tulm.pdf +++ b/macros/latex/base/tulm.pdf diff --git a/macros/latex/base/usrguide.pdf b/macros/latex/base/usrguide.pdf Binary files differindex 276b9a531b..c0e402fa57 100644 --- a/macros/latex/base/usrguide.pdf +++ b/macros/latex/base/usrguide.pdf diff --git a/macros/latex/base/utf8ienc.pdf b/macros/latex/base/utf8ienc.pdf Binary files differindex 0fbfa6fa84..6dd5af3bc4 100644 --- a/macros/latex/base/utf8ienc.pdf +++ b/macros/latex/base/utf8ienc.pdf diff --git a/macros/latex/base/webcomp.pdf b/macros/latex/base/webcomp.pdf Binary files differindex 18ae7e66c7..dae153036c 100644 --- a/macros/latex/base/webcomp.pdf +++ b/macros/latex/base/webcomp.pdf diff --git a/macros/latex/contrib/letterswitharrows/README b/macros/latex/contrib/letterswitharrows/README.txt index 51234229b3..41ebce705d 100644 --- a/macros/latex/contrib/letterswitharrows/README +++ b/macros/latex/contrib/letterswitharrows/README.txt @@ -1,5 +1,5 @@ The letterswitharrows package -Copyright 2019 J. M. Teegen +Copyright 2019-2020 J. M. Teegen The letterswitharrows package does provides LaTeX math-mode commands for setting left and right arrows over mathematical symbols, so that the arrows dynamically scale with the symbols. While it is possible to set arrows over longer strings of symbols, the focus lies on single characters. diff --git a/macros/latex/contrib/letterswitharrows/letterswitharrows.dtx b/macros/latex/contrib/letterswitharrows/letterswitharrows.dtx index 43753176eb..8d54dd6294 100644 --- a/macros/latex/contrib/letterswitharrows/letterswitharrows.dtx +++ b/macros/latex/contrib/letterswitharrows/letterswitharrows.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % %% File: letterswitharrows.dtx -%% Copyright 2019 J. Maximilian Teegen +%% Copyright 2019-2020 J. Maximilian Teegen %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -54,15 +54,16 @@ % \title{The \pkg{letterswitharrows} package} % \author{Max Teegen\\ \href{mailto:tex@jmteegen.eu}{tex@jmteegen.eu}} -% \date{2019/11/21} +% \date{Released 2020-02-04} % \maketitle % \begin{documentation} -% This package does provides math-mode commands for setting left and right arrows over mathematical symbols, so that the arrows dynamically scale with the symbols. +% This package provides math-mode commands for setting left and right arrows over mathematical symbols, so that the arrows dynamically scale with the symbols. % Here is a sample: {\large\[ % \vs \le \tv \in \vec{U_{\mathrlap\vr}} \qquad \left\vert \vec{AB} \right\vert = \left\vert \cev{AB} \right\vert \qquad A \mathrel{\arrowoverset*[-2mu]{\between}} B -% \]} % Somehow embellishments don't work in the documentation!? +% \]} +% \iffalse Somehow embellishments don't work in the documentation!? \fi % While it is possible to set arrows over longer strings of symbols, the focus lies on single characters. % % Only \textsc{pdf} output is supported. Output to \textsc{ps} is implemented, but rarely tested. @@ -132,7 +133,7 @@ % \subsection{Other package options} % \DescribeOption{pgf} -% If you specify the \verb|pgf| option, every arrow is drawn as a \verb|pgfpicture|. This requires the \pkg{pgf} package, and slow in its current implementation. +% If you specify the \verb|pgf| option, every arrow is drawn as a \verb|pgfpicture|. This requires the \pkg{pgf} package. % \begin{texnote} % You can set up custom arrow drawing code by redefining \cs{__jmt_lwa_arrow_draw:nnn}. % The command is expected to draw an arrow with its head at the current position. Its length should be \verb|#1| and it should be drawn at a font size of \verb|#2|pt. @@ -141,7 +142,8 @@ % \DescribeOption{tweaks} % Specifying the \verb|tweaks| option applies per-letter scaling adjustments to some of the single-letter shorthands. This is enabled by default. -% These are specific to Latin Modern Math and subject to be changed on a whim. If you wish a more stable behaviour specify \verb|tweaks=false| +% These are specific to Latin Modern Math and subject to be changed on a whim. If you wish a more stable behaviour specify \verb|tweaks=false|. +% This documentation uses \verb|tweaks=false|. % \end{documentation} % \begin{implementation} @@ -151,7 +153,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\ProvidesExplPackage {letterswitharrows} {2019-11-21} {} {Draw arrows over math letters.} +\ProvidesExplPackage {letterswitharrows} {2020-02-04} {} {Draw arrows over math letters.} \RequirePackage{xparse,l3keys2e,mathtools} % TODO: I just use mathtools for mathrlap; replace. @@ -285,20 +287,27 @@ % \end{macro} % \begin{macro}{\@@_arrow_overset:w,\arrowoverset} +% \changes{2019/02/04}{2019/02/04}{Subscript spacing adjustments} % \begin{macrocode} \cs_new_protected:Npn \@@_arrow_overset:w { \c_group_begin_token \__@@_arrow_overset_aux:w } +\cs_new:Nn \__jmt_lwa_bool_convert:n { + \IfBooleanTF {#1} {\c_true_bool} {\c_false_bool} +} + % This exp_args is necessary because _ generates the wrong token in expl3 syntax \exp_args:NNx \NewDocumentCommand \__@@_arrow_overset_aux:w {s O{0mu} O{1} O{0ex} m t' e{\char_generate:nn {95}{8}} t'} { \__@@_arrow_overset:nnnnn { #5 - \c_math_superscript_token { - \scriptscriptstyle\IfBooleanT{#6}{\prime}\IfBooleanT{#8}{\prime} + \exp_args:Nf\bool_if:nT{\__jmt_lwa_bool_convert:n{#6} || \__jmt_lwa_bool_convert:n{#8}} { + \c_math_superscript_token { + \scriptscriptstyle\IfBooleanT{#6}{\prime}\IfBooleanT{#8}{\prime} + } } % TODO: Better positioning etc? \exp_args:Nf\IfValueT{\use:n#7} { \c_math_subscript_token { @@ -311,7 +320,7 @@ \exp_args:Nf\IfValueTF{\use:n#7}{ % TODO: Better way to do this? This is all kinds of wrong. - \hphantom{\!\c_math_subscript_token{#7}} + \hphantom{\c_math_subscript_token{#7}} } {} \c_group_end_token } @@ -431,21 +440,67 @@ % \end{macrocode} % \end{macro} % Some personal-preference tweaks. +% \changes{2019/02/04}{2019/02/04}{Tweaks for capital letters.} % \begin{macrocode} \bool_if:NTF \g_@@_tweak_shortcuts_bool { - \prop_if_in:NnTF \g_@@_selected_presets_prop {ABC} { - \cs_set:cpn {vS} { - \@@_arrow_overset:w[2mu][8/10]{S} - } - } {} - \prop_if_in:NnTF \g_@@_selected_presets_prop {abc} { - \cs_new:cpn {vell} { - \@@_arrow_overset:w{\ell} - } - \cs_new:cpn {ellv} { - \@@_arrow_overset:w{\ell} - } - } {} + \prop_if_in:NnTF \g_@@_selected_presets_prop {ABC} { + \int_step_inline:nnn {1} {26} { + \cs_set:cpx {v\int_to_Alph:n{#1}} { + \exp_not:N\@@_arrow_overset:w[2.5mu][8/10]{\int_to_Alph:n{#1}} + } + \cs_set:cpx {\int_to_Alph:n{#1}v} { + \exp_not:N\@@_arrow_overset:w*[2.5mu][7/10]{\int_to_Alph:n{#1}} + } + } + \cs_set:cpn {vS} { + \@@_arrow_overset:w[3mu][7/10]{S} + } + \cs_set:cpn {vT} { + \__jmt_lwa_arrow_overset:w[2mu][8/10]{T} + } + \cs_set:cpn {Tv} { + \__jmt_lwa_arrow_overset:w*[1mu][8/10]{T} + } + \cs_set:cpn {vU} { + \__jmt_lwa_arrow_overset:w[2mu][7/10]{U} + } + \cs_set:cpn {Uv} { + \__jmt_lwa_arrow_overset:w*[2mu][7/10]{U} + } + \cs_set:cpn {vV} { + \__jmt_lwa_arrow_overset:w[2.5mu][7/10]{V} + } + \cs_set:cpn {Vv} { + \__jmt_lwa_arrow_overset:w*[2mu][7/10]{V} + } + \cs_set:cpn {vX} { + \@@_arrow_overset:w[3mu][7/10]{X} + } + \cs_set:cpn {vY} { + \@@_arrow_overset:w[2mu][8/10]{Y} + } + \cs_set:cpn {Yv} { + \__jmt_lwa_arrow_overset:w*[2mu][7/10]{Y} + } + } {} + \prop_if_in:NnTF \g_@@_selected_presets_prop {cAcBcC} { + \int_step_inline:nnn {1} {26} { + \cs_set:cpx {vc\int_to_Alph:n{#1}} { + \exp_not:N\@@_arrow_overset:w[1mu][9/10]{\exp_not:N\mathcal{\int_to_Alph:n{#1}}} + } + \cs_set:cpx {c\int_to_Alph:n{#1}v} { + \exp_not:N\@@_arrow_overset:w*[1.5mu][8/10]{\exp_not:N\mathcal{\int_to_Alph:n{#1}}} + } + } + } {} + \prop_if_in:NnTF \g_@@_selected_presets_prop {abc} { + \cs_new:cpn {vell} { + \@@_arrow_overset:w{\ell} + } + \cs_new:cpn {ellv} { + \@@_arrow_overset:w{\ell} + } + } {} } {} % \end{macrocode} % \end{implementation} diff --git a/macros/latex/contrib/letterswitharrows/letterswitharrows.pdf b/macros/latex/contrib/letterswitharrows/letterswitharrows.pdf Binary files differindex b165b390b9..89edac5862 100644 --- a/macros/latex/contrib/letterswitharrows/letterswitharrows.pdf +++ b/macros/latex/contrib/letterswitharrows/letterswitharrows.pdf diff --git a/macros/latex/contrib/nicematrix/nicematrix-french.pdf b/macros/latex/contrib/nicematrix/nicematrix-french.pdf Binary files differindex 45b40e96ba..31d18ea42e 100644 --- a/macros/latex/contrib/nicematrix/nicematrix-french.pdf +++ b/macros/latex/contrib/nicematrix/nicematrix-french.pdf diff --git a/macros/latex/contrib/nicematrix/nicematrix-french.tex b/macros/latex/contrib/nicematrix/nicematrix-french.tex index c4324295c3..05af9a1b73 100644 --- a/macros/latex/contrib/nicematrix/nicematrix-french.tex +++ b/macros/latex/contrib/nicematrix/nicematrix-french.tex @@ -514,7 +514,7 @@ L'extension \pkg{nicematrix} fournit une option appelée |transparent| qui perme manière transparente dans les environnements de l'\pkg{amsmath} : |{matrix}|, |{pmatrix}|, etc. En fait, cette option est un alias pour la conjonction de deux options : |renew-dots| et |renew-matrix|.\footnote{Comme toutes les autres options, les options |renew-dots|, |renew-matrix| et |transparent| peuvent être fixées avec la commande - |\NiceMatrixOptions|, mais elles peuvent aussi être passées en options du |\usepackage| (ce sont les trois + |\NiceMatrixOptions|, mais elles peuvent aussi être passées en option du |\usepackage| (ce sont les trois seules).} \smallskip @@ -1215,7 +1215,9 @@ d'un rectangle de cases fusionnées. La commande |\Block| doit être utilisée dans la case supérieure gauche du bloc avec deux arguments. Le premier argument est la taille de ce bloc avec la syntaxe $i$-$j$ où $i$ est le nombre de rangées et $j$ le nombre de -colonnes du bloc. Le deuxième argument, est, sans surprise, le contenu du bloc (en mode mathématique). +colonnes du bloc. Le deuxième argument, est, sans surprise, le contenu du bloc (en mode mathématique). Un nœud Tikz +correspondant à l'ensemble des cellules fusionnées est créé sous le nom «\textsl{nom}-$i$-$j$» où \textsl{nom} est +le nom donné au tableau. \medskip \begin{BVerbatim}[baseline=c,boxwidth=10.6cm] @@ -1379,7 +1381,7 @@ $C = \pAutoNiceMatrix{3-3}{C_{\arabic{iRow},\arabic{jCol}}}$ Dans les environnements de \pkg{nicematrix}, on peut bien entendu ajouter des filets horizontaux entre les lignes avec la commande~|\hline|. Par souci de commodité, l'extension \pkg{nicematrix} fournit l'option |hlines| qui impose -directement que tous les filets horizontaux soient tracés (à l'exception, très naturelle, du filet avanet +directement que tous les filets horizontaux soient tracés (à l'exception, très naturelle, du filet avant l'éventuelle «première rangée» et après l'éventuelle «dernière rangée»). \medskip @@ -1668,7 +1670,7 @@ l'environnement |{array}| n'était probablement pas une bonne idée\footnote{Dan remove it [in |{matrix}|] (perhaps we should instead remove it from array in general, but that's a harder task).} Il est possible de supprimer les espaces pour un environnement |{array}| donné par une construction du type |\begin{array}{@{}ccccc@{}}...\end{array}|.}. L'environnement |{matrix}| et ses variantes (|{pmatrix}|, -|{vmatrix}|, etc.) de \pkg{amsmath} prefèrent supprimer ces espaces avec des instructions explicites +|{vmatrix}|, etc.) de \pkg{amsmath} préfèrent supprimer ces espaces avec des instructions explicites |\hskip -\arraycolsep|. L'extension \pkg{nicematrix} fait de même dans \emph{tous} ses environnements y compris l'environnement |{NiceArray}|. Néanmoins, si l'utilisateur souhaite que l'environnement |{NiceArray}| se comporte par défaut comme l'environnement |{array}| de \pkg{array} (par exemple pour faciliter l'adaptation d'un document @@ -2157,6 +2159,35 @@ les \emph{blend modes}. Néanmoins, le code suivant, dans le préambule du docum \end{scope} \vspace{1cm} +On rappelle que dans le cas d'un ensemble de cellules fusionnées (avec la commande |\Block|), un nœud Tikz est créé +pour l'ensemble des cellules avec pour nom $i$|-|$j$ où $i$ et $j$ sont les numéros de ligne et de colonne de +la cellule en haut à gauche (où a été utilisée la commande |\Block|). + +\medskip +\begin{BVerbatim}[baseline=c,boxwidth=11.6cm] +$\begin{pNiceMatrix}% + [margin, + code-after = { \tikz \node [~emphase#highlight = (1-1)@] {} ; } ] +\Block{3-3}<\Large>{A} & & & 0 \\ +& \hspace*{1cm} & & \Vdots \\ +& & & 0 \\ +0 & \Cdots& 0 & 0 +\end{pNiceMatrix}$ +\end{BVerbatim} +$\begin{pNiceMatrix}% + [margin, + code-after = { \tikz \node [highlight = (1-1)] {} ; } ] +\Block{3-3}<\Large>{A} & & & 0 \\ +& \hspace*{1cm} & & \Vdots \\ +& & & 0 \\ +0 & \Cdots& 0 & 0 +\end{pNiceMatrix}$ + + + + + +\vspace{1cm} On considère maintenant la matrice suivante que l'on a appelée |exemple|. \medskip @@ -2331,7 +2362,7 @@ b_{11} & \Cdots & b_{1j} & \Cdots & b_{1n} \\ La matrice $A$ a une «première colonne» (pour $L_i$) d'où l'option |first-col|. \begin{Verbatim} \begin{bNiceArray}{CC>{\strut}CCC}[name=A,first-col] - & a_{11} & \Cdots & & & a_{nn} \\ + & a_{11} & \Cdots & & & a_{1n} \\ & \Vdots & & & & \Vdots \\ L_i & a_{i1} & \Cdots & a_{ik} & \Cdots & a_{in} \\ & \Vdots & & & & \Vdots \\ @@ -2376,7 +2407,7 @@ b_{11} & \Cdots & b_{1j} & \Cdots & b_{1n} \\ b_{n1} & \Cdots & b_{nj} & \Cdots & b_{nn} \end{bNiceArray} \\ \\ \begin{bNiceArray}{CC>{\strut}CCC}[name=A,first-col] - & a_{11} & \Cdots & & & a_{nn} \\ + & a_{11} & \Cdots & & & a_{1n} \\ & \Vdots & & & & \Vdots \\ L_i & a_{i1} & \Cdots & a_{ik} & \Cdots & a_{in} \\ & \Vdots & & & & \Vdots \\ diff --git a/macros/latex/contrib/nicematrix/nicematrix.dtx b/macros/latex/contrib/nicematrix/nicematrix.dtx index bbbc805d70..2752f0dd6f 100644 --- a/macros/latex/contrib/nicematrix/nicematrix.dtx +++ b/macros/latex/contrib/nicematrix/nicematrix.dtx @@ -15,8 +15,8 @@ % % \fi % \iffalse -\def\myfileversion{3.10} -\def\myfiledate{2020/01/22} +\def\myfileversion{3.11} +\def\myfiledate{2020/02/07} % % %<*batchfile> @@ -1267,8 +1267,8 @@ c & c & b & a & e % two arguments. The first argument is the size of the block with the syntax % $i$\verb|-|$j$ where $i$ is the number of rows of the block and $j$ its number % of columns. The second argument is the content of the block (composed in math -% mode). -% +% mode). A Tikz node corresponding to the merged cells is created with the name +% ``\textsl{name}-$i$-$j$'' where \textsl{name} is the name given to the array. % % % \medskip @@ -2248,6 +2248,31 @@ c & c & b & a & e % % |\ExplSyntaxOff| % \end{scope} +% +% \vspace{1cm} +% We recall that, for a rectangle of merged cells (with the command |\Block|), a +% Tikz node is created for the set of merged cells with the name $i$|-|$j$ where +% $i$ and $j$ are the number of the row and the number of the column of the +% upper left cell (where the command |\Block| has been issued). +% +% \medskip +% \begin{BVerbatim}[baseline=c,boxwidth=11.6cm] +% $\begin{pNiceMatrix}% +% [margin, +% code-after = { \tikz \node [~emphase#highlight = (1-1)@] {} ; } ] +% \Block{3-3}<\Large>{A} & & & 0 \\ +% & \hspace*{1cm} & & \Vdots \\ +% & & & 0 \\ +% 0 & \Cdots& 0 & 0 +% \end{pNiceMatrix}$ +% \end{BVerbatim} +% $\begin{pNiceMatrix}[margin, +% code-after = { \tikz \node [highlight = (1-1)] {} ; } ] +% \Block{3-3}<\Large>{A} & & & 0 \\ +% & \hspace*{1cm} & & \Vdots \\ +% & & & 0 \\ +% 0 & \Cdots& 0 & 0 +% \end{pNiceMatrix}$ % % \vspace{1cm} % Considerer now the following matrix which we have named |example|. @@ -2432,7 +2457,7 @@ c & c & b & a & e % key |first-col|. % \begin{Verbatim} % \begin{bNiceArray}{CC>{\strut}CCC}[name=A,first-col] -% & a_{11} & \Cdots & & & a_{nn} \\ +% & a_{11} & \Cdots & & & a_{1n} \\ % & \Vdots & & & & \Vdots \\ % L_i & a_{i1} & \Cdots & a_{ik} & \Cdots & a_{in} \\ % & \Vdots & & & & \Vdots \\ @@ -2477,7 +2502,7 @@ c & c & b & a & e % b_{n1} & \Cdots & b_{nj} & \Cdots & b_{nn} % \end{bNiceArray} \\ \\ % \begin{bNiceArray}{CC>{\strut}CCC}[name=A,first-col] -% & a_{11} & \Cdots & & & a_{nn} \\ +% & a_{11} & \Cdots & & & a_{1n} \\ % & \Vdots & & & & \Vdots \\ % L_i & a_{i1} & \Cdots & a_{ik} & \Cdots & a_{in} \\ % & \Vdots & & & & \Vdots \\ @@ -2548,7 +2573,7 @@ c & c & b & a & e {nicematrix} {\myfiledate} {\myfileversion} - {Several features to improve the typesetting of mathematical matrices with TikZ} + {Mathematical matrices with TikZ} % \end{macrocode} % % \bigskip @@ -3429,8 +3454,8 @@ c & c & b & a & e % |\l_@@_code_for_first_row_tl| and \emph{al} don't apply in the corners of the % matrix. % \begin{macrocode} - \int_compare:nNnTF \c@iRow = \c_zero_int - { \int_compare:nNnT \c@jCol > \c_zero_int \l_@@_code_for_first_row_tl } + \int_compare:nNnTF \c@iRow = 0 + { \int_compare:nNnT \c@jCol > 0 \l_@@_code_for_first_row_tl } { \int_compare:nNnT \c@iRow = \l_@@_last_row_int \l_@@_code_for_last_row_tl @@ -3447,8 +3472,8 @@ c & c & b & a & e { \int_gincr:N \c@iRow \dim_gset_eq:NN \g_@@_dp_ante_last_row_dim \g_@@_dp_last_row_dim - \dim_gzero:N \g_@@_dp_last_row_dim - \dim_gzero:N \g_@@_ht_last_row_dim + \dim_gset:Nn \g_@@_dp_last_row_dim { \box_dp:N \@arstrutbox } + \dim_gset:Nn \g_@@_ht_last_row_dim { \box_ht:N \@arstrutbox } } % \end{macrocode} % @@ -3460,7 +3485,7 @@ c & c & b & a & e % \begin{macrocode} \cs_new_protected:Npn \@@_actualization_for_first_and_last_row: { - \int_compare:nNnT \c@iRow = \c_zero_int + \int_compare:nNnT \c@iRow = 0 { \dim_gset:Nn \g_@@_dp_row_zero_dim { \dim_max:nn \g_@@_dp_row_zero_dim { \box_dp:N \l_tmpa_box } } @@ -3549,11 +3574,11 @@ c & c & b & a & e { > { \hbox_set:Nw \l_tmpa_box - \_@@_Cell: + \@@_Cell: } c < { - \_@@_end_Cell: + \@@_end_Cell: \hbox_set_end: #2 \tikz [ remember~picture ] @@ -3774,7 +3799,6 @@ c & c & b & a & e \dim_gzero_new:N \g_@@_ht_row_one_dim \dim_gset:Nn \g_@@_ht_row_one_dim { \box_ht:N \@arstrutbox } \dim_gzero_new:N \g_@@_dp_ante_last_row_dim - \dim_gset:Nn \g_@@_dp_ante_last_row_dim { \box_dp:N \@arstrutbox } \dim_gzero_new:N \g_@@_ht_last_row_dim \dim_gset:Nn \g_@@_ht_last_row_dim { \box_ht:N \@arstrutbox } \dim_gzero_new:N \g_@@_dp_last_row_dim @@ -4095,7 +4119,7 @@ c & c & b & a & e % We construct the preamble of the array in |\l_tmpa_tl|. % \begin{macrocode} \tl_set:Nn \l_tmpa_tl { #4 } - \int_compare:nNnTF \l_@@_first_col_int = \c_zero_int + \int_compare:nNnTF \l_@@_first_col_int = 0 { \tl_put_left:NV \l_tmpa_tl \c_@@_preamble_first_col_tl } { \bool_if:NT \l_@@_NiceArray_bool @@ -4142,7 +4166,7 @@ c & c & b & a & e % Now, the box containing the array is constructed (in |\l_@@_the_array_box|). % However, we have some computations to do before inserting that box in the TeX % flow (mainly because the exterior columns are in overlapping positions). -% +% % \bigskip % \begin{macrocode} \int_compare:nNnT \l_@@_last_row_int > { -2 } @@ -4155,42 +4179,17 @@ c & c & b & a & e \int_gset_eq:NN \l_@@_last_row_int \c@iRow } } - } -% \end{macrocode} -% -% Now, we compute |\l_tmpa_dim| which is the vertical dimension of the ``first -% row'' above the array (when the key |first-row| is used). -% \begin{macrocode} - \int_compare:nNnTF \l_@@_first_row_int = \c_zero_int - { - \dim_set:Nn \l_tmpa_dim - { \g_@@_dp_row_zero_dim + \lineskip + \g_@@_ht_row_zero_dim } - } - { \dim_zero:N \l_tmpa_dim } -% \end{macrocode} -% We compute |\l_tmpb_dim| which is the vertical dimension of the ``last row'' -% below the array (when the key |last-row| is used). A value of $-2$ for -% |\l_@@_last_row_int| means that there is no ``last row''.\footnote{A value of -% $-1$ for |\l_@@_last_row_int| means that there is a ``last row'' but the -% number of that row is unknown (the user have not set the value with the option -% |last row|).} -% \begin{macrocode} - \int_compare:nNnTF \l_@@_last_row_int > { -2 } - { - \dim_set:Nn \l_tmpb_dim - { \g_@@_ht_last_row_dim + \lineskip + \g_@@_dp_last_row_dim } - } - { \dim_zero:N \l_tmpb_dim } + } % \end{macrocode} % % \bigskip -% Now, we begin the real construction in the output flow of TeX. First, we take +% \textbf{Now, we begin the real construction in the output flow of TeX}. First, we take % into account a potential ``first column'' (we remind that this ``first % column'' has been constructed in an overlapping position and that we have % computed its width in |\g_@@_width_first_col_dim|: see % p.~\pageref{overlap-left}). % \begin{macrocode} - \int_compare:nNnT \l_@@_first_col_int = \c_zero_int + \int_compare:nNnT \l_@@_first_col_int = 0 { \skip_horizontal:n \arraycolsep \skip_horizontal:n \g_@@_width_first_col_dim @@ -4204,13 +4203,12 @@ c & c & b & a & e % \begin{macrocode} \bool_if:NTF \l_@@_NiceArray_bool { - \int_compare:nNnT \l_@@_first_row_int = \c_zero_int + \int_compare:nNnTF \l_@@_first_row_int = 0 { - \str_if_eq:VnTF \l_@@_pos_env_str { t } - { - \box_move_up:nn - { \l_tmpa_dim - \g_@@_ht_row_zero_dim + \g_@@_ht_row_one_dim } - } + \str_if_eq:VnT \l_@@_pos_env_str { t } + { + \box_move_up:nn { \g_@@_dp_row_zero_dim + \g_@@_ht_row_one_dim } + } } { \int_compare:nNnT \l_@@_last_row_int > 0 @@ -4218,10 +4216,7 @@ c & c & b & a & e \str_if_eq:VnT \l_@@_pos_env_str { b } { \box_move_down:nn - { - \l_tmpb_dim - - \g_@@_dp_last_row_dim + \g_@@_dp_ante_last_row_dim - } + { \g_@@_ht_last_row_dim + \g_@@_dp_ante_last_row_dim } } } } @@ -4229,9 +4224,34 @@ c & c & b & a & e } % \end{macrocode} % -% Now, in the case of an environment |{pNiceArray}|, |{bNiceArray}|, etc. +% Now, in the case of an environment |{pNiceArray}|, |{bNiceArray}|, etc. We +% compute |\l_tmpa_dim| which is the total height of the ``first row'' above the +% array (when the key |first-row| is used). % \begin{macrocode} { + \int_compare:nNnTF \l_@@_first_row_int = 0 + { + \dim_set:Nn \l_tmpa_dim + { \g_@@_dp_row_zero_dim + \g_@@_ht_row_zero_dim } + } + { \dim_zero:N \l_tmpa_dim } +% \end{macrocode} +% We compute |\l_tmpb_dim| which is the total height of the ``last row'' +% below the array (when the key |last-row| is used). A value of $-2$ for +% |\l_@@_last_row_int| means that there is no ``last row''.\footnote{A value of +% $-1$ for |\l_@@_last_row_int| means that there is a ``last row'' but the +% number of that row is unknown (the user have not set the value with the option +% |last row|).} +% \begin{macrocode} + \int_compare:nNnTF \l_@@_last_row_int > { -2 } + { + \dim_set:Nn \l_tmpb_dim + { \g_@@_ht_last_row_dim + \g_@@_dp_last_row_dim } + } + { \dim_zero:N \l_tmpb_dim } +% \end{macrocode} +% +% \begin{macrocode} \hbox_set:Nn \l_tmpa_box { \c_math_toggle_token @@ -4239,8 +4259,8 @@ c & c & b & a & e \vcenter { % \end{macrocode} -% We take into account the ``first row'' (we have previously computed its size -% in |\l_tmpa_dim|). +% We take into account the ``first row'' (we have previously computed its total +% height in |\l_tmpa_dim|). % \begin{macrocode} \skip_vertical:n { - \l_tmpa_dim } \hbox:n @@ -4250,8 +4270,8 @@ c & c & b & a & e \skip_horizontal:n { - \arraycolsep } } % \end{macrocode} -% We take into account the ``last row'' (we have previously computed its size -% in |\l_tmpb_dim|). +% We take into account the ``last row'' (we have previously computed its total +% height in |\l_tmpb_dim|). % \begin{macrocode} \skip_vertical:n { - \l_tmpb_dim } } @@ -4263,9 +4283,9 @@ c & c & b & a & e \box_use_drop:N \l_tmpa_box } % \end{macrocode} -% We take into account a potential ``last column'' (this ``last -% column'' has been constructed in an overlapping position and we have computed -% its width in |\g_@@_width_last_col_dim|: see p.~\pageref{overlap-right}). +% We take into account a potential ``last column'' (this ``last column'' has +% been constructed in an overlapping position and we have computed its width in +% |\g_@@_width_last_col_dim|: see p.~\pageref{overlap-right}). % \begin{macrocode} \bool_if:NT \g_@@_last_col_found_bool { @@ -4489,7 +4509,7 @@ c & c & b & a & e % \begin{macrocode} \bool_if:nT { - \int_compare_p:nNn \c@iRow > \c_zero_int + \int_compare_p:nNn \c@iRow > 0 && ( \int_compare_p:nNn \l_@@_last_row_int < 0 @@ -4586,7 +4606,7 @@ c & c & b & a & e % \begin{macrocode} \bool_if:nT { - \int_compare_p:nNn \c@iRow > \c_zero_int + \int_compare_p:nNn \c@iRow > 0 && ( \int_compare_p:nNn \l_@@_last_row_int < 0 @@ -4879,7 +4899,7 @@ c & c & b & a & e % \begin{macrocode} \cs_new_protected:Nn \@@_after_array: { - \int_compare:nNnTF \c@iRow > \c_zero_int + \int_compare:nNnTF \c@iRow > 0 \@@_after_array_i: { \@@_error:n { Zero~row } @@ -5375,7 +5395,7 @@ c & c & b & a & e \cs_if_free:cT { @@ _ dotted _ #1 - #2 } { \bool_set_false:N \l_@@_impossible_line_bool - \@@_find_extremities_of_line:nnnn { #1 } { #2 } \c_zero_int \c_one_int + \@@_find_extremities_of_line:nnnn { #1 } { #2 } 0 \c_one_int \bool_if:NF \l_@@_impossible_line_bool \@@_actually_draw_Ldots: } } @@ -5445,7 +5465,7 @@ c & c & b & a & e \cs_if_free:cT { @@ _ dotted _ #1 - #2 } { \bool_set_false:N \l_@@_impossible_line_bool - \@@_find_extremities_of_line:nnnn { #1 } { #2 } \c_zero_int \c_one_int + \@@_find_extremities_of_line:nnnn { #1 } { #2 } 0 \c_one_int \bool_if:NF \l_@@_impossible_line_bool { \@@_retrieve_coords:xx @@ -5501,7 +5521,7 @@ c & c & b & a & e \cs_if_free:cT { @@ _ dotted _ #1 - #2 } { \bool_set_false:N \l_@@_impossible_line_bool - \@@_find_extremities_of_line:nnnn { #1 } { #2 } \c_one_int \c_zero_int + \@@_find_extremities_of_line:nnnn { #1 } { #2 } \c_one_int 0 \bool_if:NF \l_@@_impossible_line_bool { \@@_retrieve_coords:xx @@ -6191,7 +6211,7 @@ c & c & b & a & e && ! \l_@@_exterior_arraycolsep_bool && - \int_compare_p:nNn \l_@@_first_col_int > \c_zero_int + \int_compare_p:nNn \l_@@_first_col_int > 0 } { \skip_horizontal:n { - \arraycolsep } } \hbox_to_wd:nn @@ -6213,7 +6233,7 @@ c & c & b & a & e % We should allow the letter ``|:|'' in the first position of the preamble % but that would need a special programmation. % \begin{macrocode} - \int_compare:nNnTF #1 = \c_zero_int + \int_compare:nNnTF #1 = 0 { \@@_error:n { Use~of~:~in~first~position } } { \bool_if:NF \c_@@_draft_bool @@ -6300,7 +6320,7 @@ c & c & b & a & e % with |\newcolumntype|: % \begin{Verbatim}[commandchars=\~\#\+] % \newcolumntype { | } -% { ! { \int_compare:nNnF \c@iRow = \c_zero_int \vline } } +% { ! { \int_compare:nNnF \c@iRow = 0 \vline } } % \end{Verbatim} % % However, this code fails if the user uses "\DefineShortVerb{\|}" of @@ -6318,20 +6338,20 @@ c & c & b & a & e % \begin{macrocode} \cs_new_protected:Npn \@@_vline: { - \int_compare:nNnTF \l_@@_first_col_int = \c_zero_int + \int_compare:nNnTF \l_@@_first_col_int = 0 { - \int_compare:nNnTF \c@jCol = \c_zero_int + \int_compare:nNnTF \c@jCol = 0 { - \int_compare:nNnTF \l_@@_first_row_int = \c_zero_int + \int_compare:nNnTF \l_@@_first_row_int = 0 { - \int_compare:nNnF \c@iRow = \c_zero_int + \int_compare:nNnF \c@iRow = 0 { \int_compare:nNnF \c@iRow = \l_@@_last_row_int \@@_vline_i: } } { - \int_compare:nNnF \c@iRow = \c_zero_int + \int_compare:nNnF \c@iRow = 0 { \int_compare:nNnF \c@iRow = \l_@@_last_row_int \@@_vline_i: @@ -6339,7 +6359,7 @@ c & c & b & a & e } } { - \int_compare:nNnF \c@iRow = \c_zero_int + \int_compare:nNnF \c@iRow = 0 { \int_compare:nNnF \c@iRow = \l_@@_last_row_int \@@_vline_i: @@ -6347,7 +6367,7 @@ c & c & b & a & e } } { - \int_compare:nNnTF \c@jCol = \c_zero_int + \int_compare:nNnTF \c@jCol = 0 { \int_compare:nNnF \c@iRow = { -1 } { @@ -6356,7 +6376,7 @@ c & c & b & a & e } } { - \int_compare:nNnF \c@iRow = \c_zero_int + \int_compare:nNnF \c@iRow = 0 { \int_compare:nNnF \c@iRow = \l_@@_last_row_int \@@_vline_i: @@ -6396,7 +6416,7 @@ c & c & b & a & e % \begin{macrocode} \cs_new:Npn \@@_OnlyMainNiceMatrix:n #1 { - \int_compare:nNnF \c@iRow = \c_zero_int + \int_compare:nNnF \c@iRow = 0 { \int_compare:nNnF \c@iRow = \l_@@_last_row_int { #1 } } } % \end{macrocode} @@ -7010,15 +7030,15 @@ c & c & b & a & e \@@_set_size:n #4 \q_stop \begin { NiceArrayWithDelims } { #1 } { #2 } { * { \l_@@_nb_cols_int } { C } } [ #3 , #5 , #7 ] - \int_compare:nNnT \l_@@_first_row_int = \c_zero_int + \int_compare:nNnT \l_@@_first_row_int = 0 { - \int_compare:nNnT \l_@@_first_col_int = \c_zero_int { & } + \int_compare:nNnT \l_@@_first_col_int = 0 { & } \prg_replicate:nn { \l_@@_nb_cols_int - 1 } { & } \int_compare:nNnT \l_@@_last_col_int > { -1 } { & } \\ } \prg_replicate:nn \l_@@_nb_rows_int { - \int_compare:nNnT \l_@@_first_col_int = \c_zero_int { & } + \int_compare:nNnT \l_@@_first_col_int = 0 { & } % \end{macrocode} % You put |{ }| before |#6| to avoid a hasty expansion of an eventual % |\arabic{iRow}| at the beginning of the row which would result in an incorrect @@ -7030,7 +7050,7 @@ c & c & b & a & e } \int_compare:nNnT \l_@@_last_row_int > { -2 } { - \int_compare:nNnT \l_@@_first_col_int = \c_zero_int { & } + \int_compare:nNnT \l_@@_first_col_int = 0 { & } \prg_replicate:nn { \l_@@_nb_cols_int - 1 } { & } \int_compare:nNnT \l_@@_last_col_int > { -1 } { & } \\ } @@ -7372,7 +7392,7 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~option~'last-col' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim + \int_zero:N \l_@@_last_col_int \pNiceArray } { \endpNiceArray } @@ -7383,7 +7403,7 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~option~'last-col' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim + \int_zero:N \l_@@_last_col_int \bNiceArray } { \endbNiceArray } @@ -7394,7 +7414,7 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~option~'last-col' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim + \int_zero:N \l_@@_last_col_int \BNiceArray } { \endBNiceArray } @@ -7405,7 +7425,7 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~option~'last-col' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim + \int_zero:N \l_@@_last_col_int \vNiceArray } { \endvNiceArray } @@ -7416,7 +7436,7 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~option~'last-col' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim + \int_zero:N \l_@@_last_col_int \VNiceArray } { \endVNiceArray } @@ -7427,8 +7447,8 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~options~'last-col'~and~'first-row' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim - \int_set:Nn \l_@@_first_row_int \c_zero_int + \int_zero:N \l_@@_last_col_int + \int_zero:N \l_@@_first_row_int \pNiceArray } { \endpNiceArray } @@ -7439,8 +7459,8 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~options~'last-col'~and~'first-row' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim - \int_set:Nn \l_@@_first_row_int \c_zero_int + \int_zero:N \l_@@_last_col_int + \int_zero:N \l_@@_first_row_int \bNiceArray } { \endbNiceArray } @@ -7451,8 +7471,8 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~options~'last-col'~and~'first-row' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim - \int_set:Nn \l_@@_first_row_int \c_zero_int + \int_zero:N \l_@@_last_col_int + \int_zero:N \l_@@_first_row_int \BNiceArray } { \endBNiceArray } @@ -7463,8 +7483,8 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~options~'last-col'~and~'first-row' } - \bool_set_true:N \l_@@_last_col_bool - \int_set:Nn \l_@@_first_row_int \c_zero_int + \int_zero:N \l_@@_last_col_int + \int_zero:N \l_@@_first_row_int \vNiceArray } { \endvNiceArray } @@ -7475,8 +7495,8 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~options~'last-col'~and~'first-row' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim - \int_set:Nn \l_@@_first_row_int \c_zero_int + \int_zero:N \l_@@_last_col_int + \int_zero:N \l_@@_first_row_int \VNiceArray } { \endVNiceArray } @@ -7487,7 +7507,7 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~option~'last-col' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim + \int_zero:N \l_@@_last_col_int \NiceArrayWithDelims } { \endNiceArrayWithDelims } @@ -7498,8 +7518,8 @@ c & c & b & a & e { \@@_error:nn { Obsolete~environment } { the~options~'last-col'~and~'first-row' } - \int_set:Nn \l_@@_last_col_int \c_zero_dim - \int_set:Nn \l_@@_first_row_int \c_zero_int + \int_zero:N \l_@@_last_col_int + \int_zero:N \l_@@_first_row_int \NiceArrayWithDelims } { \endNiceArrayWithDelims } @@ -7738,6 +7758,10 @@ c & c & b & a & e % New option |light-syntax| (and |end-of-row|). % % New option |dotted-lines-margin| for fine tuning of the dotted lines. +% +% \subsection*{Changes between versions 3.10 and 3.11} +% +% Correction of a bug linked to |first-row| and |last-row|. % % \PrintIndex % diff --git a/macros/latex/contrib/nicematrix/nicematrix.pdf b/macros/latex/contrib/nicematrix/nicematrix.pdf Binary files differindex c4738a0111..a9862fd6a3 100644 --- a/macros/latex/contrib/nicematrix/nicematrix.pdf +++ b/macros/latex/contrib/nicematrix/nicematrix.pdf diff --git a/macros/latex/contrib/verifica/README b/macros/latex/contrib/verifica/README index 9e37879e55..d170805cef 100644 --- a/macros/latex/contrib/verifica/README +++ b/macros/latex/contrib/verifica/README @@ -1,4 +1,4 @@ -The verifica document class v1.1 2020/01/19 +The verifica document class v1.2 2020/02/07 --------------------------------------------------------------------- Riccardo Dossena Email: riccardo.dossena@gmail.com --------------------------------------------------------------------- @@ -77,7 +77,7 @@ setspace, multicol, gensymb, newunicodechar, textcomp, eurosym, tabto, tabularx, lineno, bm, cmbright. If the option "14pt" is set, it loads the extarticle document class. -2020/01/19 +2020/02/07 Riccardo Dossena --------------------------------------------------------------------- If you have any ideas, questions, suggestions, feedback or bugs to diff --git a/macros/latex/contrib/verifica/example1.pdf b/macros/latex/contrib/verifica/example1.pdf Binary files differindex 8fa9e50586..6c2d513dd7 100644 --- a/macros/latex/contrib/verifica/example1.pdf +++ b/macros/latex/contrib/verifica/example1.pdf diff --git a/macros/latex/contrib/verifica/example1.tex b/macros/latex/contrib/verifica/example1.tex index 48f8bab83d..c802df96cf 100644 --- a/macros/latex/contrib/verifica/example1.tex +++ b/macros/latex/contrib/verifica/example1.tex @@ -11,7 +11,7 @@ \disciplina{matematica} \istituto{Liceo ``G. Novello'' -- Codogno} \classe{5\tsa B} -\data{19 gennaio 2020} +\data{7 febbraio 2020} \tempo{60 minuti} \intestazione diff --git a/macros/latex/contrib/verifica/example2.pdf b/macros/latex/contrib/verifica/example2.pdf Binary files differindex 236c99e1a1..14c3f9cb56 100644 --- a/macros/latex/contrib/verifica/example2.pdf +++ b/macros/latex/contrib/verifica/example2.pdf diff --git a/macros/latex/contrib/verifica/example2.tex b/macros/latex/contrib/verifica/example2.tex index 0654ea0bb0..e25d13d39e 100644 --- a/macros/latex/contrib/verifica/example2.tex +++ b/macros/latex/contrib/verifica/example2.tex @@ -10,7 +10,7 @@ \disciplina{matematica} \istituto{Liceo ``G. Novello'' -- Codogno} \classe{5\tsa B} -\data{19 gennaio 2020} +\data{7 febbraio 2020} \tempo{60 minuti} \intestazione diff --git a/macros/latex/contrib/verifica/example3.pdf b/macros/latex/contrib/verifica/example3.pdf Binary files differindex a59c42c62b..a9959d2209 100644 --- a/macros/latex/contrib/verifica/example3.pdf +++ b/macros/latex/contrib/verifica/example3.pdf diff --git a/macros/latex/contrib/verifica/example3.tex b/macros/latex/contrib/verifica/example3.tex index e67fb120f6..6d83a3e170 100644 --- a/macros/latex/contrib/verifica/example3.tex +++ b/macros/latex/contrib/verifica/example3.tex @@ -10,7 +10,7 @@ \disciplina{matematica} \istituto{Liceo ``G. Novello'' -- Codogno} \classe{5\tsa B} -\data{19 gennaio 2020} +\data{7 febbraio 2020} \tempo{60 minuti} \intestazione diff --git a/macros/latex/contrib/verifica/example4.pdf b/macros/latex/contrib/verifica/example4.pdf Binary files differindex c7cbeb9cbd..8cbd3e6db4 100644 --- a/macros/latex/contrib/verifica/example4.pdf +++ b/macros/latex/contrib/verifica/example4.pdf diff --git a/macros/latex/contrib/verifica/example4.tex b/macros/latex/contrib/verifica/example4.tex index e583f9aff7..d65141df8b 100644 --- a/macros/latex/contrib/verifica/example4.tex +++ b/macros/latex/contrib/verifica/example4.tex @@ -12,7 +12,7 @@ \disciplina{matematica e fisica} \istituto{Liceo ``G. Novello'' -- Codogno} \classe{4\tsa C} -\data{19 gennaio 2020} +\data{7 febbraio 2020} \tempo{55 minuti} \lineanome diff --git a/macros/latex/contrib/verifica/example5.pdf b/macros/latex/contrib/verifica/example5.pdf Binary files differindex 9815975111..9b5854976d 100644 --- a/macros/latex/contrib/verifica/example5.pdf +++ b/macros/latex/contrib/verifica/example5.pdf diff --git a/macros/latex/contrib/verifica/example5.tex b/macros/latex/contrib/verifica/example5.tex index 03343e9fee..cd4e8df1d8 100644 --- a/macros/latex/contrib/verifica/example5.tex +++ b/macros/latex/contrib/verifica/example5.tex @@ -11,7 +11,7 @@ \disciplina{matematica e fisica} \istituto{Liceo ``G. Novello'' -- Codogno} \classe{4\tsa C} -\data{19 gennaio 2020} +\data{7 febbraio 2020} \tempo{55 minuti} \lineanome diff --git a/macros/latex/contrib/verifica/verifica-template.tex b/macros/latex/contrib/verifica/verifica-template.tex index fa6a494d08..0a01bcc0c2 100644 --- a/macros/latex/contrib/verifica/verifica-template.tex +++ b/macros/latex/contrib/verifica/verifica-template.tex @@ -13,7 +13,7 @@ %\disciplina{matematica} %\istituto{Liceo ``G. Novello'' -- Codogno} %\classe{5\tsa W} -%\data{19 gennaio 2020} +%\data{7 febbraio 2020} %\tempo{2 ore} %\lineanome % stampa una linea punteggiata per scrivere il nome del candidato diff --git a/macros/latex/contrib/verifica/verifica.dtx b/macros/latex/contrib/verifica/verifica.dtx index bea8de85b7..38c9d521f2 100644 --- a/macros/latex/contrib/verifica/verifica.dtx +++ b/macros/latex/contrib/verifica/verifica.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% verifica.cls. Version: 1.1 - January 19, 2020. +% verifica.cls. Version: 1.2 - February 7, 2020. % Author: Riccardo DOSSENA <riccardo.dossena@gmail.com> % % Questa è una classe per comporre le verifiche @@ -29,7 +29,7 @@ %<class>\ProvidesClass{verifica} %<package>\ProvidesPackage{ver-doc} %<*class|package> - [2020/01/19 v1.1 Riccardo Dossena] + [2020/02/07 v1.2 Riccardo Dossena] %</class|package> % %<*driver> @@ -86,7 +86,7 @@ morekeywords=[3]{intestazione,tipologia,disciplina,istituto, data,classe,tempo,intestazionesemplice, intestazionerighe,dss,vf,verofalso,fattorevf,punti, - puntiadestra,puntipt,totpunti,vartotpunti, + puntiadestra,puntipt,totpunti,vartotpunti,puntiman, riga,dotword,dotrule,ddfrac,numfrac,denfrac, arc,vararc,eps,del,Del,R,N,Z,Q,tsa,tso, restorephi,restoretheta,abs,labeltest,labelbox, @@ -132,7 +132,7 @@ %</driver> % \fi % -% \CheckSum{0} +% \CheckSum{806} % % \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 @@ -179,7 +179,8 @@ % \DoNotIndex{\nolinebreak,\null,\textsc,\ifx,\tmp,\mbox,\vfill,\LARGE,\Huge} % \DoNotIndex{\enitkv@key,\item,\@ifpackageloaded,\@ifpackagewith} % -% \title{La classe \pack{verifica}} +% \title{La classe \pack{verifica}\thanks{Versione \fileversion\ del +% \filedate.}} % \author{Riccardo Dossena\thanks{% % E-mail: \href{mailto:riccardo.dossena@gmail.com}% % {\ttfamily riccardo.dossena@gmail.com}}} @@ -1474,6 +1475,57 @@ % % \makeatother % +% \subsection{Un piccolo bug del punteggio (e soluzione)} +% +% Se la prima parola di una riga dove si intende stampare il punteggio è +% sillabata, il comando \lstinline|\punti| sposta il punteggio nella riga +% vuota successiva, quindi in una posizione non corretta, come mostra il +% prossimo esempio. +%\iffalse +%<*example> +%\fi +\begin{lstlisting} +\begin{esercizi} + \item Scrivi in forma implicita l'equazione della retta parallela + all'asse~$x$ e precipitevolissimevolmente passante + per $P(0, 1)$. \punti{12} +\end{esercizi} +\end{lstlisting} +%\iffalse +%</example> +%\fi +% \begin{riquadro} +% \begin{esercizi} +% \item Scrivi in forma implicita l'equazione della retta parallela +% all'asse~ $x$ e precipitevolissimevolmente passante per $P(0, 1)$. +% \punti{12} +% \end{esercizi} +% \end{riquadro} +% Qualora si presentasse una situazione del genere, è possibile risolvere +% sostituendo localmente al comando \lstinline|\punti| il comando +% \lstinline|\puntiman| (che sta per ``punteggio manuale'' e ha la stessa +% sintassi di \lstinline|\punti|). +%\iffalse +%<*example> +%\fi +\begin{lstlisting} +\begin{esercizi} + \item Scrivi in forma implicita l'equazione della retta parallela + all'asse~$x$ e precipitevolissimevolmente passante + per $P(0, 1)$. \puntiman{12} +\end{esercizi} +\end{lstlisting} +%\iffalse +%</example> +%\fi +% \begin{riquadro} +% \begin{esercizi} +% \item Scrivi in forma implicita l'equazione della retta parallela +% all'asse~$x$ e precipitevolissimevolmente passante per $P(0, 1)$. +% \puntiman{12} +% \end{esercizi} +% \end{riquadro} +% % \subsection{Il riquadro del punteggio totale} % % Se lo si desidera, è possibile stampare un riquadro in cui inserire il @@ -2512,6 +2564,27 @@ Di default sono definiti $\phi$ e $\theta$, ma si possono ripristinare } % \end{macrocode} % \end{macro} +% \begin{macro}{\puntiman} +% \changes{v1.2}{2020/02/07}{Added the \cs{puntiman} command, which prints the +% score at the end of the line when the \cs{punti} command fails.} +% Unfortunately, there is a bug: if the first word of the line where the +% score has to be printed is part of a hyphenated word, the score will not +% be printed on the same line, but on the next (empty). To solve +% this issue ``manually'', the \cs{puntiman} command can be used instead of +% \cs{punti}. +% \begin{macrocode} +\newcommand{\puntiman}[2][\@nil]{% + \hfill% + [\textsc{\@punteggio~#2% + \def\tmp{#1}% + \ifx\tmp\@nnil + \relax + \else + ~\mbox{#1}% + \fi}]% +} +% \end{macrocode} +% \end{macro} % \begin{macro}{\puntiadestra} % This command can be placed anywhere in the document and simply prints % the word ``Punti'' after the score. @@ -2526,14 +2599,28 @@ Di default sono definiti $\phi$ e $\theta$, ma si possono ripristinare ~\mbox{#1}% \fi}]% } -\def\puntiadestra{\renewcommand{\punti}{\punti@dx}} +\newcommand{\puntiman@dx}[2][\@nil]{% + \hfill% + [\textsc{#2~\@punteggio% + \def\tmp{#1}% + \ifx\tmp\@nnil + \relax + \else + ~\mbox{#1}% + \fi}]% +} +\def\puntiadestra{% + \renewcommand{\punti}{\punti@dx} + \renewcommand{\puntiman}{\puntiman@dx} +} % \end{macrocode} % \end{macro} % \begin{macro}{\puntipt} % This command can also be placed anywhere in the document and replaces % the word ``Punti'' with the abbreviation ``Pt.'' % \begin{macrocode} -\def\puntipt{\renewcommand{\@punteggio}{Pt.}} +\def\puntipt{% + \renewcommand{\@punteggio}{Pt.}} % \end{macrocode} % \end{macro} % \begin{macro}{\totpunti} diff --git a/macros/latex/contrib/verifica/verifica.pdf b/macros/latex/contrib/verifica/verifica.pdf Binary files differindex ec556a6f74..010da52ba6 100644 --- a/macros/latex/contrib/verifica/verifica.pdf +++ b/macros/latex/contrib/verifica/verifica.pdf |