GeneralRemoving page number from \appendixpage

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mannesmann
Posts: 3
Joined: Fri May 13, 2011 10:22 pm

Removing page number from \appendixpage

Post by mannesmann »

Hi

At the end of my document, I wish to include an appendixpage. This is not a problem, but I would like to remove the page number from this (and only this) page.

I've tried using the commands

Code: Select all

\thispage{empty}
and

Code: Select all

\thispagestyle{empty}
unsuccessfully. I am using the memoir-class.

Any suggestions?

Code: Select all

\appendix

\addtocontents{toc}{\cftpagenumbersoff{chapter}}
\appendixpage

\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Removing page number from \appendixpage

Post by localghost »

Build a minimal example that clearly reproduces the undesired behaviour and is compilable as provided for everybody. Otherwise the problem is incomprehensible.


Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Removing page number from \appendixpage

Post by kaiserkarl13 »

If your appendix is on a different page from the \thispagestyle command, that command won't do anything (actually, it will, but it will remove the page number from the previous page or possibly the next page. I don't know what \appendixpage does in your document, but if it's a synonym for "\include{myappendix}", then put \thispagestyle{empty} inside that file and you should be set.

You can also do the following:

Code: Select all

\clearpage
\pagestyle{empty}
% text of appendix
% more text
% etc.
\clearpage
\pagestyle{plain} % or whatever
Post Reply