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.

I have my last section which consists only of {tabular}, it is longer than 1 page, so I need to split it to 2 pages.

So I have done something like that, hoping it displays the first {tabular} on the page before the last page, and the second {tabular} on the last page of my document:

\section{section_name}
\begin{tabular}{llll}
....
\end{tabular}
\begin{tabular}{llll}
....
\end{tabular}
\end{document}

But it still tries to display everything in 1 page, thus the lines go beyond the bottom border, and some lines in the end could not be displayed.

Could anyone tell me how to amend that?

share|improve this question
1  
Try to use longtable or supertabular instead. Both allow tables to break over pages. See the answers to In LaTeX, how can I make a table that takes up more than a single page? which seems to be a duplicate. –  Martin Scharrer May 23 '11 at 11:20
1  
Beside trying longtable or supertabular: you can also try to add an empty line between the tabulars to get a paragraph break. If both tabulars are in one paragraph widow- and clubpenalty can get in the way. And activate \raggedbottom in this section. –  Ulrike Fischer May 23 '11 at 11:24
    
Thank you all... –  SoftTimur May 23 '11 at 12:36
    
also, the hacky way to deal with this if you are in a hurry is to just add \vfill\pagebreak between the two tabulars. –  kgr May 23 '11 at 18:05
add comment

1 Answer

up vote 4 down vote accepted

Instead of tabular, which doesn't admit page breaks, you can use the longtable environment from the longtable package.

share|improve this answer
    
thank you...... –  SoftTimur May 23 '11 at 12:36
add comment

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.