GeneralChange "Chapter" label after \appendix?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
JPdaFonseca
Posts: 6
Joined: Mon Aug 23, 2010 7:26 pm

Change "Chapter" label after \appendix?

Post by JPdaFonseca »

Hi, all!

In my document I include a few annexes, after the \appendix command, as an include, with the form:

Code: Select all

\appendix
\include{Annexes/Annexes}
Latex is changing the numbering from numeric to alphabetic, which is OK for me, but it still puts the "chapter" label in front:

Chapter A
Chapter B, etc...

Is it possible to replace this keyword with:

Annex A
Annex B, etc...
but just after the \appendix command?

It should be noted that I am sectioning the Appendix.tex file in the usual way (chapter, section, subsection, etc.).

Regards,
João Paulo Hespanha

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Change "Chapter" label after \appendix?

Post by frabjous »

It might be possible to use:

Code: Select all

\renewcommand{\chaptername}{Annex}
But it might not. It depends on what documentclass you're using, and any relevant packages, which we don't know. If problems persist, try posting a minimal working example.
JPdaFonseca
Posts: 6
Joined: Mon Aug 23, 2010 7:26 pm

Change "Chapter" label after \appendix?

Post by JPdaFonseca »

Thanks,frabjous, for your answer.
But I really need to build a minimal example, giving that the code you suggested is not working.

I even tried the following, to work with the Babel package:

Code: Select all

% Changes the chapter label when using the Babel package
\addto\captionsenglish{%
\renewcommand\chaptername{Annex}}
But it did not work, and if it did, it would change the name in all the document, and I need the change to affect just the \appendix section of the document.

New post coming soon (with the minimal example)...
Post Reply