GeneralBibliography - Insert plain text

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Paedi
Posts: 1
Joined: Tue Nov 25, 2008 1:19 am

Bibliography - Insert plain text

Post by Paedi »

Hello,

How can I insert some normal, plain text below the title "Bibliography" ? I'm using BibTex.
I know that the bibliography is a listing environment and that introducing normal text could be difficult. Unfortunately my professor wants me to add a small note before the actual listing of references starts. I thought about the following "hacks" (i know its against latex philosophy ;)):

- Adding the note as a "fake" \bibitem and trying to suppress the label in front
- Adding the note as minipage before the bibliography and translating it to the right spot

Do you have a more elegant method?
Thanks for your help!


EDIT: I found the solution finally.

Actually, i did not find the right place to add my "fake" bibliographic entry as the whole list of \bibitems is automatically sorted and printed using a whole bunch of functions... I put my solution in here, it might help somebody one day :?

FUNCTION {begin.bib}
{ preamble$ empty$
'skip$
{ preamble$ write$ newline$ }
if$
"\begin{thebibliography}{" longest.label * "}" * write$ newline$
"\item[] \textbf{Note:} ADD THE TEXT RIGHT HERE.\bigskip" write$ newline$
}

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Bibliography - Insert plain text

Post by Juanjo »

Your approach has a serious drawback: you have to patch the corresponding bst file. It is simpler to redefine \thebibliography (the command that opens the bibliography, defined through the thebibliography environment) as follows:

Code: Select all

\let\thebibliographyOLD\thebibliography
\renewcommand{\thebibliography}[1]{\thebibliographyOLD{#1}%
  \item[] \textbf{Note:} ADD THE TEXT RIGHT HERE.\bigskip}
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Post Reply