Home General LaTeX tips and tricks → List bibliography [Previous Page] [Question index] [Next Page]

20. How can you get the bibliography listed in the table of contents?


Answer

Use the tocbibind package by Peter Wilson.

LaTeX does not by default list the Bibliography (or the Index, or the Table of Contents itself) in the Table of Contents. This package remedies that.


Example usage

In the preamble:


\usepackage[nottoc]{tocbibind}


Result, before

'Before' screenshot

Result, after

'After' screenshot

Things to watch out for

Be aware that tocbibind's default behaviour is to also add an entry for the Table of Contents itself to the Table of Contents. If, like me, you don't want that, you have to use the [nottoc] option to the package to disable this behaviour.


[Previous page] [Question index] [Next page]

Leo Breebaart (leo@lspace.org)
Last updated: 1 November 2008