Sign up ×
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.

I've used \newgeometry \restoregeometry to change the margins of one page so I can fit two images onto it. However as a result of this, the page number for that page has disappeared. The page is still counted, as the page following that (with the restored margins) has a page number as if the page before existed.

share|improve this question
probably the margins are so big that the footer lies outside your page? –  zeroth Feb 13 '13 at 9:34
That does indeed seem to be the case. I don't see why it doesn't put the footer in the same place regardless of the size of the margin –  Blackstone Feb 13 '13 at 9:43
Consider the implications of not having a strict spacing policy on the footer, placement, now a simple page geometry change would inflict the footer position. The consistency in document creation would then be non trivial. LaTeX is so smart that it will not allow page text to overlap footers/headers. That is more consistent, and also, expected, from a document processing tool. –  zeroth Feb 13 '13 at 9:52

1 Answer 1

up vote 2 down vote accepted

The page layout is rather strict. There are certain rules in the geometry package which governs the placement of the footers, etc.

So in your case the footer disappears from the paper. This can be circumvented by adjusting the length \footskip. This length is defaulted to 30pt (use \the\footskip to print its value in the document). So what you would do is decrease it. That can be done via the option in the \newgeometry macro called footskip=<length>.

Whenever in doubt of how the pagelayout is put, add the showframe option in the preamble. This will let you easily see any mistakes or misinterpretations of the page-layout.

Here is an example:


% Decrease it to half its size

This will produce the following two pages:

enter image description here enter image description here

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.