Howto insert caption on the bottom of longtable #606
sudomamartin
started this conversation in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, please can you give me a advice, how to position caption on the bottom of long table, counting with sections?
And is it possible to use it as IfValueT, bcs I would like to defin eit as a parameter from input (it works for simple tblr.)
...
\NewTblrTheme{fancy}{
\SetTblrStyle{caption-tag}{red}
% \DefTblrTemplate{caption}{default}{} % Removes a caption
% \DefTblrTemplate{capcont}{default}{} % Removes a caption on subsequent pages
\DefTblrTemplate{contfoot}{default}{} % Removes text denoting continuation on next
}
\NewDocumentEnvironment{table_complex_long}{m o o}{%
% \begin{table}[!ht]
\centering
\fontsize{9}{11}\selectfont
\begin{longtblr}[
theme = fancy,
caption = {something},
% note{a} = {It is the first footnote.},
]{
colspec={#1},
rowhead = 1,
rowsep=4pt, % <--
hlines,
% vlines,
row{1}={bg={Stadler_b}, fg={Stadler_w}, font=\bfseries},
vline{2-10}={1}{white}
}
}{%
\end{longtblr}
% \IfValueT{#2}{Table 3.1: #2\par}
% \IfValueT{#2}{\caption{#2}}
\IfValueT{#3}{\label{#3}}
% \end{table}
}
...
Beta Was this translation helpful? Give feedback.
All reactions