tabularray icon indicating copy to clipboard operation
tabularray copied to clipboard

LaTeX 2024-06-01 removes struts at the end of `tabular` `p`-columns

Open muzimuzhi opened this issue 1 year ago • 1 comments

%\RequirePackage[2023-11-01]{latexrelease}
\documentclass{article}

\begin{document}
\fmtname, \fmtversion

% excerpted from testfiles/table-011.tex
\begin{tabular}{|p{1.8cm}|l|}
  \hline
  text & text \\
  \hline
  \begin{itemize}
    \item text 1
    \item text 2
  \end{itemize} & text 3 \\
  \hline
\end{tabular}
\end{document}
Till LaTeX 2023-11-01 Since LaTeX 2024-06-01
image image

See more info in texdoc ltnews39, sec. "Struts at the end of footnotes or p columns" and https://github.com/latex3/latex2e/commit/4b00f3331185b22daaf60909a31320b6bf226967.


As the default behavior of tabular in LaTeX has changed, for tabularray, either the default behavior or the doc of measure=vbox option may need some adaption too.

The testfiles/table-011.{png,md5} are affected, which were already updated in main branch, by #515.

muzimuzhi avatar Oct 19 '24 15:10 muzimuzhi

It is enough to update only doc and tests.

lvjr avatar Oct 20 '24 01:10 lvjr