Consider the code
\documentclass[openany]{book}
\usepackage{lipsum}
\usepackage{fancyhdr}
\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}
\begin{document}
\LARGE
\thispagestyle{empty}
\pagestyle{fancyplain}
\renewcommand{\headrulewidth}{0pt} % Removes line under header.
\lhead[{\emph{{\Large{\thepage}}}}]{LEFT}
\chead[{\emph{{\Large{MIDDLE}}}}]
{{\emph{\Large{MIDDLE}}}}
\rhead[RIGHT]{{\emph{{\Large{\thepage}}}}}
\chapter*{CHAPTER 1}\thispagestyle{empty}
\lipsum[1-4]
\chapter*{CHAPTER 2}
\lipsum[1-4]
\chapter*{CHAPTER 3}
\lipsum[1-2]
\end{document}
Aside from the fist page (Chpater 1) in which I have removed both the header and the page number at the bottom by \thispagestyle{empty}
, the remaining seven pages contain both a header and a page number at the bottom of each page.
QUESTION: How may the above code be modified in order that for pages 2-8: No header appears for \chapter
pages (pgs 4,7; just a page number centered at the bottom of the page), whilst only the header appears (no page number at the bottom) for non-chapter pages (pgs 2, 3, 5, 6, 8)?
Thank you.