Page LayoutDouble Page Number in Appendix

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Double Page Number in Appendix

Post by marie2011 »

Dear forum members,

I have been reading old messages in order to obtain myself an answer. I found a similar problem which was sent at the beginning of this year. However, it had to do with an abstract and I do not know if the same applies for my problem.

I get a double page in my appendixes (see attached picture). I tried with \pagestyle{empty} and \thispagestyle{empty}. I was wondering which one I have to use and where I have to put it. Do I have to include a \renewcommand order?

My main document includes \include{apendix}. In this \appendix have the following code:

Code: Select all

 \pagenumbering{arabic}
 \addtocounter{page}{-1}
  \appendix
  \clearpage % o \cleardoublepage
  \noappendicestocpagenum
  \addappheadtotoc
  {
  \makeatletter
  \let\ps@plain\ps@empty
  \appendixpage
  \makeatother
  }
In the document in which I do not want to have any pagination I have:

Code: Select all

\section{First example}
\label{sec:first-example}

\subsection{Errors}
\label{sec:errors}
Do you know how I can solve this problem?

As usual, many thanks in advance.

Best regards,

Marie
Attachments
double-page.png
double-page.png (1.46 KiB) Viewed 2998 times
Last edited by localghost on Thu Nov 08, 2012 6:19 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Double Page Number in Appendix

Post by localghost »

Loosely code snippets are not very helpful. In order to give an adequate problem description, avoid guesswork and random shots and to save us and you valuable time please prepare a self-contained and minimal example.


Thorsten
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Re: Double Page Number in Appendix

Post by marie2011 »

Dear Localghost,

I apologize for that. I tried to include a minimal example, but mine did not work at all.

Best regards,

Marie
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Double Page Number in Appendix

Post by localghost »

marie2011 wrote:[…] I tried to include a minimal example, but mine did not work at all. […]
I can't really comprehend the problem with the minimal example. All necessary information can be found by just following the link. For building the example you might prefer the way of "hacking down". The critical part will most likely be the setup for the headers (or page style in general). But there isn't yet any useful information about this. So this is the starting point. We can't help if we don't know what you are doing.
Post Reply