2

I want to customize \begin{appendices} command to print 'Publications'. It works in the main document, however it is still writing 'Appendices' in the table of contents.

\renewcommand\appendixname{Publications}
\renewcommand\appendixpagename{Publications}
\begin{appendices}
 \includepdf[pages=-, offset = 0 0]{\Papers\text.pdf}
\end{appendices}

How can i also change the title in contents ?

enter image description here enter image description here

  • 2
    Can you make a MWE? – user36296 Feb 27 '17 at 14:26
  • 1
    What @samcarter is asking for is a minimal working example (MWE). – TonioElGringo Feb 27 '17 at 14:46
  • 1
    \renewcommand\appendixtocname{\appendixname} if you're using appendix package and having defined \appendixname already to expand to Publications – user31729 Feb 27 '17 at 15:42
2

The macro \appendixtocname is responsible for the title of the Appendix in the ToC.

It must be redefined with \renewcommand{\appendixtocname}{Yournicetitle} if it should be other than the usual \appendixname.

Please note that a change of \appendixname does not change \appendixtocname, however!

\documentclass{book}

\usepackage[toc,page]{appendix}
\usepackage{blindtext}


\usepackage{hyperref}

\renewcommand\appendixname{Publications}
\renewcommand\appendixtocname{\appendixname}
\renewcommand\appendixpagename{Publications}

\begin{document}
\tableofcontents
\blinddocument
\begin{appendices}
  \blinddocument
% \includepdf[pages=-, offset = 0 0]{\Papers\text.pdf}
\end{appendices}

\end{document}

enter image description here

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.