# Changing the Header Text Style

I want to change the text style of header but unfortunately, into the packages file I have used, I didn't find any package related to the header.

I have used the cmr family font style for the normal text and I would like to know, how can I also make the header style tocmr and in italic form? (See the attached figure to see the text style difference between header and the normal text) MWE:

\documentclass[
DIV=12,
BCOR=5mm,
]{scrbook}[2015/10/03]

\begin{document}

\section{Model Specifications}
Specifications and the reactances of the synchronous generator are tabulated as:

\end{document}

• You mean you want the header with a sans serif font, not cmr, which has serifs? Oct 30 '16 at 0:53
• I want the header with same font as that of normal text, which is acmr. @Bernard Oct 30 '16 at 1:07
• This picture is not the result of the MWE. Headers with text font in italic shape are default for scrbook. Maybe you load/use a package like fancyhdr?
– esdd
Oct 30 '16 at 6:13
• Yes, the picture is from actual document that is being written in TexStudio. I had fancyhdr but I'm not using it any more. And I got the proper result if I test this with Texworks. But I want it in TexStudio. @esdd Oct 31 '16 at 13:12
• Please run your MWE in a new file with TeXStudio and show as the result of the code in your question. TeXworks and TeXstudio are only editors. There should be no difference.
– esdd
Oct 31 '16 at 13:30

\setkomafont{pageheadfoot}{%

• I have tried your suggested code in Texworks and it has worked there. But I am writing in Texstudio and want to make it work here. Oct 30 '16 at 1:28