## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ longtable | Determine last Row of a Table on a Page Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
gonandriy
Posts: 4
Joined: Wed Dec 14, 2011 7:17 pm

### longtable | Determine last Row of a Table on a Page

Is there any way of determination last row of each page in multi-page tables. For example if I want add double line on end of each page, or some special content of cells in last row. I use longtable package.

Here should be considered, that last rows on pages can be changes, I mean that last row can become the first on the next page, when some additional content will be added to before table.

Thanks.

Stefan Kottwitz
Posts: 9567
Joined: Mon Mar 10, 2008 9:44 pm
As an information for the reader, to be aware of possibly already existing solutions, the same question has been posted to TeX.SE.

gonandriy, generally please inform with a link when you post the same question to several sites. It's only fair, to prevent unnecessary work if there would appear solutions at one site.

Stefan

gonandriy
Posts: 4
Joined: Wed Dec 14, 2011 7:17 pm
Thanks, Stefan.
I promise I will do so henceforward

Stefan Kottwitz
Posts: 9567
Joined: Mon Mar 10, 2008 9:44 pm
Thanks! Now we can see on TeX.SX, there's a solution, for adding the double line at the end of a page, by David Carlisle, for completeness:

\begin{longtable}{ccc}  \hline\hline\endfoot  data&goes&here...\end{longtable}

Stefan