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.

Possible Duplicate:
Widow word on a page? I thought LaTeX wouldn't do that.
How to eliminate unnecessary page break in LaTeX?

I have the following problem: In the end of my document, the last 2 lines appear on an empty new page. However, it looks esthetically ugly, and I would like the 2 lines to continue on the previous page, and end the document with a full page, even with the price of smaller margin or more condensed text. How can I achieve that?

share|improve this question

marked as duplicate by Mico, lockstep, Werner, Joseph Wright Dec 4 '11 at 14:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Please have a look at tex.stackexchange.com/questions/3129/…. –  Yiannis Lazarides Nov 25 '11 at 2:27

1 Answer 1

up vote 2 down vote accepted

You could enlarge any page by a "single line" using

\enlargethispage{\baselineskip}

on that specific page. Two extra lines are obtained by a length of 2\baselineskip, etc. This will increase the bottom margin to accommodate the addition. There is also a "user friendly wrapper" for this function in the form of the addlines package.

share|improve this answer
2  
The question and the answer are a duplicate of tex.stackexchange.com/questions/26431/…. We should try and avoid duplicates if possible. They make searching much more difficult. –  Yiannis Lazarides Nov 25 '11 at 3:07
    
@YiannisLazarides: That's true - didn't see it in the "Related" posts, and your original suggestion also didn't include it, so I posted. –  Werner Nov 25 '11 at 3:11

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