I'm writing on my diploma thesis and have some problems with the fancyhdr package. What I would like to have:
- page number (right head) on chapter pages
- page number (right head) and section number + section title on all other pages
- no footer
scrbook
(KOMA-Script) as document class. Here's my preambel:
Code: Select all
Code, edit and compile here:
\usepackage{fancyhdr}\pagestyle{fancy}\renewcommand{\sectionmark}[1]{\markright{\thesection.\#1}}\lhead{\rightmark}\cfoot{}\fancypagestyle{plain}\fancyhf{}\rhead{\thepage}\renewcommand{\headrulewidth}{0.4pt}
Many thanks for your help.
Regards
Christoph