# longtable: is there an easy way to format a standard multi-page table

This is rather a question of understanding than a problem:

In a thesis, when a table spans over multiple pages, the standard behaviour should, in my opinion be:

• same header/footer, except for the caption, which is appended with "(continued)"
• One entry in the List of tables

In my case, I did it manually with \endfirsthead and \endhead (twice the same "head" except for the word (continued) ) then I had to remove one entry in the list of tables.

This worked but is a lot of work and creates code duplicates, is there a very simple way (e.g. an option) that creates the same result?

• Shortly: no (as far as I know). Note, LaTeX is mark-up language, so you need to define first head, head, foot and last foot. This should not be a problem ... Feb 5, 2017 at 17:48
• You can define your own macro which fulfils your requirements Feb 5, 2017 at 18:00
• you can use \caption[]{...} so there should not be any need to adjust the table of contents Feb 5, 2017 at 18:01

For a three column table you can define

\newcommand\ltheadthree[4]{%
\caption{#1}\\
\textbf{#2}&\textbf{#3}&\textbf{#4}
\caption[]{#1 (continued)}\\
\textbf{#2}&\textbf{#3}&\textbf{#4}


then

\begin{longtable}{lcr}