# Appendix page and thispagestyle{empty}

I have the following document:

\documentclass[twoside, a4paper, 12pt, notitlepage]{report}
\usepackage[english]{babel}
\usepackage[toc,page]{appendix}

\usepackage{fancyhdr,graphicx,lastpage}%
\fancypagestyle{plain}{
}
\pagestyle{plain}

\begin{document}
\chapter{example}
%\thispagestyle{empty}
\begin{appendices}
%\thispagestyle{empty}
example
\end{appendices}

\end{document}


Is there a way to remove the header from the title page of the appendices?

\thispagestyle{empty}


removes the header only from the page before or after the title page.

The plain page style is used in appendices still, but it still has of course the heading settings.

One way is to redefine in the plain pagestyle again in the appendices environment, with, say \AtBeginEnvironment.

fancyhdr complains about headheight being too small, that's why I adjusted it.

\documentclass[twoside, a4paper, 12pt, notitlepage]{report}
\usepackage[english]{babel}
\usepackage[toc,page]{appendix}

\usepackage{blindtext}
\usepackage{etoolbox}

\makeatletter
\AtBeginEnvironment{appendices}{%
\clearpage%
\fancypagestyle{plain}{%
\fancyhf{}%
}
\thispagestyle{plain}
}

\usepackage{fancyhdr,graphicx,lastpage}%
\fancypagestyle{plain}{
}
\pagestyle{plain}

\begin{document}
\chapter{example}
\blindtext[10]
\begin{appendices}
\chapter{foo}
\blindtext[10]
\end{appendices}

\end{document}


• I remember somehow that's a setting for this in appendix package. I'll try to come back – user31729 May 28 '16 at 14:36
• This would be a good solution, but it removes the fancyhdr at the beginning of the chapter before too. – bdvd May 28 '16 at 14:40
• @bdvd: Indeed. Which is strange, in my point of view – user31729 May 28 '16 at 14:42
• @bdvd: A \clearpage would be better. I am still wondering about this – user31729 May 28 '16 at 14:54
• You are right. We should do it with \clearpage – bdvd May 28 '16 at 14:56