I changed the document from to "twopage". I would like at the header to appear the chapter name on the one page and the section name on the other (this is the default fancyhdr style I think). But the
\rightmark is not recognized as section but as chapter, just like the \leftmark.I tried to add a new command and use it insted of
\rightmark: Code: Select all
\renewcommand{\sectionmark}[1]{ \markright{#1}{} }Are there any ideas how to solve this problem?
Thank you.
elinach