# [texhax] Using captions in longtables

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Sat Apr 2 23:08:17 CEST 2005

> I want to put the caption,at the end of table.And when
> i do something like this..
> \begin{longtable}{...}
> ..... \\
> ......\\
> \hline
> \caption{It is a caption}
> \end{longtable}
>
> It comes too close to the last row of the table.What
> is the solution.

for multi-page tables, it makes little sense to have the caption at
the bottom of the last page (only).  the common practice is to put the
caption in the first head, and to put something similar in the
subsequent heads, with a continuation marker.

since the caption command is designed for such usage, your odd choice
isn't catered for.  as a first try, i would suggest putting a \strut
command at the start of the caption text.  or redesign the table as
i've suggested.