6

At the moment I have Appendix A when I start the appendix page. In the table of contexts I see the item A. How can I replace the "A" by "Appendix". I'm using the memoir class and I'm also using babel but I was already able to change the appendix name as follows.

\addto\captionsdutch{%
  \renewcommand{\appendixname}%
    {Appendix}%
}
2
  • Welcome to TeX.SX! Is the problem in that you have only one appendix and don't want it "numbered" by a letter? – egreg Jun 18 '12 at 22:11
  • exactly. I still want to have the figures in the appendix to be with labels like Figuur A.1 sometexthere instead of Figuur .1 when I remove the numbering. – Silverrocker Jun 19 '12 at 9:21
8

If I understood your question correctly, to add the word "Appendix" in the ToC, you can redefine \cftappendixname; if you also want to suppress the numbering for the appendix (both in the ToC and in the body of the document), you can redefine \thechapter just before the appendix (and adjust \cftchapternumwidth). Here's a little example:

\documentclass{memoir}
\usepackage[dutch]{babel}

\addto\captionsdutch{%
  \renewcommand{\appendixname}%
    {Appendix}%
}
\renewcommand*\cftappendixname{\appendixname}

\begin{document}

\tableofcontents*
\chapter{Test Regular Chapter}
\appendix

\addtocontents{toc}{\setlength\cftchapternumwidth{1em}}
\renewcommand\thechapter{}
\chapter{Test Appendix}

\end{document}

enter image description here

2
  • Thank you, this is almost what I need but when I use this and add figures in the appendix, the caption of the figure is something like: Figuur .1 sometexthere. What I'm also trying to accomplish is keeping what your code does and having the captions be like Figuur A.1 sometexthere. – Silverrocker Jun 19 '12 at 9:19
  • 2
    @Silverrocker Add \renewcommand{\thechapter}{A} after \chapter{Test Appendix} – egreg Jun 19 '12 at 9:25

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.