4

I'm trying to get "Appendix A" instead of just "A" for my appendix in the table of contents, and one solution to this seems to be \usepackage[titletox]{appendix}. However, it doesn't work with memoir. The following code gives the error "LaTeX Error: Option clash for package appendix":

\documentclass{memoir}
\usepackage[titletoc]{appendix}
\begin{document}
    Text
\end{document}

How can I solve it?

It works if I remove the [titletoc] argument or change document class to article.

6
  • 1
    Appendix is already included in memoir so you cannot use it with the class. I don't quite understand what that option should do.
    – daleif
    May 28 '13 at 14:11
  • @daleif It changes "A" in the TOC to "Appendix A".
    – Tim N
    May 28 '13 at 14:18
  • In memoir that is just \renewcommand\cftappendixname{\appendixname}
    – daleif
    May 28 '13 at 14:35
  • @daleif Thanks. It seems to give "AppendixA" instead, though.
    – Tim N
    May 28 '13 at 14:41
  • Sorry, \renewcommand\cftappendixname{\appendixname~}, see the memoir manual
    – daleif
    May 28 '13 at 14:49
3

I'll just add it as an answer.

The memoir way is to add

\renewcommand\cftappendixname{\appendixname~}

to the preamble.

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.