I'm using twoside,openright
in my document class, and I'm wondering how to have "Page intentionally left blank" text on the pages that openright makes blank. I've seen people redefining \cleardoublepage
however this looks like it only works if you're using \cleardoublepage
explicitly in the document
EDIT Just found that that redefinition works fine actually! How would I add a page number into the following?
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside%
\ifodd\c@page\else
\vspace*{\fill}
\hfill
\begin{center}
This page intentionally left blank.
\end{center}
\vspace{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi
}
\makeatother
\cleardoublepage
in a document ?\thispagestyle{empty}
-->\thispagestyle{plain}