How to Add Text Between the Bibliography Title and Entries with BibTeX
At a glance
- 1. Load etoolbox
Use etoolbox to patch the bibliography environment after its heading and list setup.
- 2. Insert a list item
Add the note as an empty-label item so it appears before the first reference.
- 3. Run BibTeX
Compile LaTeX, BibTeX, then LaTeX twice to update citations and the bibliography.
With traditional BibTeX, the bibliography heading and reference list are produced by LaTeX’s thebibliography environment, using entries from the .bbl file. To add a paragraph between the heading and the first reference, patch that environment after it has created its heading and list.
For standard classes such as article, report, and book, etoolbox provides a concise way to do this. The example below adds an introductory note before the bibliography entries.
Add text before the first entry
Load etoolbox, then append an empty-label list item to \thebibliography:
\documentclass{article}
\usepackage{etoolbox}
\apptocmd{\thebibliography}{%
\item[]\textit{The references below provide further reading.}\par\smallskip
}{}{}
\begin{document}
A citation to a book: \cite{knuth}.
\bibliographystyle{plain}
\bibliography{references}
\end{document}
Save this as main.tex. Put the following in a file named references.bib in the same folder:
@book{knuth,
author = {Donald E. Knuth},
title = {The TeXbook},
publisher = {Addison-Wesley},
year = {1984}
}
The \item[] creates an item with no label. Because it is appended to \thebibliography, it is processed after the bibliography heading and list setup, but before the .bbl file’s first \bibitem. The note therefore appears in the bibliography’s list area, generally aligned with the reference text. Adjust the formatting inside the braces to suit your document.
Compile in this order:
- Run LaTeX on
main.tex. - Run BibTeX on
main. - Run LaTeX twice more.
The later LaTeX runs resolve the citation and read the bibliography entries generated by BibTeX.
Why changing the title is not the right fix
In the standard article class, the bibliography title comes from \refname; in report and book, it usually comes from \bibname. Changing either command changes the heading itself. It does not provide a separate paragraph after the heading and before the entries.
Likewise, putting text before \bibliography{references} places it before the entire bibliography, including its title. The patch works at the point where LaTeX has begun building the bibliography list, which is why the note lands in the intended position.
If you are using biblatex instead
Traditional BibTeX and biblatex have different interfaces. With biblatex, define a bibliography note and pass its name via the prenote option:
\defbibnote{referencesnote}{The references below provide further reading.}
\printbibliography[prenote=referencesnote]
This is for biblatex; do not use it as a substitute for the etoolbox patch when your document uses the traditional \bibliographystyle and \bibliography commands.
Common mistakes
- Using the wrong bibliography system:
\bibliography{...}together with\bibliographystyle{...}is the traditional BibTeX workflow.\printbibliographyis used bybiblatex. - Putting the note before the command: Text placed before
\bibliography{...}appears before the heading, not between the heading and entries. - Forgetting the empty label: An ordinary
\itemexpects a label. Use\item[]for this unnumbered introductory paragraph. - Assuming every class defines the environment identically: The patch targets the standard placement in common classes. If a class or bibliography package customizes
thebibliography, inspect its definition or use that package’s own hooks; test the output after compiling.
References
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.