Graphics, Figures & TablesShowing only first page number on listoftables for longtable

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ejfertig
Posts: 1
Joined: Sat Dec 05, 2009 5:07 am

Showing only first page number on listoftables for longtable

Post by ejfertig »

Hi All,

I have a document with several multi-page longtables. I would like to use the \listoftables command to create a listing of these tables at the start of the document. Unfortunately, when I do so it creates multiple listings for each table for each of the pages that it's on. How do I get listoftables to display only the first page of the table?

Thanks!

Elana

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: Showing only first page number on listoftables for longtable

Post by sommerfee »

Use \caption{...} in \endfirsthead section and \caption[]{...} in \endhead section of the longtable, so no entry in the list-of-tables will be generated after the first table page.

See also section 3 of the longtable package documentation.
Post Reply