# Setting chapter for header line for one page

I am using the \pagestyle{scrheadings} with the current chaptername in the header. There is one chapter that should not appear in the table of contents, which is the reason why I'm using \chapter*{MyChapter}. The problem is that the chaptername of MyChapter is not shown in the header, but the name of the previous chapter. How can I change the chaptername in the header for only one single page?

Thank you

• Try \chaptermark{MyChapter} right after the \chapter*. – Tiuri Feb 21 '18 at 12:51
• \markboth{title wombat}{title wombat} – Johannes_B Feb 21 '18 at 13:12
• @Johannes_B this worked like a charm, thanks – mrk Feb 21 '18 at 14:27

With a KOMA-Script class you could set class option

headings=optiontoheadandtoc


Then you can use

\addchap[tocentry={}]{Chapter without tocentry}


Example:

\documentclass[