adkdk wrote:[...] This leaves footers (with centered page number) untouched. However, on the page which opens new chapter, page number is missing. [...]
Always post
full examples to enable others to comprehend problems clearly. I can't reproduce the undesired behaviour with your code snippet. On chapter pages the »plain« page style is used by default. The code below works flawlessly.
Code: Select all
\documentclass[11pt,a4paper,twoside,english]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{fancyhdr}
\usepackage{blindtext}
% Page setup (fancyhdr)
\fancyhf{}
\fancyhead[LE]{\nouppercase{\leftmark}}
\fancyhead[RO]{\nouppercase{\rightmark}}
\fancyfoot[CE,CO]{\thepage}
\pagestyle{fancy}
\begin{document}
\blinddocument
\end{document}
As
frabjous already suggested, you can alternatively use the
titlesec package. But don't use it in conjunction with
fancyhdr. Decide to use on or the other. The code below shows a similar example.
Code: Select all
\documentclass[11pt,a4paper,twoside,english]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[pagestyles,raggedright]{titlesec}
\usepackage{blindtext}
% Page setup (titlesec)
\newpagestyle{main}{%
\headrule
\sethead[\chaptername~\thechapter\quad\chaptertitle][][]{}{}{\thesection\quad\sectiontitle}
\setfoot[][\thepage][]{}{\thepage}{}
}
\pagestyle{main}
\begin{document}
\blinddocument
\end{document}
I recommend to use
titlesec because it is much more flexible.
Best regards
Thorsten