Consider the following MWE:
\documentclass[a4paper, twoside, 11pt]{report}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\renewcommand{\sectionmark}[1]{\markright{\thesection~ - ~#1}}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~ - ~#1}{}}
\fancyhead[RO]{\textsc\rightmark}
\fancyhead[LE]{\textsc\leftmark}
\fancyfoot[C]{\thepage}
\fancypagestyle{plain}
{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{\thepage}
}
\begin{document}
\begin{titlepage}
Nice titles and all
\end{titlepage}
\thispagestyle{empty}
\cleardoublepage
\pagenumbering{roman}
\begin{abstract}
\thispagestyle{plain}
This is a very nice abstract.
\end{abstract}
\thispagestyle{plain}
\cleardoublepage
\tableofcontents
\thispagestyle{plain}
\cleardoublepage
\thispagestyle{plain}
\cleardoublepage
\thispagestyle{plain}
There is one problem: after the table of contents (which is now one page and I think will stay one page) the doubleclearpage makes the empty page I want, but it keeps the header with contents in it, even though I tell him to take the plain pagestyle. It seems that tableofcontents likes his own pagestyle. How can I fix this? Note: I have considered other questions regarding similar questions (Table of contents with page style empty) but none of the solutions worked for me.
\thispagestyle{plain}only one\pagestyle{plain}beforeabstractand then\pagestyle{fancy}before your first chapter. – touhami Jun 21 '16 at 17:16\documentclass[a4paper, 11pt]{book}or\documentclass[a4paper, twoside, openright, 11pt]{report}and avoid\cleardoublepage– touhami Jun 21 '16 at 17:17