I am using \usepackage{glossaries}. How do you include it in \tableofcontents? The following does not do the trick:



\newacronym{mwe}{MWE}{Minimum Working Example}




This is the call to the \Gls{mwe}


This is my output:

enter image description here


Use the toc package option or add \glstoctrue to your preamble. See section 2.2 of the manual for details.

By default, glossaries will appear as chapters if the document class features the \chapter command and as sections otherwise. You can change the default behavior using the section key-value-option; e.g.,


will result in section-like glossaries for the book and report class.

| improve this answer | |
  • This option adds to toc as a chapter, how can i have it added as a section, have tried \let\chapter=\section, but doesn't seem to do the trick, my guess is that \addcontentsline{toc}{chapter}{...} is being called, so needs to be patched instead to \addcontentsline{toc}{section}{...}, but how? – Nicholas Hamilton Jun 8 '13 at 10:27
  • 1
    @ADP See updated answer. – lockstep Jun 8 '13 at 12:20
  • perfect. Cheers. – Nicholas Hamilton Jun 8 '13 at 13:44

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.