How to stretch a table over multiple pages

PaginationLatex

Pagination Problem Overview


I have a Table (multiple rows, multiple columns, see below ) that is longer than one page. How can I tell LaTeX to continue on the next page.

  • Adding a \newpage didn't work

  • Manually 'ending' and 'reopening' the table works, but is very tedious, since the table will be many pages long.

     \begin{tabular}{lp{13cm}} 
         AAAAAAAAAA  & FOOBAR FOOBAR FOOBAR FOOBAR FOOBAR\\
         BBBBBBBBBB  & FOOBAR FOOBAR FOOBAR FOOBAR FOOBAR\\
         CCCCCCCCCC  & FOOBAR FOOBAR FOOBAR FOOBAR FOOBAR\\
       
         ...
    
         ZZZZZZZZZ  &  FOOBAR FOOBAR FOOBAR FOOBAR FOOBAR\\
      \end{tabular}
    

Pagination Solutions


Solution 1 - Pagination

You should \usepackage{longtable}.

  • PDF Documentation of the package: ftp://ftp.tex.ac.uk/tex-archive/macros/latex/required/tools/longtable.pdf
  • Tutorial with examples can be found here.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionlexuView Question on Stackoverflow
Solution 1 - PaginationaioobeView Answer on Stackoverflow