GeneralLet Glossary show up in Table of Contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
sperling443
Posts: 2
Joined: Thu Nov 12, 2009 1:11 pm

Let Glossary show up in Table of Contents

Post by sperling443 »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sperling443
Posts: 2
Joined: Thu Nov 12, 2009 1:11 pm

Re: Let Glossary show up in Table of Contents

Post by sperling443 »

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/
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Let Glossary show up in Table of Contents

Post by localghost »

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¹
Post Reply