I've got data that I need to include in a table, but there's a lot if it. I've played with the font size and table formatting as much as I can, but the table still won't fit on the page. Is there anyway to make a table that spans multiple pages with LaTeX?

  • 5
    Let's see if adding the [page-breaking] tag will stop duplicates of this question. – lockstep Feb 17 '11 at 21:11
  • This is a FAQ – Martin Schröder Feb 11 '12 at 18:04

Use the longtable package (see also the documentation).

| improve this answer | |
  • 5
    Combined with the booktabs package, longtable is an excellent option. – Quadrescence Jul 26 '10 at 20:32
  • 5
    Be aware that \caption commands are placed inside a longtable environment, and therefore the respective code lines must end with \\. – lockstep Feb 10 '12 at 22:00
  • @Quadrescence What can I use the booktabs package for? – tommy.carstensen Jun 12 '15 at 14:38

I would recommend using the xtab package, which is designed as a improvement of the supertabular package.

| improve this answer | |
  • 4
    Do you have an example for the starred version of xtabular? It is not working with me. – Rafid Feb 18 '11 at 10:31
  • As Jose, I also suggest the supertabular and xtab packages. The xtab package provides tables that break across pages. – hassan_noori Feb 18 '11 at 20:47
  • 1
    Do you know if xtab and supertabular are compatible with tabularx? – Mario S. E. May 20 '13 at 13:06

Depending on your overall requirements and the shape of the data in the table, you might also consider dropping your longtable into a landscape environment, as provided, e.g., by the pdflscape package.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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