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

When using the Longtable package in a LaTeX Beamerdocument, how can I create a table header shown on every slide containing table contents? The following approach seems not to work:

a & b \\ \endfirsthead
c & d \\ \endhead
fooooooooooo & Bar\\ 
fooooooooooo & Bar\\ 

The headerline with "c d" is never shown. This behaviour doesn't seem right.

share|improve this question

migrated from stackoverflow.com Jun 30 '11 at 18:27

This question came from our site for professional and enthusiast programmers.

While allowframebreaks technicly works it is declared as 'evil' in the beamer manual. You should always manually decide what and how much is placed on which slide to avoid overfilled slides. So I would recommend to simply use two (or more) tabulars on the same number of slides. – Martin Scharrer Jun 30 '11 at 20:47

use another package:



\tablefirsthead{a & b \\}
\tablehead{c & d \\}

fooooooooooo & Bar\\ 
fooooooooooo & Bar\\ 
share|improve this answer

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.