TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a \pagebreak variant that reduces the page (in which the \pagebreak was made) size so that there's NO (besides bottom margin) blank space after the page break. Is that even possible (the output could have pages of different size each)?

share|improve this question
Welcome to TeX.SE! – Vivi Dec 21 '12 at 1:37
See the code listed in this post. tex.stackexchange.com/questions/40911/… If you use XeTeX, the answer to that post is necessary. – GregH Dec 21 '12 at 4:29
up vote 2 down vote accepted

After reading the post referenced by GregH I found that pasting the followings line into preamble is almost what I wanted:

\advance\pdfpageheight by 2in
\advance\pdfpageheight by 2\topmargin
\advance\pdfpageheight by \footskip
\advance\pdfpageheight by \textheight
\advance\pdfpageheight by -\pagegoal}

It seems to work well when \documentclass is article (although I wouldn't use the default \textheight of 500cm), but it doesn't work for amsart: for instance everything between a \[small|med|big]skip and the next \pagebreak is cutted off; moreover, some items on itemize/enumerate environments are also cutted.

So, I guess it might be usefull for some, I'm still looking for a way that at least works with amsart..

share|improve this answer

Your Answer


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.