GeneralInclunding bibliography in the table of contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
c.mafla
Posts: 19
Joined: Sat Aug 02, 2008 1:20 am

Inclunding bibliography in the table of contents

Post by c.mafla »

Hello to everybody. I need some help, i want to include the line of the bibliography into the table of contents; i assume that i need to modify the '.toc' file, but i dont know how.

Please help me :D

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Inclunding bibliography in the table of contents

Post by Stefan Kottwitz »

Hi,

use \addcontentsline, for example:

Code: Select all

\cleardoublepage
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{references}
Some classes (KOMA) provide options to support that.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Inclunding bibliography in the table of contents

Post by localghost »

Since you don't say anything about your document class, I can only guess.
  • For a standard class use the tocbibind package and read its documentation.
  • For a class from KOMA Script use the bibtotoc option. For more information refer to the documentation.
Another simple solution has already been given by Stefan.


Best regards
Thorsten¹
c.mafla
Posts: 19
Joined: Sat Aug 02, 2008 1:20 am

Re: Inclunding bibliography in the table of contents

Post by c.mafla »

Thanks, I use package 'tocbibind' and it works, thanks
Post Reply