I am writing my thesis in LyX, using book koma-script document class. However, I need to make some changes in order my thesis fits to my university requirements.
One of them is that the page numbering must be in the center. In order to do so, I used \cfoot{\thepage}
. However, at the beginning of each chapter the numbering goes on the right, but the next pages are centered.
As you can see, the number is on the right, but I want to be in the center. This happens at every chapter, but also at the TOC/LOF/etc. So, my question is how can I center the page numbering of the first page at each chapter in LyX?
Thanks in advance
PS: In LyX I also use the following options for my document class: listof=totoc,english,listtotoc, chapterprefix, tablecaptionabove, bibtotoc, parskip=full, headings=small, numbers=noenddot,intoc. I don't know if there is a conflict between them and center numbering of every page
Best Answer
From the
fancyhdr
manual (p. 7)You could therefore write (adapted from the same manual, one page later)
Loosely related advice: when using classes from the KOMA bundle it may perhaps be better to use the package
scrpage2
. (The same issue applies there: it is described in the KOMA documentation. I can't give you an exact reference here for I have an older version.)