LaTeX forum ⇒ Graphics, Figures & Tableslongtable | 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

Postby gonandriy » Wed Feb 15, 2012 5:43 pm

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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9452
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Feb 15, 2012 6:01 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
Site admin

gonandriy
Posts: 4
Joined: Wed Dec 14, 2011 7:17 pm

Postby gonandriy » Thu Feb 16, 2012 10:27 am

Thanks, Stefan.
I promise I will do so henceforward

User avatar
Stefan Kottwitz
Site Admin
Posts: 9452
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Feb 16, 2012 10:55 am

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:

  1. \begin{longtable}{ccc}
  2. \hline\hline
  3. \endfoot
  4. data&goes&here
  5. ...
  6. \end{longtable}


Stefan
Site admin


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 6 guests