2

I started using scrpage2 with scrbook. First thing I don't understand is the usage of \automark[chapter]{chapter}. How could I let display chapter on left and right header. I managed to do that with subsection and chapter etc. But the first seems to be more difficult..

\documentclass[12pt, draft]{scrbook} 
\usepackage[automark]{scrpage2}   

between \begin{document} and \end{document}

 \pagestyle{scrheadings}
 \ohead{\pagemark} 
 \cehead{\leftmark} 
 \cohead{\rightmark} 
 \ofoot[]{} 

%%%%%%

\chapter{Intro}
\automark[chapter]{chapter} 


\chapter{Different Chapter}
\automark[subsection]{chapter} 

etc.

1
  • What do you need, precisely?
    – egreg
    Apr 11 '12 at 15:56
2

As far as I can understand, \headmark refers to the chapter on even pages (left hand) and to sections on odd pages (right hand).

If you say

\ihead{\leftmark}

you'll have the chapter title in the inner side of the header on all pages, without any need to give \automark commands.

3
  • Thanks! I would further more need to change the \leftmark and \rigthmark settings for each new chapter, when I want them to change. Apr 11 '12 at 15:58
  • @algomachine I can't understand
    – egreg
    Apr 11 '12 at 16:09
  • See here . Apr 11 '12 at 16:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.