I'm trying to achieve a rather simple thing: a double-sided document with the back of the cover blank + a blank page before each new chapter. I've got this:
\documentclass[a4paper, 10pt]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{\leftmark }
\fancyhead[LO,RE]{}
\fancyfoot[LE,RO]{\textbf{\thepage}}
\fancyfoot[C]{}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\chaptermark}[1]{%
\markboth{\MakeUppercase{\thechapter.\ #1}}{}}
%\renewcommand{\chaptermark}[1]{%
%\markboth{\MakeUppercase{#1}}{}}
\fancypagestyle{plain}{%
\fancyhf{}
\fancyfoot[LE,RO]{\textbf{\thepage}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}
\fancypagestyle{blank}{%
\renewcommand{\headrulewidth}{0pt}
\fancyhead[LE,RO]{}
\fancyhead[LO,RE]{}}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\thispagestyle{blank}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\begin{document}
\begin{titlepage}
\begin{center}
\huge Test
\end{center}
\end{titlepage}
\thispagestyle{empty}
\frontmatter
\tableofcontents
\mainmatter
\thispagestyle{fancy}
\chapter{Test}
\end{document}
I need
\fancypagestyle{blank}{%
\renewcommand{\headrulewidth}{0pt}
\fancyhead[LE,RO]{}
\fancyhead[LO,RE]{}}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\thispagestyle{blank}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
to create the blank page before the chapter. But if I use this, the back of my cover is numbered (2). In other words, thispagestyle{empty} is not applied.
