Text FormattingChange Appendix Label but not Appendix Chapter Labels

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
simkn
Posts: 2
Joined: Fri Aug 12, 2011 11:30 pm

Change Appendix Label but not Appendix Chapter Labels

Post by simkn »

Hello,

I have an appendix, and only one appendix. Therefore I do not need it to be numbered/lettered. However, I do want the appendix section headings to say "A.1", "A.2", etc (where the "A" now stands for "Appendix" rather than "Appendix A"). In other words, I'd like for my table of contents to look something like this:

Appendix: Numerical Details
A.1 Visualization
A.2 Initial Data
etc...

Instead, right now I have:

Appendix A: Numerical Details
A.1 Visualization
A.2 Initial Data
etc...

All of my attempts at removing the "A" from the chapter heading have also removed the "A" in all of the section headings. I'd like to keep the "A" in the section headings but remove it from the chapter heading. Is this possible?

Thank you for any suggestions!

Mark

Recommended reading 2024:

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

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

simkn
Posts: 2
Joined: Fri Aug 12, 2011 11:30 pm

Change Appendix Label but not Appendix Chapter Labels

Post by simkn »

I could've been more clear in my original post. Let's try again...

I want to have an appendix with a single chapter called "Numerical Details" but I don't want it labeled as chapter "A". However, I would like the chapter sections to be labeled "A.1", "A.2", etc. Is this possible?

Right now, what I have is this:

Code: Select all

\renewcommand\appendix{\par
  \setcounter{chapter}{0}%
  \setcounter{section}{0}%
  \renewcommand{\@chapapp}{\appendixname}%
  \renewcommand{\thechapter}{\Alph{chapter}}
  \renewcommand{\@appendix}{1}}

\begin{appendix}
\chapter{Numerical Details}
...
\section{Visualization}
...
\section{Initial Data}
etc...
This produces:
Appendix A
Numerical Details
A.1 Visualization
...
A.2 Initial Data
etc...

What I'd like to produce is:
Appendix
Numerical Details
A.1 Visualization
...
A.2 Initial Data
etc...

Thanks for any suggestions!

Mark
Last edited by localghost on Sun Aug 21, 2011 10:37 am, edited 2 times in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Change Appendix Label but not Appendix Chapter Labels

Post by Stefan Kottwitz »

Hi Mark,

it would be possible, using \chapter*{Numerical Details} and \refstepcounter{chapter} afterwards.

However, it's a bit strange to number A.1 without introducing A as chapter number. In my opinion either the appendix should be a chapter with some sections, or the appendix consists of several chapters. Just compare with good books in your field of science. I just don't like sections hanging around outside of a chapter. Logically, it would mean that they were part of your last chapter - or make the appendix a chapter.

Stefan
LaTeX.org admin
Post Reply