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 footer to appear immediately after text on the last page, without huge gap. I used showframe package and know that white space comes from the body (is tex adding some sort of \vskip or similar so that body height is exactly \textheight?). I'm also able to shift footer manually by decreasing \textheight for the last page using changepage package:


But I need some way to get "true" text height automatically to substitute it as an argument for changepage.

And of course there could be (should be!) some better and cleaner way to solve this problem.

share|improve this question
Maybe this question offers some help: Footnotes on bottom except on last page of a chapter – Alan Munn Aug 30 '11 at 15:26
This is a rather uncommon layout. Unless you are required to move the footer because of some state/university style rules, I'd advise against it. – lockstep Sep 1 '11 at 15:19
Well, not strictly state rules, but since footer contains \hrules for signatures (every page should be signed), it should be close to the body so that nothing could be hand-written between. – one_half_3544 Sep 2 '11 at 7:32

Possible solution is to move footer contents to the body of the document for the last page:

\newcommand{\footercontents}{my footer text}
%last page

The obvious problem with this solution is ensuring that footer does not hang alone on the last page, i.e. there is no page break between normal text and \footercontents. Neither \nopagebreak (even with maximum argument) nor samepage environment works for me =(

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.