# scrpage2 headers in classic thesis

I am trying to modify the headers in the classicthesis document class, which uses {scrpage2} of koma-script. What I want to have is no number in the sections header on the odd page. I have looked on the questions here and found some answer that I tried. However, the result is that there still appear numbers, albeit 0 for the section and the chapter number. (example: 0.0 in the introduction, and 1.0, 2.0 etc. for chapter 1, chapter 2).

Also, I would like to make the unnumbered chapters such as "Introduction", "Conclusion", and "bibliography" in small caps as the regular chapters.

MWE:

  \documentclass{scrbook}

\PassOptionsToPackage{automark}{scrpage2}
\RequirePackage{scrpage2}
\ifthenelse{\boolean{@nochapters}}
{\relax}
{\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}   {\spacedlowsmallcaps{#1}}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}
\ifthenelse{\boolean{@nochapters}}%
{\section*{\contentsname}}%nochapters
{\chapter*{\contentsname}}%chapters
\@mkboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}}

\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}
\blinddocument
\Blinddocument

\end{document}


I get these results:

• Please clarify: Where is the code taken from? Copied from classicthesis.sty or already altered by you? Dec 9, 2013 at 23:16
• Hi, thanks for your answer. Where can I put my mew? I don't have enough space in the comment here. Dec 13, 2013 at 12:45
• The code is copied from classicthesis.sty and compiled into a MWE. Dec 13, 2013 at 13:11

I've found a way to make it work, but it's by specifying manually every single entry (which is fastidious). I enter the following:

    \addchap{Introduction: On Cosmopolitanism}
\markboth{\MakeUppercase{\spacedlowsmallcaps{Introduction:}}}{\MakeUppercase{\spacedlowsmallcaps{On Cosmopolitanism}}}


Same for the section:

    \addsec{Cosmopolitan theory}
\markboth{\MakeUppercase{\spacedlowsmallcaps{Introduction: On Cosmopolitanism}}}{\MakeUppercase{\spacedlowsmallcaps{Cosmopolitan Theory}}}

• You could convert these into your own commands and use these instead: \newcommand*{\mychap}[2]{\addsec{#1}\markboth{\MakeUppercase{\spacedlowsmallcaps{#2}}}{\MakeUppercase{\spacedlowsmallcaps{#2}}}} and analoguesly for sections. Dec 17, 2013 at 14:19
• Thanks. Where do you mean I should put these commands? Dec 19, 2013 at 13:34
• Both \newcommand… into preamble, best place is where you already have definitions for chapters and/or sections. In document body you replace these two lines for every chapter/section with the according new command. Dec 19, 2013 at 19:11