I have a four-page table in the landscape which displays correctly except the caption. I need to repeat the caption and header row on every page of the table
\documentclass{article}
\usepackage{longtable}
\usepackage{lscape}
\usepackage{booktabs}
\begin{document}
\begin{landscape}
\centering
\begin{longtable}{|p{1cm}|p{3cm}|p{8cm}|p{8cm}|}
\caption{Caption I need it to repeat at every page} \\ \hline
\textbf{Col 0}&\textbf{Col 1 } & \textbf{Col 2 } & \textbf{Col 3} \\
1&BLA BLA & BLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLA & BLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLA \\ \hline
2&BLA BLA & BLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLA & BLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLABLA BLA \\ \hline
\bottomrule
\label{ch2:tab3}
\end{longtable}%
\end{landscape}
\end{document}
Best Answer
This code should work: load the
caption
package, and change the beginning of your table to: