[Tex/LaTex] Configure page heading in book class

header-footer

I am writing my thesis and I have a trouble formatting the heading.

The minimal working example is:

\documentclass[a4paper,11pt,oneside]{book}
\usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}

\begin{document}

\chapter{Introduction}  

Citation here

\newpage

Bla bla

\chapter*{Conclusion}  

\end{document}

My output heading looks like this:
enter image description here

But I need this, i.e. with such a font setup and an under rule:
enter image description here

Best Answer

Here's an option with fancyhdr:

\documentclass[a4paper,11pt,oneside]{book}
\usepackage[DIV=14,BCOR=2mm,headinclude=true,footinclude=false]{typearea}
\usepackage{lipsum}
\usepackage{fancyhdr}
    \fancypagestyle{plain}{\fancyhf{}\renewcommand{\headrulewidth}{0pt}} % To clear page numbers from footer, and header line at the start of every chapter

    \pagestyle{fancy}
    \fancyhf{}% Clear header/footer
    \fancyhead[L]{\nouppercase\leftmark}
    \fancyhead[R]{\thepage}

\begin{document}
    \chapter{Introduction}  
    \lipsum[1-15]
    \chapter{Introduction}  
    \lipsum[1-15]
\end{document}

f

s

Related Question