GeneralHeading numbered in BibTeX reference

General information and discussion about TeXnicCenter
Post Reply
alfredo.viera
Posts: 5
Joined: Thu Jun 21, 2007 10:05 am

Heading numbered in BibTeX reference

Post by alfredo.viera »

Hi everyone, I´m doing my master's thesis and I need to number the reference title. But by default bibtex put the title "references" whitout chapter or section number. If anyone know how to number the heading on references I really appreciate the help. I´m using apalike.bst:

\bibliographystyle{apalike}
\bibliography{reftesis}

Thanks,

Alfredo

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
countbela666
Posts: 64
Joined: Thu Apr 26, 2007 2:44 pm

Heading numbered in BibTeX reference

Post by countbela666 »

Hi Alfredo,

sounds like a use case for the tocbibind package. Here a minimum working example showing its usage:

Code: Select all

\begin{filecontents}{lit.bib}
@BOOK{test,
  author = {Donald Ervin Knuth},
  title = {The TeXbook},
  year = {1984},
  publisher = {Addison-Wesley},
  address = {London},
}
\end{filecontents}
\listfiles
\documentclass[english]{report}
\usepackage{babel,blindtext}
\usepackage[%
  nottoc,
  numbib
]{tocbibind}
\begin{document}
  \tableofcontents
  \blinddocument
  \nocite*{}
  \bibliographystyle{apalike}
  \bibliography{lit}
\end{document}
Regards
Marcel
Listen to me children of the night, beyond the doors of darkness you will find
a thousand worlds for you to see here, take my hand and follow me...
alfredo.viera
Posts: 5
Joined: Thu Jun 21, 2007 10:05 am

Re: Heading numbered in BibTeX reference

Post by alfredo.viera »

Marcel:

Thank you a lot. You don't know how much time I lost looking for that response before this post. The package works great :) Best regards,

Alfredo
Post Reply