diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-22 23:38:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-22 23:38:20 +0000 |
commit | 05f2b1ff45e05df262f7e1352390403d2d6f41e1 (patch) | |
tree | 322e7dfe7afc6342db7c6dd8157b5c82b7f9755d /Master/texmf-dist/doc/latex/ltabptch/ltabptch.tex | |
parent | d27985a2ea5b8b0690397545661dea20ebf1f6a7 (diff) |
ltabptch update (22mar10)
git-svn-id: svn://tug.org/texlive/trunk@17533 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ltabptch/ltabptch.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/ltabptch/ltabptch.tex | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/ltabptch/ltabptch.tex b/Master/texmf-dist/doc/latex/ltabptch/ltabptch.tex index efbace2aa10..98d15c99078 100644 --- a/Master/texmf-dist/doc/latex/ltabptch/ltabptch.tex +++ b/Master/texmf-dist/doc/latex/ltabptch/ltabptch.tex @@ -31,7 +31,7 @@ \maketitle -For David Carlisle's \pkg{Longtable.sty}, version 4.11 +For David Carlisle's \pkg{Longtable.sty}, version 4.11 \\ Fixes \texttt{tools/3180} (Sebastian Rahtz) and \texttt{tools/3485}: missing/wrong interline glues above/below table. @@ -101,7 +101,7 @@ of works that have been made using \pkg{Longtable} so far \renewcommand*{\labelenumi}{\theenumi.)} \begin{enumerate} -\item There are two successive lines in the Longtable code (v4.11) +\item There are two successive lines in the \pkg{Longtable} code (v4.11) together saying: % \begin{verbatim} @@ -137,23 +137,23 @@ reason what features should be aimed at. % The recent versions of \pkg{longtable.sty} have not satisfied any of these three demands. -Concerning~\ref{item:A}, \cmd{\parskip} appears below the longtable, but not +Concerning~\ref{item:A}, \cmd{\parskip} appears below the \env{longtable}, but not above. Concerning~\ref{item:B}, (i)~no interline glue appears above if there is no head, (ii)~otherwise, only zero interline glue appears. -Concerning~\ref{item:C}, the interline glue below the longtable is +Concerning~\ref{item:C}, the interline glue below the \env{longtable} is calculated using the depth of (i)~the last line above the -longtable as \cmd{\prevdepth} when there is no head or of (ii)~the +\env{longtable} as \cmd{\prevdepth} when there is no head or of (ii)~the head otherwise. (Thus I was wrong earlier when I claimed that -\cmd{\prevdepth} were 0\,pt after longtable. This only holds in the -previous case (i)~when the last line above the longtable has +\cmd{\prevdepth} were 0\,pt after \env{longtable}. This only holds in the +previous case (i)~when the last line above the \env{longtable} has zero depth.) You can observe this by playing with the demonstration file \texttt{ltabptch.tex} in CTAN folder \href{http://www.ctan.org/pub/tex-archive/macros/latex/contrib/ltabptch/}{\texttt{macros/latex/contrib/ltabptch}}. Reasons: For contributing a head to the main vertical list, -longtable uses \cmd{\copy} or \cmd{\box}, which yields a \meta{box} according +\env{longtable} uses \cmd{\copy} or \cmd{\box}, which yields a \meta{box} according to \TeX book~p.~278. Rows are contributed by \cmd{\unvbox}. Now, violation of~\ref{item:A} is due to the fact that neither \cmd{\copy} or \cmd{\box} of the head nor the \cmd{\unvbox} for table rows leads to @@ -171,7 +171,7 @@ As to recognizable effects: \item Violation of~\ref{item:A}, of course, has very little effect in general since \cmd{\parskip} is \texttt{0pt plus 1pt} usually. This is hardly recognizable in the presence of the \cmd{\bigskipamount} above and - below a longtable. + below a \env{longtable}. \item Violation of~\ref{item:B} results in missing appropriate interline glue above, which often should be 3.6\,pt or more. This may @@ -183,9 +183,9 @@ As to recognizable effects: effects of violation of~\ref{item:C}, consider the algorithm for calculating interline glue on p.~80 of the \TeX book. If there is no head, and the depth of the last line before the - longtable is 0\,pt, the interline glue below the \env{longtable} is + \env{longtable} is 0\,pt, the interline glue below the \env{longtable} is \cmd{\baselineskip} minus the height of the first line after the - longtable. The interline glue \emph{should be} \cmd{\baselineskip} minus + \env{longtable}. The interline glue \emph{should be} \cmd{\baselineskip} minus height of following line \emph{minus} depth of last table row--if this depth is not too large (depending on \cmd{\lineskiplimit}). This depth is at least 3.6\,pt. So the interline glue is often @@ -194,7 +194,7 @@ As to recognizable effects: below, the glue after the \env{longtable} is by 6.2\,pt (or more) plus 1\,pt larger than the glue before. Due to the shrink component of the surrounding \cmd{\bigskipamount}, the glue following the - longtable may be nearly twice as large as the glue before. + \env{longtable} may be nearly twice as large as the glue before. ---\,Usually, violation of~\ref{item:C} has no effect at all. Namely, there is a head usually, and its depth is usually the same as the depth of the last row, namely \verb+\dp\@arstrutbox+. |