The below commands could be used to renew the chapter and section makrs to achieve this ``` \renewcommand{\chaptermark}[1]{\markboth{\if@mainmatter\chaptername\ \thechapter~~\fi#1}{}} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} ```