1

I have problem with adding the {Bibliography} to the table of content. I have tried \addcontentsline{toc}{chapter}{Bibliography} but it appears at the top of TOC not at the bottom.

  • 1
    Where did you write in the code? – Bernard Jul 8 '18 at 18:56
  • just after the command \tabelofcontent – Fatima SH Jul 8 '18 at 18:59
  • Try writing it just after the code for the bibliography. – Bernard Jul 8 '18 at 19:00
  • 3
    Depending on your setup, you might be interested in the tocbind package which handles exactly this. Note that adding \addcontentsline just after he bibliography code only gives you the correct page number if the bibliography fits on a single page, otherwise it will point at the last page. The mentioned package hooks into the bibliography it self and adds it at the start. – daleif Jul 8 '18 at 19:30
  • 1
    @Skillmon why? See esdds answer – daleif Jul 9 '18 at 0:03
3

There is the biblatex tag in the question. So maybe you can use

\printbibliography[heading=bibintoc]

Example:

\documentclass{article} 
\usepackage{lipsum}% only for dummy text
\usepackage[style=authoryear,backend=biber]{biblatex} 
\addbibresource{biblatex-examples.bib} 
\begin{document}
\tableofcontents
\section{Example}
\lipsum
\nocite{*}
\printbibliography[heading=bibintoc]%<- add a ToC entry for the bibliography
\end{document}

Result:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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