TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

At some point in my document I'm using a "longtable", which is spread among different pages. What I'd love to do is to add some text on each of these pages, possibly on the top of the table. Any suggestion on how to achieve this?

share|improve this question
up vote 7 down vote accepted

longtable offers the command \endhead for specifying a heading which will be repeated on each page. If you want a different heading on the first page of the longtable one can define a \endfirsthead additionally.

Take a look at the longtable package documentation for further explanation and example code.

share|improve this answer
It works like a charme. Thanks. – Roberto Aloi Jan 20 '11 at 18:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.