Enlarging a page
There may be occasions where we want to put a little more text onto a page, even if the text will be squeezed a bit or the text height increases. There's a command that will help us out: \enlargethispage
.
We shall modify our example a bit. This time, we will try to avoid a nearly empty page by squeezing the text on the preceding page:
- Remove the
\newpage
command from our example and switch to11pt
base
font. This time, use less filler text in the subsection:\documentclass[a4paper,11pt]{book} \usepackage[english]{babel} \usepackage{blindtext} \usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, bottom=3cm, bindingoffset=1cm]{geometry} \begin{document} \chapter{Exploring the page layout} In this chapter we will study the layout of pages. \section{Some filler text} \blindtext \section{A lot more filler text} More dummy text will follow. \subsection{Plenty of filler text} \blindtext[3] \end{document}
- Compile, and the result will consist of two pages...