55

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}
    
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
lexu
  • 8,766
  • 5
  • 45
  • 63

1 Answers1

85

You should \usepackage{longtable}.

aioobe
  • 413,195
  • 112
  • 811
  • 826
  • 4
    What if you are using the `tabularx` environment and have the same problem? – HelloGoodbye Aug 15 '12 at 01:13
  • 23
    To answer my own comment, I just found that the `longtabu` environment in the `tabu` package is basically a redefinition of the `longtable` environment, which allows the same kind of syntax that `tabularx` uses for defining "flexible columns". – HelloGoodbye Aug 15 '12 at 17:23