1

I'm usually using scrheadings pagestyle from the scrpage2 package to customize my header / footer. But it uses slanted shape as default. How can I switch that behaviour to use the normal font shape? A MWE might be:

\documentclass[oneside,12pt,pointednumbers]{scrartcl}
\usepackage{scrpage2} %Kopf- und Fußzeilen

\pagestyle{scrheadings}

\cohead{Das ist ein Test.}

\begin{document}
Lorem Ipsum.
\end{document}
3
  • 1
    Isn't scrpage2 outdated?
    – user31729
    Mar 5 '17 at 19:47
  • 1
    Off topic: replace the obsolete option pointednumbers by numbers=endperiod.
    – esdd
    Mar 5 '17 at 22:27
  • Thanks a lot! That was on my ToDo list: Find an alternative for pointednumbers.
    – LukeLR
    Mar 8 '17 at 10:11
4

You should use package scrlayer-scrpage. Here is how to change the headers font:

\documentclass[oneside,12pt,numbers=endperiod]{scrartcl}
\usepackage{scrlayer-scrpage}
\usepackage{lipsum}
\pagestyle{scrheadings}
\setkomafont{pagehead}{\sffamily\upshape}
\cohead{Das ist ein Test.}

\begin{document}

\section{A test section}

\lipsum[11]

\end{document} 

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.