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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply