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.
Graphics, Figures & Tables ⇒ longtable | Determine last Row of a Table on a Page
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
longtable | Determine last Row of a Table on a Page
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, 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
LaTeX.org admin
Re: longtable | Determine last Row of a Table on a Page
Thanks, Stefan.
I promise I will do so henceforward
I promise I will do so henceforward
- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
longtable | Determine last Row of a Table on a Page
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:
Stefan
Code: Select all
\begin{longtable}{ccc}
\hline\hline
\endfoot
data&goes&here
...
\end{longtable}
LaTeX.org admin