I know this has been covered but I can't get any solutions that I've seen to work. Page numbers for my thesis are upper right but the first page of each chapter should have it bottom center. I tried using ERT (in LYX) \thispagestyle{plain} and also loading \usepackage{sectsty} and then using \chapterfont{\pagestyle{plain}} after the chapter heading.

I looked at Modifying plain page style and questions on changing position of page number on the first page of every chapter of a book and page number position

I'm using the class from CU Boulder

EDIT: I don't go to CU but I am trying to use the class for my thesis.

2 Answers 2


If you are using Koma-Script, you can use the scrpage2 package, and then define your own styles scrheadings and scrplain (see the Koma-Script manual). You can then assign them to all pages but the chapter pages, or to the chapter pages specifically:

  • I don't believe I'm using Koma-Script....how do I tell? Is it included in .cls? I'm using LyX so I've missed some of that stuff.
    – Dominik
    Apr 21, 2011 at 16:39
  • Koma-Script provides several classes to replace the standard LaTeX classes --- scrbook replaces book, scrartcl replaces article, etc. These classes are generally more configurable than the traditional LaTeX classes. See mirrors.ctan.org/macros/latex/contrib/koma-script/scrguien.pdf for documentation.
    – raphink
    Apr 21, 2011 at 21:35

I did get

\fancyhf{}  % Delete current setting for header and footer

\fancypagestyle{main}{% page style for normal pages

  \fancyhead{}  % Get rid of headers and footers on plain pages...
  \renewcommand{\headrulewidth}{0pt}  % ...and of the lines

  \fancyhead{}  % Get rid of headers and footers on empty pages...
  \renewcommand{\headrulewidth}{0pt}  % ...and of the lines

to work with \pagestyle{main} as ERT before any main text and \thispagestyle{plain} as ERT after each chapter heading.

thanks meho_r

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.