After the title page "Appendices" since I have a doublepage, openright document, there is a blank page and then the Appendix A.
\documentclass[a4paper,11pt,titlepage,twoside,openright]{book}
\usepackage[utf8]{inputenc}
\usepackage[italian,english]{babel}
\usepackage[T1]{fontenc}
\usepackage[titletoc,page]{appendix}
\usepackage{lipsum}
\begin{document}
\chapter{Intro}
\lipsum
\lipsum
\begin{appendices}
\chapter{First}
\lipsum
\chapter{Second}
\lipsum
\end{appendices}
\end{document}
I would like to change that stile form blank to plain (just with the page number).
I tried to put
\begin{appendices}
\thispagestyle{plain}
But it is not working.
I saw on the package info were I should change the style, but I don't know how to do it.
\newcommand{\@chap@pppage}{%
\clear@ppage
\thispagestyle{plain}%
\if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
\null\vfil
\markboth{}{}%
{\centering
\interlinepenalty \@M
\normalfont
\Huge \bfseries \appendixpagename\par}%
\if@dotoc@pp
\addappheadtotoc
\fi
\vfil\newpage
\if@twoside
\if@openright
\null
\thispagestyle{empty}% I should change this empty to plain
\newpage
\fi
\fi
\if@tempswa
\twocolumn
\fi
}
Can anybody tell me how to change that?
Thank you in advance!
Best Answer
You've found the right piece of code that has to be modified!
You simply have to change
\newcommand
to\renewcommand
since the command is already defined and put the code between\makeatletter
and\makeatother
because of the presence of the character@
in the code (see this thread), and obviously changeto
that means:
So, if you change your MWE to:
you will obtain you want.