I want to split my table into multiple files:
\input{table_head.tex} with following content
\begin{table}[htpb]
\centering
\caption{Caption}
\begin{tabular}[r]{ccc}
\addlinespace
\toprule
A &
B &
C \\
\midrule
\input{content1.tex} with following content
A1 & B1 & C1 \
\input{content2.tex} with following content
A2 & B2 & C2 \
and so on until
\input{contentX.tex} with following content
AX & BX & CX \
and finally the table footer
\input{table_footer.tex} with the following content
\bottomrule
\end{tabular}
\label{tab:tab_label}
\end{table}
Which command should I use? I get errors with input.