summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex-dev/tools
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-27 21:11:23 +0000
committerKarl Berry <karl@freefriends.org>2022-09-27 21:11:23 +0000
commit73c6f4e458b99eae1e5ec3281fb1a1f4da9d7d50 (patch)
tree893ed375eb7d01e64d0baa9b8119e2a8ed4a6e1c /Master/texmf-dist/source/latex-dev/tools
parentd3aff7aca8ab5bf17a9d63151a907893580f3889 (diff)
latex-dev (26sep22)
git-svn-id: svn://tug.org/texlive/trunk@64533 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex-dev/tools')
-rw-r--r--Master/texmf-dist/source/latex-dev/tools/array.dtx12
-rw-r--r--Master/texmf-dist/source/latex-dev/tools/verbatim.dtx8
2 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex-dev/tools/array.dtx b/Master/texmf-dist/source/latex-dev/tools/array.dtx
index c9f77d77a35..4b163b5f184 100644
--- a/Master/texmf-dist/source/latex-dev/tools/array.dtx
+++ b/Master/texmf-dist/source/latex-dev/tools/array.dtx
@@ -33,7 +33,7 @@
%<+package>\DeclareCurrentRelease{}{2020-10-01}
%<+package>
%<+package>\ProvidesPackage{array}
-%<+package> [2022/03/10 v2.5f Tabular extension package (FMi)]
+%<+package> [2022/09/04 v2.5g Tabular extension package (FMi)]
%
% \fi
%
@@ -1727,14 +1727,20 @@
%
% For that reason the new implementation does the centering
% manually: First we check the height of the cell and if that is
-% less or equal to =\ht\@arstrutbox= we assume that this is a
+% less or equal to =\ht\strutbox= we assume that this is a
% single line cell. In that case we don't do any vertical maneuvre
% and simply output the box, i.e., make it behave like a single
% line p-cell.
+%
+% We use the height of \cs{strutbox} not \cs{@arstrutbox} in the comparison,
+% because \cs{box}\cs{ar@mcellbox} does not have any strut
+% incorporated and if \cs{arraystretch} is made very
+% small the test would otherwise incorrectly assume a multi-line cell.
% \changes{v2.4f}{2017/11/04}{Managing m-cells without \cs{vcenter}}
+% \changes{v2.5g}{2022/09/04}{Test against \cs{strutbox} height (gh/766)}
% \begin{macrocode}
\def\ar@align@mcell{%
- \ifdim \ht\ar@mcellbox > \ht\@arstrutbox
+ \ifdim \ht\ar@mcellbox > \ht\strutbox
% \end{macrocode}
% Otherwise we realign vertically by lowering the box. The question
% is how much do we need to move down? If there is any
diff --git a/Master/texmf-dist/source/latex-dev/tools/verbatim.dtx b/Master/texmf-dist/source/latex-dev/tools/verbatim.dtx
index c7cb2f02a9a..2018e85505d 100644
--- a/Master/texmf-dist/source/latex-dev/tools/verbatim.dtx
+++ b/Master/texmf-dist/source/latex-dev/tools/verbatim.dtx
@@ -55,7 +55,7 @@
\and
Chris Rowley}
-\date{2001/03/12}
+\date{2022/07/02}
\begin{document}
\markboth{Verbatim style option}{Verbatim style option}
\MaintainedByLaTeXTeam{tools}
@@ -160,7 +160,7 @@
% that skips any commands or text between
% |\begin{comment}|
% and the next |\end{comment}|.
-% It also defines the command \texttt{verbatiminput} to input a whole
+% It also defines the command |\verbatiminput| to input a whole
% file verbatim.
% \end{abstract}
%
@@ -234,7 +234,7 @@
%
% \DescribeMacro{\verbatiminput}
% |\verbatiminput| is a command with one argument that inputs a file
-% verbatim, i.e.\ the command |verbatiminput{xx.yy}|
+% verbatim, i.e.\ the command |\verbatiminput{xx.yy}|
% has the same effect as\\[2pt]
% \hspace*{\MacroIndent}|\begin{verbatim}|\\
% \hspace*{\MacroIndent}\meta{Contents of the file \texttt{xx.yy}}\\
@@ -508,7 +508,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{verbatim}
- [2020-07-07 v1.5u LaTeX2e package for verbatim enhancements]
+ [2022-07-02 v1.5u LaTeX2e package for verbatim enhancements]
\@ifundefined{verbatim@@@}{}{\endinput}
% \end{macrocode}
%