lvjr / tabularray

Typeset tabulars and arrays with LaTeX3
https://ctan.org/pkg/tabularray
247 stars 22 forks source link

`label=none` still typesets a full caption using default `capcont` template #335

Closed muzimuzhi closed 1 year ago

muzimuzhi commented 1 year ago

Example is simplified from #334.

\documentclass{article}
\usepackage{tabularray}

\begin{document}
% \listoftables

\begin{longtblr}[
%   entry = none,
  label = none,
  caption = Title
]{
  colspec = {llX},
  rowhead = 1,
}
  \hline
  \textbf{Name} & \textbf{Unit} & \textbf{Description} \\ \hline
  $V_{\mathrm{ref}}$ & & Reference voltage \\
  $C_{\mathrm{hp}}$  & & High pass filter capacitor \\
  \pagebreak
  $R_{\mathrm{hp}}$  & & High pass filter resistor \\
  \hline
\end{longtblr}
\end{document}

Actual: A simple caption "Title" is typeset on 1st page, while a full caption "Table 0: (continued)" is typeset on 2nd page. image image

Expected: A simple caption "Title (continued)" should be typeset on 2nd page.

muzimuzhi commented 1 year ago

I made a proposal in https://github.com/muzimuzhi/tabularray/tree/no-label.

lvjr commented 1 year ago

I made a proposal in https://github.com/muzimuzhi/tabularray/tree/no-label.

Great. Could you make a pull request?