No caption head for talltblr unless explicitly defined #234
md-al-imran-abir
started this conversation in
Ideas
Replies: 2 comments
-
Thanks for your idea. Since it is a breaking change, I will look into it later. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I recently ran into this issue. For the \documentclass{IEEEtran}
\usepackage{tabularray}
\begin{document}
\begin{table}
\centering
\caption{A caption for just for example}
\begin{tabular}{lcl}
\hline
head & head & head \\
\hline
content & content & content\\
content & content & content\\
content & content & content\\
\hline
\end{tabular}
\end{table}
\begin{table}[!htbp]
\centering
\begin{talltblr}[
caption={A caption for just example}
]{
colspec={lcl}
}
\hline
head & head & head \\
\hline
content & content & content\\
content & content & content\\
content & content & content\\
\hline
\end{talltblr}
\end{table}
\begin{table}[!htbp]
\centering
\caption{A caption just for example}
\begin{talltblr}[label=none,]{
colspec={lcl},
}
\hline
head & head & head \\
\hline
content & content & content\\
content & content & content\\
content & content & content\\
\hline
\end{talltblr}
\end{table}
\end{document} This, however, doesn't work for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was using the
talltblr
environment for tables. As its usual caption style is not compatible with the document style I am using (IEEEtran
), I used the basic captioning method using the\caption
command. But to my surprise, when I didn't give any input to the optional argument of thetalltblr
, an extra caption head still appeared. I think it can be fixed by defining a new template but I think it would be great if this caption head doesn't appear by default when acaption
option is not passed.Code:
Beta Was this translation helpful? Give feedback.
All reactions