Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
What do you need, precisely? –  egreg Apr 11 '12 at 15:56

1 Answer 1

up vote 2 down vote accepted

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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