2

What I'm looking to get is the word "ANNEX" prefixing all of my Appendix names, both in the document chapters and in the TOC. Is there a method of adding "Annex" to the name of the appendix chapter so that it looks like:

ANNEX A Something

Rather than:

A Something

I'm using Memoir, and if I try to use the appendix class as such:

\usepackage[titletoc,page]{appendix}

I get an option clash for appendix.

NB. There's a number of examples of people adding the word "Appendix" to the TOC (1, 2, 3, 4), and the answer may well be contained in these links but my latex-fu is still too underdeveloped to figure out the answer. I tried changing the appendix chapter name as per this, but this still doesn't insert the name into the chapter.

  • 3
    For future reference, it would be super helpful if you could just mock up a simple, compilable minimal working example (MWE) so that community members can just copy-and-paste and have something to work with. It may seem trivial to you, but those who frequently help don't want to recreate a platform, from scratch, with even the simplest of questions... – Werner Jul 1 '13 at 2:09
5

To your document preamble, add

\renewcommand{\appendixname}{ANNEX}% Change "chapter name" for Appendix chapters
\renewcommand*{\cftappendixname}{ANNEX~}% Addition to chapter number

Here is a mimal document that showcases the output:

enter image description here

\documentclass{memoir}% http://ctan.org/pkg/memoir
\renewcommand*{\appendixname}{ANNEX}% Change "chapter name" for Appendix chapters
\renewcommand*{\cftappendixname}{ANNEX~}% Addition to chapter number
\begin{document}
\tableofcontents
\chapter{A chapter}
\appendix
\chapter{An appendix}
\end{document}
| improve this answer | |
  • I realised that using \chapterstyle{section} was removing the Annex text, changing \chapterstyle{} back to another style with the chapter names in it has added the Annex back in. Thank you for your help. – mrmagooey Jul 1 '13 at 2:57
  • @mrmagooey: Another testament to providing small examples that replicate your current behaviour... – Werner Jul 1 '13 at 5:44
  • My thoughts exactly, MWE's from here on in – mrmagooey Jul 1 '13 at 6:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.