summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tools/array.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/array.dtx')
-rw-r--r--Master/texmf-dist/source/latex/tools/array.dtx18
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/tools/array.dtx b/Master/texmf-dist/source/latex/tools/array.dtx
index f20d41f7d37..d8f3687a026 100644
--- a/Master/texmf-dist/source/latex/tools/array.dtx
+++ b/Master/texmf-dist/source/latex/tools/array.dtx
@@ -25,8 +25,14 @@
%% Package `array' to use with LaTeX 2e
%% Copyright (C) 1989-1998 Frank Mittelbach, all rights reserved.
%<+package>\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+%<+package>\providecommand\DeclareRelease[3]{}
+%<+package>\providecommand\DeclareCurrentRelease[2]{}
+%<+package>
+%<+package>\DeclareRelease{}{2016-10-06}{array-2016-10-06.sty}
+%<+package>\DeclareCurrentRelease{}{2018-04-30}
+%<+package>
%<+package>\ProvidesPackage{array}
-%<+package> [2018/04/07 v2.4g Tabular extension package (FMi)]
+%<+package> [2018/04/30 v2.4h Tabular extension package (FMi)]
%
% \fi
%
@@ -2161,7 +2167,15 @@
% \begin{macrocode}
\def\@xargarraycr#1{\unskip\gdef\do@row@strut
{\@tempdima #1\advance\@tempdima \dp\@arstrutbox
- \vrule \@depth\@tempdima \@width\z@\global\let\do@row@strut\relax}\cr}
+ \vrule \@depth\@tempdima \@width\z@\global\let\do@row@strut\relax}%
+% \end{macrocode}
+% If the last column is a =\multicolumn= cell then we need to
+% insert the row strut now as it isn't inside the template (as that
+% got =\omit=ted).
+% \changes{v2.4h}{2018/04/30}{Fixing issue 42}
+ % \begin{macrocode}
+ \ifnum\@multicnt >\z@ \do@row@strut \fi
+ \cr}
\let\do@row@strut\relax
% \end{macrocode}
%