Generalappendix question

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
azuki
Posts: 12
Joined: Fri May 02, 2008 7:22 pm

appendix question

Post by azuki »

I'm trying to add an appendix and have a few questions. Here's my code:

Code: Select all

\appendix
\addappheadtotoc
\input{appendix}
my appendix file is this:

Code: Select all

\chapter{Appendix}

\begin{table}[h]
etc...
\end{table}
I have 2 problems:
1) the title appears as "Appendix A", and then below that, "Appendix". I want just "Appendix" in the heading (i.e. no "A" and Appendix written only once, but if I remove \chapter{Appendix} these headings disappear altogether).
2) this was mentioned in some earlier thread but it didn't work for me...how can i get the appendix heading and the contents of my appendix to be on the same page? I've tried using \input as was suggested in that other thread, as well as \nopagebreak and \nopagebreak[4] but they all didn't work for me

Any help would be appreciated!

Recommended reading 2024:

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

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

Florian
Posts: 16
Joined: Sat Mar 15, 2008 7:14 pm

Re: appendix question

Post by Florian »

Hi Azuki,

for me it works as follows, and if I understood you correctly, it is what you want:
In the header of the document you load the appendix package by

\usepackage{appendix}

Also you write

\renewcommand*\appendixpagename{Appendix}
\renewcommand*\appendixtocname{Appendix}

within the header.
At the end of the document, where your appendix is supposed to be, you write

\appendix
\appendixpage

I hope this helps you.

Best,
Florian
azuki
Posts: 12
Joined: Fri May 02, 2008 7:22 pm

Re: appendix question

Post by azuki »

Hmm...thanks for the reply! Those commands would make sense, but it still didn't work! I think there may just be something with the custom class that's clashing with this. Does anyone know of a way to turn the appendix counter off? I omitted \appendixpage from my code because I didn't want that extra page, and instead, want a heading ("Appendix") just above where my appendix tables will start
Post Reply