I'm using scrbook class with a frontmatter and mainmatter and I've adjusted the contents of my headings using \usepackage{scrlayer-scrpage}
.
Just like I wanted, the first page of the Contents has a plain pagestyle (roman numeral page number at the bottom) But my problem was on the second page of the Contents: It has a Chapter heading at top, and a roman numeral page number at the bottom. \tableofcontents
is supposed to generate entirely \pagestyle{plain}
type page numbers, even when the contents span two or more pages. Is that correct?
I've fixed it by manually adding \pagestyle{plain}\tableofcontents
and then adding \mainmatter\pagestyle{scrheadings} afterwards, to get plain Contents pages on both, and then revert to headers and footers on for the mainmatter chapters (except the first chapter pages which are plain, of course).
So, I just want to know if I've broken something in preamble to cause \tableofcontents
to misbehave, or if what I'm experiencing normal behavior of the \tableofcontents
?