3

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.

1
  • 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, 2013 at 2:09

1 Answer 1

6

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}
3
  • 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, 2013 at 2:57
  • @mrmagooey: Another testament to providing small examples that replicate your current behaviour...
    – Werner
    Jul 1, 2013 at 5:44
  • My thoughts exactly, MWE's from here on in
    – mrmagooey
    Jul 1, 2013 at 6:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .