In KOMA-Script the header and footer of the page is mainly controlled by the page style. The classes usually provide four page styles:
empty
— no running head, no page number (actually provided by the LaTeX kernel),
plain
— usually only page number (the style from the LaTeX kernel is overloaded by the KOMA-Script classes to provide additional features),
headings
— automatic running head and page number,
myheadings
— manual running head and page number.
The styles plain
, headings
and myheadings
are configurable within certain limits. If you want more, you need an additional package like scrlayer
, scrlayer-scrpage
or fancyhdr
or scrlayer-fancyhdr
. For the use with KOMA-Script classes mainly scrlayer-scrpage
is recommended, because various possibilities of the KOMA-Script classes are supported automatically, whereas with the other packages the user is increasingly responsible for this himself. The least support the user gets is when using fancyhdr
. Therefore, the classes warn that some things do not work (automatically) when using this package and recommend to use scrlayer-scrpage
instead. Accordingly, this warning also exists when using scrlayer-fancyhdr
.
scrartcl
or scrreprt
scrlayer-scrpage
in multiple documents without having to copy its definition from one document to another\thispagestyle
is executed on the correct page
Wiki (English): HowTo
Wiki (English): HowTo_AutomaticRunningHead
Wiki (English): HowTo_ChapterNumberSeparatorInPageHeader
Wiki (English): HowTo_FootSepLine
Wiki (English): HowTo_HeadSepLine
Wiki (English): HowTo_HeaderSeparateNumberText
Wiki (English): HowTo_MoveFootSepLine
Wiki (English): HowTo_PageHeadBackgroundColor
Wiki (English): HowTo_PagenumberWithDash
Wiki (English): HowTo_PaginationInFootOutside
Wiki (English): HowTo_PaginationInFooterMiddle
Wiki (English): HowTo_PaginationInFooterRight
Wiki (English): HowTo_PaginationInHead
Wiki (English): HowTo_PaginationSeparatorInFoot
Wiki (English): HowTo_PaginationSeparatorInHead
Wiki (English): HowTo_ReusePageStyles
Wiki (English): HowTo_SectionPageStyle