0

I am using a documentclass provided by my school to write my thesis. I realize this question may not have an answer without my being able to understand what is written in that file but let me try anyway.

Pages at the beginning of chapters are numbered at the bottom, but other pages are numbered in the top right corner. These other pages also have the title of the chapter centered at the top of every page. The problem is that sometimes my chapter title runs into the page number, sometimes even overlapping.

I would like to put the page number at the bottom instead. Since I'm hoping not to mess with the documentclass file, I'd like to do this by over-riding the settings from there.

From reading other posts, I tried to do this:

\documentclass[
    12pt,oneside]{myschool_PhD}

\usepackage{fancyhdr} 
\fancyhf{}
\cfoot{\thepage}
\pagestyle{fancy}

\begin{document}

Nope.

\end{document}

This does put the page numbers at the bottom but it also puts a wide margin and horizontal line at the top of every page. From the look of it I probably have to pick which "pagestyle" is active, not try to write both. But... how to I get all my page numbers at the bottom without changing anything else?

  • If you should use \pagestyle{headings}, using fancy is far away from the specifications than using plain. – Kola B. Dec 17 '15 at 6:31
  • Okay, actually, let me put the question back how it was and accept your answer, then ask another one. This is getting messy. – j0equ1nn Dec 17 '15 at 6:32
0

And the simple way is

  \pagestyle{plain}

instead of your

\usepackage{fancyhdr} 
\fancyhf{}
\cfoot{\thepage}
\pagestyle{fancy}    
  • Simple is best. I realize now there's another issue though. Let me edit my post accordingly. – j0equ1nn Dec 17 '15 at 6:25
  • @j0equ1nn It is better to ask new question, because this one may be useful for future users. – Kola B. Dec 17 '15 at 6:27
  • Woops. I saw your comment after editing it. – j0equ1nn Dec 17 '15 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.