Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Section added by \addcontentsline on the wrong page

I have a document in report class with

\documentclass[12pt,a4paper]{report}  
\linespread{1.5}  
\usepackage[T1]{fontenc}   
\usepackage[utf8]{inputenc}  
\usepackage[ngerman]{babel}    
\usepackage[natbib=true,style=numeric,doi=false,isbn=false,url=false,maxcitenames=2{biblatex}  
\bibliography{mybib}  
\usepackage[numbib]{tocbibind}  
\begin{document}    
\tableofcontents  
\chapter{test}  
\printbibliography  
\end{document} 

This does not add an entry for the bibliography. Changing \printbibliography to

\printbibliography[heading=bibintoc]

works, although I have no idea what it actually does. Still, the entry is not numbered, it looks like this

Table of Contents  
Table of Contents ................ 1  
1 test ........................... 2  
Literatur ........................ 3

My questions: What does heading=bibintoc and how can I have the bibliography numbered automatically?

share|improve this question
    
Welcome! See: tex.stackexchange.com/questions/41818/… –  Marco Daniel May 8 '12 at 17:23
add comment

marked as duplicate by Marco Daniel, lockstep, Thorsten, egreg, topskip Jun 6 '12 at 13:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 3 down vote accepted

Instead of using tocbibind, you can simply use the bibnumbered heading which will create a numbered heading which is also added to the table of contents:

\printbibliography[heading=bibnumbered]  
share|improve this answer
    
Great, it works! Thanks a lot –  Florian Beeres May 8 '12 at 17:43
    
Could you extend your answer for displaying the list of figures and list of tables in the ToC without the tocbibind package? Thank you! –  strauberry Jan 6 at 12:04
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.