GeneralLongtable and captions

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ganda97
Posts: 13
Joined: Fri Mar 14, 2008 12:34 am

Longtable and captions

Post by ganda97 »

I need help with captions using longtables. The format I have to follow needs to have the captions at the bottom of the table. I would like to have the caption on each part of the table, with the second caption having some indication that it is a continuation of the table, and the same table number. All the references I found mention the caption on top of the table. My experience with Latex is very limited. Basically, I'm a trained monkey: Push button/get cookie.
Thanks
A

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

k.m.
Posts: 3
Joined: Fri Mar 28, 2008 11:10 am

Re: Longtable and captions

Post by k.m. »

Your current code should look about like this:


\caption{erste Zeile}
Indicators by project &Range& Value\\
\endfirsthead

\caption{(...continued)}\\
Indicators by project & Range & Value\\
\endhead

{...}continues on next page \\
\endfoot

Sources: Own presentation\\
\endlastfoot


now you need to write the \caption thing above \endlastfoot (for the footing of the the last part of the tabel) and above \endfoot for the other parts of the table.
This should solve the problem

it should look like this:

Indicators by project &Range& Value\\
\endfirsthead

\\
Indicators by project & Range & Value\\
\endhead

caption{erste Zeile}\\
\endfoot
\caption{(...continued)}\\
\endlastfoot
ganda97
Posts: 13
Joined: Fri Mar 14, 2008 12:34 am

Re: Longtable and captions

Post by ganda97 »

Thanks. That seems to work.
Post Reply