[Tex/LaTex] How to rename “Appendices” in the Table of Contents and in the text

appendicesnamingtable of contents

I would like to change the name of the "Appendices" to "Appendix" in the Table of Contents. So far, I was only able to change the name of the Appendices in the text, by using the following commands in the preamble:

\renewcommand\appendixname{Appendix}
\renewcommand\appendixpagename{Appendix}

Also, I was able to add "Appendix" to the Table of Contents by using the command:

\addcontentsline{toc}{chapter}{Appendix}

However, using this I have both the default "Appendices" and the added "Appendix" in the Table of Contents. Does anyone know how to remove or rename "Appendices" in the Table of Contents?

Best Answer

So we are talking about the appendix package.

The command \appendixpagename is used to give a name to the heading of the page generated when you use the \appendixpage command.

If you want to change the name that appears in the TOC when you (supposedly) use the command \addappheadtotoc to add this page in the TOC itself, you have to use:

\renewcommand\appendixtocname{Appendix}

Note that both \appendixpagename and \appendixtocname are by default set to "Appendices".

Related Question