I need to add an appendix to the end of my thesis. But I don't want LaTeX to enumerate that section as a chapter in the table of contents.

Do you know how I can get it without numbering? I don't want that number 5 in the table of contents!

BTW, I use book document style.

• Are you using \chapter{Appendix 1} to include the appendix? If so, use \chapter*{Appendix 1} \addcontentsline{toc}{chapter}{Appendix 1} instead... – Werner Jul 13 '16 at 18:38

A \chapter* is sufficient to remove numbering of the content in the ToC and in the chapter title. You'll have to manually insert a ToC-entry, as well as update the headers, if possible:

\documentclass{book}

\usepackage{lipsum}

\begin{document}

\tableofcontents

\chapter{A chapter}
\lipsum[1-10]

\appendix
\chapter*{Appendix 1}

\lipsum[1-10]

\end{document}


\backmatter should be sufficient to suppress the addition of numbers in the ToC:

\documentclass{book}

\begin{document}

\tableofcontents

\chapter{Foo}

\backmatter
\appendix

\chapter{Appendix Stuff}

\end{document}