fancyhdrpackage to modify the header and footer of several KOMA-script classes (
scrreprt). Everything compiles fine and the output is really nice. I'm only getting a single warning in the console (shown below).
However, I know it's not recommended to use
fancyhdrwith a KOMA class document since the KOMA classes already have built-in features to modify the header and footer. So I have two questions :
1. What are the wrong things that could happen or what should I expect if I still use the
fancyhdrpackage with a KOMA class document ?
2. What should be the proper code to replace the
fancyhdrcode shown below, if I really have to scrap that package ?
Here's the warning I get :
Class scrartcl Warning: Usage of package `fancyhdr' together
(scrartcl) with a KOMA-Script class is not recommended.
(scrartcl) I'd suggest to use
(scrartcl) package `scrlayer-scrpage'.
(scrartcl) Nevertheless, using requested
(scrartcl) package `fancyhdr' on input line 9.
So how should I replace the