Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.