5

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.

8
  • 1
    Where did you write in the code?
    – Bernard
    Jul 8, 2018 at 18:56
  • just after the command \tabelofcontent
    – Fatima SH
    Jul 8, 2018 at 18:59
  • Try writing it just after the code for the bibliography.
    – Bernard
    Jul 8, 2018 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, 2018 at 19:30
  • 1
    @Skillmon why? See esdds answer
    – daleif
    Jul 9, 2018 at 0:03

1 Answer 1

10

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

2
  • How to tell LaTeX to also add a letter or number in front of the BIBLIOGRAPHY entry at the TOC? In my document it's automatically assigning letter to each entry belonging to sections... but not to the bibliography. I'm just using this \printbibliography[heading=bibintoc,title={BIBLIOGRAFÍA}]
    – skan
    Oct 27, 2020 at 19:07
  • @skan Use heading=bibnumbered, see the documentation of package biblatex.
    – esdd
    Oct 29, 2020 at 15:07

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.