# Trying to add pagenumbering, but no footer will display [closed]

All I'm really looking to do is add page numbers to the bottom of each page. However, whatever method I try doesn't seem to show up. I've tried searching for this and come up with nothing. Here's a simple example of what I want to do:

\documentclass{article}

\usepackage{fancyhdr}
\pagestyle{fancy}

\fancyfoot{}
Text
}
\fancyfoot[C]{\thepage}

\begin{document}

\section{Title}

\subsection{Subtitle}

Plain text.

\pagebreak

\subsection{Another subtitle}

More plain text.

\end{document}


And it works just great. However, when I add \fancyfoot to my document, nothing shows up. Yet the \fancyhead line works just fine. I've tried using \pagenumbering{arabic} and \cfoot as well and they are similarly ignored. Even going as far as to try to manually add the footer to the content pages doesn't do the job. Obviously this means that somewhere in my document I'm overriding the footer, but the only commands I'm calling after this in my original document are the following:

\tableofcontents
\include
\newcommand
\section
\begin{figure}


None of which, as far as I know, should overwrite the footer for the rest of my document. The following code inserted after my \begin{document} does the job, but obviously blows away my previous header.

\pagestyle{headings}
\setcounter{page}{1}
\pagenumbering{arabic}


I apologize in advance that this doesn't cleanly point to the problem, but I wasn't sure how to give enough information without pasting in my entire document. Thanks for your time.

## closed as too localized by lockstep, Martin Schröder, Mensch, Stefan Kottwitz♦Mar 28 '13 at 22:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

• This statement says it all: "Obviously this means that somewhere in my document I'm [over-writing] the footer" This may very well be the case, but without more of that "somewhere", it's difficult to assess. – Werner Mar 28 '13 at 18:41
• Your \include and \newcommand as posted are incorrectly used. – A.Ellett Mar 28 '13 at 18:43
• Welcome to TeX.sx! and Thank you for the MWE code – texenthusiast Mar 28 '13 at 18:47
• @LearningLaTeX: \tableofcontents, in report or book sets \thispagestyle{plain}, since a header here would "interfere" with the chapter heading. article shouldn't do this. What \documentclass are you using? Some (like KOMA-script and memoir) might have their own settings for this, and might not enjoy an interaction with fancyhdr. – Werner Mar 28 '13 at 19:12
• I was using \documentclass{article}. Thanks for the help - the issue was that I was calling \usepackage[top=.8in, bottom=.5in, left=.5in, right=.5in]{geometry} - i.e. my bottom margin was wiping out my footer. – JuniorIncanter Mar 28 '13 at 20:18