LaTeX forum ⇒ Theses, Books, Title pagesHow to remove the word 'Chapter' from page headers.

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Idz
Posts: 2
Joined: Tue Dec 01, 2020 12:14 am

How to remove the word 'Chapter' from page headers.

Postby Idz » Tue Dec 01, 2020 12:25 am

Dear all,

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

User avatar
Ijon Tichy
Posts: 446
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Tue Dec 01, 2020 8:58 am

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 a Infominimal working example.

For example, with KOMA-Script classes it is very easy, either remove option chapterprefix or redefine \chaptermarkformat. See the manual for more information.

Idz
Posts: 2
Joined: Tue Dec 01, 2020 12:14 am

Postby Idz » Tue Dec 01, 2020 2:07 pm

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 a Infominimal working example.

For example, with KOMA-Script classes it is very easy, either remove option chapterprefix or redefine \chaptermarkformat. See the manual for more information.


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.

Bartman
Posts: 179
Joined: Fri Jan 03, 2020 2:39 pm

Postby Bartman » Wed Dec 02, 2020 7:50 am

Please explain to the readers of your topic where they can retrieve your template.

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.


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 1 guest