I have a table that takes about three pages to display and I'm using the longtable
package. It's three columns by about 80 rows. On the first page, I have headers for each of the columns. Is there a way to show the headers at the top of the table for each subsequent page?
My table currently looks like this
\begin{center}
\caption{caption}
\label{table}
\begin{longtable}{|p{3cm}||p{7cm}|p{5cm}|}
\hline
\textbf{Parameter} & \textbf{Value} & textbf{Definition} \\
... (whole bunch of data)
\end{longtable}
\end{center}
Best Answer
Finish the header with
\endhead
rather than\\
Also remove the
center
environment (it has no effect onlongtable
) and place thecaption
within the table. (texdoc longtable
should show several examples)