Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}%
}
share|improve this question
    
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

1 Answer 1

up vote 5 down vote accepted

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

share|improve this answer
    
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
1  
@Silverrocker Add \renewcommand{\thechapter}{A} after \chapter{Test Appendix} –  egreg Jun 19 '12 at 9:25
    
@egreg this is it! thank you. –  Silverrocker Jun 19 '12 at 9:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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