Theses, Books, Title pages ⇒ How to remove the word 'Chapter' from page headers.
How to remove the word 'Chapter' from page headers.
I have been rather unsuccessful in my attempts to change the page headers to not displaying the word 'Chapter'. So to be precise, by default it shows for example 'Chapter 1. Introduction', where I want it to display '1. Introduction', '2. Another chapter', etc. Any suggestions on tackling this issue?
Help is appreciated!
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
How to remove the word 'Chapter' from page headers.

For example, with KOMA-Script classes it is very easy, either remove option
chapterprefix
or redefine \chaptermarkformat
. See the manual for more information.
How to remove the word 'Chapter' from page headers.
I am using the MDT-Template (so the base class is book), with no relevant modifications. I'll be happy to post the code, but I'm not sure how useful that would be since it's (almost) identical to the default template.Ijon Tichy wrote:This depends on the class and if you are using page style packages like scrlayer-scrpage, fancyhdr or titleps or headings packages like titlesec or fncychap also on these. So please show us aminimal working example.
For example, with KOMA-Script classes it is very easy, either remove optionchapterprefix
or redefine\chaptermarkformat
. See the manual for more information.
How to remove the word 'Chapter' from page headers.
The
MastersDoctoralThesis
class (found at overleaf) is not only based on the book class, but also loads the already mentioned scrlayer-scrpage
package. This loads the scrlayer
package, which makes \chaptermarkformat
available.