Page LayoutWhy is my footer moving?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
sugarat
Posts: 9
Joined: Sat Nov 21, 2009 4:36 pm

Why is my footer moving?

Post by sugarat »

Hi all,

I am attempting to make a letter template but for some reason the footer is moving.

In my letter, the first page is fine, but when the text overflows onto the second page the footer is pushed down, halfway off the page body. Why is this? The whole point of a footer is that it doesn't move!

.TeX attached.

Many thanks for your help.
Attachments
letter.tex
(4.12 KiB) Downloaded 308 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Why is my footer moving?

Post by gmedina »

Hi,
sugarat wrote:...Why is this?...
The compilation of your document produces a Warning that answers your question:
Package Fancyhdr Warning: \headheight is too small (0.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
Include the following line in the preamble of your document:

Code: Select all

\setlength{\headheight}{15pt}
With this modification the footer position should be now consistent in both pages, but the bottom margin (that you are setting with the geometry package) seems to be too small; perhaps you should consider increasing it.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply