As I am using KOMA it ist recommended to use the package scrlayer-scrpage instead of fancy.
Unfortunately I am encountering some problems: I am using scrbook, and the head and footer shoul look like:
- Head separation line
- on the left page - header: section
- on the right page - header: chapter, BUT without "chapter" at the beginning (only the number)
- on every page - footer: pagenumber
That's my code I am actually using:
\usepackage[headsepline]{scrlayer-scrpage}
\setlength{\headheight}{1.1\baselineskip}
In combination with:
\automark[section]{chapter}
\clearpairofpagestyles
\ihead{}
\ohead[\headmark]{\headmark}
\ifoot{}
\ofoot[\pagemark]{\pagemark}
\renewcommand*{\chapterpagestyle}{empty}
But there are some bugs now I can't figure out myself:
- the pagenumber is missing on the new page of a chapter (with and without number)
- the chapter displayed in the header is not without "chapter" at the beginning
- After the TOC I have created a nomenclature with acronym. Unfortunately the header still is named Table of contents. How do I tell latex to change that the chapter has changed?
Thanks a lot for your help!