I have a very large table that I'm trying to fit onto a single page. I generate the code with Gnumeric, which outputs .tex files.
After a lot of narrowing and deleting rows, etc. I finally have the table on one page, but it's generating a blank page after it. It's like there is a carriage return after the table or something.
It's fundamentally using the longtable package. Is there any way to get rid of this extra blank page or is my table simply still not fitting?
Graphics, Figures & Tables ⇒ Blank Page Problem after large table
NEW: TikZ book now 40% off at Amazon.com for a short time.

Blank Page Problem after large table
Fixed my own problem.
If you have a large table structured basically like this:
That just barely fits on the page, the label at the end can cause an additional line. Restructure it like this, with the label right after the caption but before the table contents:
and then your table fits (just barely) on one page.
If you have a large table structured basically like this:
Code: Select all
\begin{longtable}
\caption{this is the caption}
<insert very large table here>
\label{table:name_of_table}
\end{longtable}
Code: Select all
\begin{longtable}
\caption{this is the caption}
\label{table:name_of_table}
<insert very large table here>
\end{longtable}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Blank Page Problem after large table
Then please mark the topic accordingly as written in Section 3 of the Board Rules (to be read before posting).jblocher wrote:Fixed my own problem. […]
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10