Consider this MWE:
\documentclass{scrartcl}
\usepackage{lipsum}
\usepackage{tabularray}
\begin{document}
\begin{tblr}[%
caption = {A Long Long Long Long Long Long Long Table},
entry = {Short Caption},
label = {tblr:test},
long
]{colspec={X}}
More Text\\
My text\\
\end{tblr}
\end{document}
How can I get the caption below the table? (I know that this is bad advice but I am bound to certain guidelines.
EDIT
The solution proposed (Place longtblr caption below table) does not work since it adds (Continued)
to the caption even if it is not split:
\documentclass{scrartcl}
\usepackage{lipsum}
\usepackage{tabularray}
\DefTblrTemplate{firsthead,middlehead,lasthead}{default}{
}
\DefTblrTemplate{firstfoot}{default}{
\UseTblrTemplate{contfoot}{default}
\UseTblrTemplate{caption}{default}
}
\DefTblrTemplate{middlefoot}{default}{
\UseTblrTemplate{contfoot}{default}
\UseTblrTemplate{capcont}{default}
}
\DefTblrTemplate{lastfoot}{default}{
\UseTblrTemplate{note}{default}
\UseTblrTemplate{remark}{default}
\UseTblrTemplate{capcont}{default}
}
\begin{document}
\begin{tblr}[%
caption = {A Long Long Long Long Long Long Long Table},
entry = {Short Caption},
label = {tblr:test},
long
]{colspec={X}}
More Text\\
My text\\
\end{tblr}
\end{document}
Best Answer
You need to remove content of definitions for
{firstfoot,middlefoot}
and in the\DefTblrTemplate{lastfoot}{default}
insert only\UseTblrTemplate{caption}{default}
. For example:Note:
Be aware, with above settings you can not use this table as real long table anymore.