I have a layout problem, which consumes a lot of time without any results.
I use the fancyhdr pkg and add a header rule:
Code: Select all
\documentclass[twoside,openright,a4paper,11pt]{book}
\usepackage{fancyhdr}
% pagestyle
\pagestyle{fancy}
\fancyhf{}
\fancyhead[RO]{\slshape \rightmark}
\fancyhead[LE]{\slshape \leftmark}
\fancyfoot[RO,LE]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter\hspace{1em}
\MakeUppercase{#1}}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\fancypagestyle{plain}{%
\fancyhead{}
}
% those blank pages
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
Code: Select all
\chapter
For the chapters I've already found a workaround with the
Code: Select all
\thispagestyle{empty}
Code: Select all
\chapter
an empty page style).
I would be very grateful for any suggestions
greetings
Florian