2

I am generating an appendix in my report using the command

\documentclass[12pt]{report}
\begin{document}
\begin{appendices}
\include{appendix1}
\end{appendices}
\end{document}

This command itself is generating a section header page as shown in image. This page contains a page number. I don't want a page number on this section header page and rest pages should have page number as it ease. How to do this enter image description here

jjdb
  • 2,238

2 Answers2

3

Here's a solution with xpatch:

\documentclass[12pt]{report}

\usepackage[page]{appendix}
\usepackage{lipsum}
\usepackage{xpatch}

\makeatletter
\xpatchcmd{\@chap@pppage}{%
\thispagestyle{plain}}{%
\thispagestyle{empty}}{}{}
\makeatother

\begin{document}

\begin{appendices}
\chapter{}
\lipsum[1]
\end{appendices}

\end{document} 
Bernard
  • 271,350
1

You can redefine the \appendixpage command in the preamble of your document like so.

\documentclass[12pt]{report}
\usepackage{lipsum}
\usepackage{appendix}

\let\plainappendixpage\appendixpage
\makeatletter
\renewcommand{\appendixpage}{%
  \begingroup
  \let\ps@plain\ps@empty
  \plainappendixpage
  \endgroup}
\makeatother

\begin{document}
    \begin{appendices}
        \appendixpage 
        \lipsum
    \end{appendices}
\end{document}

It should be noted that this code comes from "Stefan Kottwitz" on this page so he should be credited and the question could be marked as duplicate.

Georg
  • 1,566