Page LayoutFooter problem with Fancyhdr package

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Footer problem with Fancyhdr package

Post by coachbennett1981 »

Good morning, I am trying to have even and odd pages aligned centered at the bottom of each page. (PDF file of problem accompanied). The even pages align and so do the odd pages, however they are not uniform all the way down the page. The even pages are shifted right in comparison to the odd page numbering. here is what I have tried:

Code: Select all

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot[CO,CE]{\thepage}
I have also tried:

Code: Select all

\cfoot{\thepage}
Even this did not work:

Code: Select all

\usepackage{fancyhdr}
\fancyhead{}
\fancyfoot{}
\fancyfoot[CO,CE]{\thepage}
I have printed the documentation on fancyhdr by Piet van Oostrum, but I can't seem to figure out why this is a problem.

Nick


Here is the partial code of my book:

Code: Select all

\documentclass[12pt,openany]{book}
\usepackage{amsmath,amssymb,amsfonts} % Typical maths resource packages
\usepackage{multicol}
 \usepackage{enumitem}
 \usepackage{fancyhdr}
 \pagestyle{fancy}
 \renewcommand{\footrulewidth}{0.4pt}
\usepackage[font=small,labelsep=none]{caption}
\usepackage{cancel}
\input{longdiv(2).tex}
\makeindex
\title{Praxis 1: A study Guide  }
\author{Math 1 \\ Math 2 \\
{\small\em \copyright \  Draft date \today }}
 \date{ }
\begin{document}
\maketitle
\include{ch2}
\end{document}
I will include the .tex file too if this helps.

Nick
Attachments
ch2.tex
(19.74 KiB) Downloaded 195 times
book2.pdf
(82.39 KiB) Downloaded 188 times
book2.tex
(513 Bytes) Downloaded 248 times

Recommended reading 2024:

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

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

Post Reply