diff --git a/declaration-license.tex b/declaration-license.tex index bd99a5d7c89ed0204ed93adf694dca08339009cd..0e840e5777732b8717eadea2d0d70c1395124244 100644 --- a/declaration-license.tex +++ b/declaration-license.tex @@ -1,3 +1,5 @@ +\thispagestyle{plain} + \IfStrEq{de}{\localeinfo{language.tag.bcp47}}{ \foreignlanguage{ngerman}{ diff --git a/scrskoma.cls b/scrskoma.cls index 75809d866e63d5eae5413d3813326a09e980ed41..a17ad35fa745eb1a57654b8fe3500662031b27a7 100644 --- a/scrskoma.cls +++ b/scrskoma.cls @@ -104,7 +104,15 @@ \setcounter{secnumdepth}{\subsubsectionnumdepth} % Print chapter titles in the header -\pagestyle{headings} +\RequirePackage[ + % automatic page titles from the chapter name + automark, + % print a line separating the header from the rest of the text + headsepline +]{scrlayer-scrpage} + +% Not required, scrheadings replaces the default headings and plain page styles +%\pagestyle{scrheadings} %-------------------------------------------------------------------------------