Latest news 2020-05-02: new blog post "Book Samples."

glossaries package FAQ

FAQ Search Tips

The glossary entry in the TOC is not aligned with the numbered chapter/section titles 🔗

By default, the glossary entry in the table of contents is aligned with the chapter/section numbers. As from version 1.1, you can use the package option numberline (in addition to the toc option) to align the title with the other TOC titles. If you are using an older version, you can achieve the same effect by redefining \@gls@toc:

\renewcommand*{\@gls@toc}[2]{%
\ifglstoc\addcontentsline{toc}{#2}{\numberline{}#1}\fi}
Note that this contains internal commands (commands that have an @ character in the name) so it either needs to go in a style file or it must be placed within \makeatletter and \makeatother in a .tex file.

Last modified: 2013-12-08 16:39:19.


Category: glossaries package
Topic: Unexpected Output in Table of Contents