Some people wants to remove running headers and footers from the pages, where a chapter or a section is begining. But I'd like to stay it in place. How can I make it? (I use KOMA-Script (scrbook) and scrpage2.)
[Tex/LaTex] How to place a running header and a footer to the page with chapter/section heading
header-footerkoma-scriptscrpage2sectioning
Related Question
- [Tex/LaTex] Section+Subsection in the header AND chapter in the footer using book (memoir)
- [Tex/LaTex] komascript/scrpage2: odd page header in passages without a \section (two-sided docs)
- [Tex/LaTex] scrpage2 headers in classic thesis
- [Tex/LaTex] How to make running heads in book class show Part and Chapter, rather than Chapter and Section
- [Tex/LaTex] Headmark on first chapter page with scrlayer-scrpage
Best Answer
If you use
scrpage2
and itsscrheadings
pagestyle, pages that were formerly assigned theplain
style (e.g. chapter starting pages) will now be assignedscrplain
. The header/footer commands ofscrpage2
feature an optional argument that controls thescrplain
style.A possible source of confusion is that commands like
\ohead[\headmark]{\headmark}
may still produce an empty heading on chapter starting pages because\headmark
itself may be empty (e.g. because it refers to\rightmark
in twoside documents). Using e.g.\leftmark
should produce non-empty "starting" headings.(The blindtext package is only used to add some dummy text to the example.)