Hi
I made a glossary, but when I make a table of contents (\tableofcontents) the glossary does not show up in the table.
I am using the glossary package.
How can I make latex write the glossary into the table of contents?
Thanks
Thorsten
General ⇒ Let Glossary show up in Table of Contents
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 2
- Joined: Thu Nov 12, 2009 1:11 pm
Re: Let Glossary show up in Table of Contents
I found the answer, you have toadd the line
\addcontentsline{toc}{chapter}{Glossary}
after \printglossary
so it looks like this
\printglossary
\addcontentsline{toc}{chapter}{Glossary}
I found the information here:
http://texblog.wordpress.com/2007/11/01 ... -in-latex/
\addcontentsline{toc}{chapter}{Glossary}
after \printglossary
so it looks like this
\printglossary
\addcontentsline{toc}{chapter}{Glossary}
I found the information here:
http://texblog.wordpress.com/2007/11/01 ... -in-latex/
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Let Glossary show up in Table of Contents
The glossary package is obsolete and superseded by glossaries [1]. The latter one offers the toc option as mentioned in its manual (Section 2.1 - Package options, p. 19ff).
[1] View topic: Obsolete packages and document classes - Avoid usage!
Best regards and welcome to the board
Thorsten¹
[1] View topic: Obsolete packages and document classes - Avoid usage!
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10