# How to reposition or remove middle pagination labels?

Right now, I am using the following fancy headers as required by my school's department policy. However, when I look at the footer, it has a number for each page in the middle of my footer label. I want to move the page number to the bottom right or completely remove it from the bottom middle of the footer. I added the page number to the top right, which I like, but it still remains in the bottom middle as well. I followed the steps on this page: Position of page numbers

but it only removes my current header/footer information, which is not helpful. I only want to remove the page lettering in the bottom middle of the page. Here is the code I'm using currently for my fancy header/footer.

This part is in the package inclusion area:

\usepackage{fancyhdr} %%For headers/footers


This part is in the document:

\fancyhead[L]{M 414 - DETERMINISTIC MODELS } %%Header
\fancyfoot[L]{NAME INFO - UNIVERSITY OF MONTUCKY: MATH DEPARTMENT} %Footer
\renewcommand{\footrulewidth}{1pt}

\fancypagestyle{plain}{
\fancyfoot{}
\fancyfoot[L]{NAME INFO - UNIVERSITY OF MONTUCKY: MATH DEPARTMENT} %Footer
\renewcommand{\footrulewidth}{1pt}
}



I'm not sure to understand exactly what you are trying to achieve.

Probably this code is what you want:

\documentclass{book}

\usepackage{blindtext} % only for the example

\fancyhf{}
\fancyfoot[L]{NAME INFO - UNIVERSITY OF MONTUCKY: MATH DEPARTMENT} %Footer
\renewcommand{\footrulewidth}{1pt}

\fancypagestyle{plain}{}

\begin{document}

\Blinddocument

\end{document}


Output:

In the code, \fancyhf{} clears the contents of both header and footer, so that with the lines

\fancyhead[L]{M 414 - DETERMINISTIC MODELS} %%Header
\fancyfoot[L]{NAME INFO - UNIVERSITY OF MONTUCKY: MATH DEPARTMENT} %Footer


you can add what you want at specific places.

The line

\fancypagestyle{plain}{}


is to make plain pages have the same headers and footers as fancy ones.

• Your code works perfectly. I was able to narrow it down even further. I kept everything in my code EXACTLY how it was and commented out parts of your code until I found the one piece that made it work. The key is this: \fancyhf{} Which needs to precede \begin{document} Originally, my code had that \fancyhf{} tag, but it followed my \begin{document} tag, so it didn't work correctly. Everything works perfectly now. – Blairg23 Feb 6 '14 at 8:22
• @Blairg23 Happy to help. – karlkoeller Feb 6 '14 at 8:23
• Can you vote up my question/answer if you haven't already? I am just shy of being able to upvote other peoples' answers. – Blairg23 Feb 8 '14 at 21:27
• @Blairg23 I've upvoted both your question and your answer. Now, if you want, you can upvote mine. :-) – karlkoeller Feb 9 '14 at 0:13

I was able to narrow it down even further. I kept everything in my code EXACTLY how it was and commented out parts of your code until I found the one piece that made it work.

The key is this:

\fancyhf{}


Which needs to precede

\begin{document}


\fancyhf{}


tag, but it followed my

\begin{document}


tag, so it didn't work correctly. Everything works perfectly now with the simple addition of the

\fancyhf{}


This works:

    \pagestyle{fancy}{%
\fancyhf{}%