TeX - LaTeX Asked by Vuong Trinh on April 29, 2021
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:
But I need this, i.e. with such a font setup and an under rule:
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]{nouppercaseleftmark}
fancyhead[R]{thepage}
begin{document}
chapter{Introduction}
lipsum[1-15]
chapter{Introduction}
lipsum[1-15]
end{document}
Correct answer by Troy on April 29, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP