[Tex/LaTex] How to include Bibliography in TOC

biblatextable of contents

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.

Best Answer

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

Related Question