[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad vertical spacing with @multicolumn
From: |
Karl Berry |
Subject: |
Re: bad vertical spacing with @multicolumn |
Date: |
Sun, 31 Oct 2004 11:38:20 -0500 |
If there are two multicolumn tables on the same page which use
address@hidden',
the vertical spacing of the second table is wrong, causing a very ugly
result. See example below.
Thanks. I installed this patch.
*** texinfo.tex 7 Oct 2004 12:13:02 -0000 1.176
--- texinfo.tex 31 Oct 2004 14:52:19 -0000
***************
*** 2732,2750 ****
\global\setpercentfalse
}
! \def\setmultitablespacing{% test to see if user has set \multitablelinespace.
! % If so, do nothing. If not, give it an appropriate dimension based on
! % current baselineskip.
\ifdim\multitablelinespace=0pt
\setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip
\global\advance\multitablelinespace by-\ht0
! %% strut to put in table in case some entry doesn't have descenders,
! %% to keep lines equally spaced
! \let\multistrut = \strut
! \else
! %% FIXME: what is \box0 supposed to be?
! \gdef\multistrut{\vrule height\multitablelinespace depth\dp0
! width0pt\relax} \fi
%% Test to see if parskip is larger than space between lines of
%% table. If not, do nothing.
%% If so, set to same dimension as multitablelinespace.
--- 2732,2748 ----
\global\setpercentfalse
}
! \def\setmultitablespacing{%
! \def\multistrut{\strut}% just use the standard line spacing
! %
! % Compute \multitablelinespace (if not defined by user) for use in
! % \multitableparskip calculation. We used define \multistrut based on
! % this, but (ironically) that caused the spacing to be off.
! % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100.
\ifdim\multitablelinespace=0pt
\setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip
\global\advance\multitablelinespace by-\ht0
! \fi
%% Test to see if parskip is larger than space between lines of
%% table. If not, do nothing.
%% If so, set to same dimension as multitablelinespace.