I am using tufte-book document class. I would like to add a part at the end of the document which is neither a chapter nor a section. How can I do for making this part visible in the tableofcontents?

1 Answer 1



You may use the \addcontentsline command. The syntax is defined as follows

  • TABLE stands for the type of list, where you want to add the item, possible are:

    • toc: Table of contents
    • lof: List of figures
    • lot: List of tables
  • LEVEL will be the level at which the line will appear in the list. Possible are:

    • For toc: chapter, section, subsection
    • For lof: figure
    • For lot: table
  • TITLE is your heading.

For example


will add Appendix to your table of contents, but will NOT typeset the heading within the document. You need to use \chapter*{Appendix} for this.


\section{Historical Overview}
\section{The CUDA Model}
\section{A Lattice Boltzmann Solver}
\section*{The Mathematical Background}
\addcontentsline{toc}{section}{The Mathematical Background}



  • But in this case, "Appendix" is not enumerated within the toc. Any way to get this working, too?
    – Coxa
    Jan 27, 2014 at 16:32
  • 2
    @Coxa Just replace \chapter*{...}\addcontentsline{toc}{chapter}{...} by \chapter{...} to restore the default behaviour. Jan 27, 2014 at 18:23
  • 1
    Another immediate solution from TeX StackExchange! Many thanks for the contributions of everyone to this wonderful resource. Apr 2, 2017 at 23:49
  • \phantomsection might be needed if the hyperref doesn't work properly... Sep 10 at 20:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .