GeneralRenaming Titles of (Sub)Appendices for ToC

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pretentious_indifference
Posts: 5
Joined: Fri Dec 18, 2009 4:19 am

Renaming Titles of (Sub)Appendices for ToC

Post by pretentious_indifference »

Hi all,

Have been struggling for quite some time to format the title of chapter appendices (subappendices) for ToC. The following works alright:

\documentclass{article}
\usepackage[titletoc,title]{appendix}
\begin{document}
\tableofcontents
\section{First Section}
\begin{subappendices}
\subsection{App1}
hehe
\end{subappendices}

\end{document}

which produces the entry "Appendix 1.A App1" in ToC. I wanted to change it to something like "NewAppendixName A App1" with the following command:

\renewcommand{\appendixtocname}{NewAppendixName}

Unfortunately it does not work and nothing gets changed.

Can anyone suggest a hint or something...

Cheers :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply