1

I need a single page (page 3 in my example) to be shorter than the rest of the pages. I don't know where the page break is (3 to 4), so I can't manually insert \restoregeometry. Therefore I've tried with the package (command) afterpage, but this has no visible effect.

Pages 1 to 3 are fine, pages 4 and later should look similar to first two pages.

\documentclass{book}
\usepackage{geometry,blindtext,afterpage}
\geometry{textheight=183.5mm}

\begin{document}
  \blindtext[10]
  \newgeometry{textheight=50mm}
  \noindent This is a special (short) page

  \afterpage{\restoregeometry}
  \blindtext[10]
\end{document}

There is this closed question which is very similar to mine.

3

all what you need is \enlargethispage{value}

\documentclass{book}
\usepackage{geometry,blindtext}
\geometry{textheight=183.5mm}

\begin{document}
  \blindtext[10]

 \enlargethispage{-133.5mm} \noindent This is a special (short) page


  \blindtext[10]
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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