I have created my bibliography with Bibtex. I want to add a one-lined sentence after the items. How can I do that?
[Tex/LaTex] Add text after bibliography list
bibliographiesbibtex
Related Solutions
Since you mentioned BibTeX in your question but tagged it with biblatex I will provide solutions for both:
Solution with BibTeX
Assuming you're using the article
class you could redefine the thebibliography
environment like this:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc {foo,
author = {Foo, Francis},
title = {All about Foo},
year = {2011},
}
\end{filecontents}
\newcommand{\myprenote}{Here goes my text.}
\makeatletter
\renewenvironment{thebibliography}[1]
{\section*{\refname}%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\myprenote
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\makeatother
\begin{document}
\bibliographystyle{plain}
\bibliography{\jobname}
\nocite{*}
\end{document}
Solution with biblatex
\documentclass{article}
\usepackage[
style=authortitle,
backend=biber,
]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book {foo,
author = {Foo, Francis},
title = {All about Foo},
year = {2011},
location = {Footown},
}
@book {bar,
author = {Bar, Bernie},
title = {Barstory},
year = {2000},
location = {Barcity},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\defbibnote{myprenote}{Here goes my text.}
\printbibliography[prenote=myprenote]
\nocite{*}
\end{document}
Have you try biblatex? Biblatex is a complete reimplementation of the bibliographic facilities provided by LaTeX in conjunction with BibTeX.
With biblatex isn't that hard to add pre and post annotations to entries. Like this:
\documentclass[a4paper,10pt]{article}
\usepackage[natbib, % To use natbib commands
style=authoryear, % Style of cites and bib entries
backend=bibtex8] % To use bibtex instead biber
{biblatex}
\addbibresource{bib.bib} % Loading .bib file
\renewbibmacro{in:}{% % To remove "In:" from articles
\ifentrytype{article}{}{%
\printtext{\bibstring{in}\intitlepunct}}}
\DefineBibliographyStrings{english}{pages={pages}} % To change default pp.
\DefineBibliographyStrings{english}{page={page}} % To change default p.
\begin{document}
\citet{easterly2009can,frankel1999does} % Cite as if you were using natbib
\section*{References}
% use \fullcite[prenote][posnote]{bibentrylabel}
\noindent \fullcite[*][Please read sections 32-33]{easterly2009can} \\
\noindent \fullcite[*][Please read sections 2-4]{frankel1999does} \end{document}
If you want to add the same annotations but in your .bib file
you should do something like this:
\documentclass[a4paper,10pt]{article}
\usepackage[natbib, % To use natbib commands
style=authoryear, % Style of cites and bib entries
backend=bibtex8] % To use bibtex instead biber
{biblatex}
\addbibresource{bib.bib} % Loading .bib file
\renewbibmacro{in:}{% % To remove "In:" from articles
\ifentrytype{article}{}{%
\printtext{\bibstring{in}\intitlepunct}}}
\DefineBibliographyStrings{english}{pages={pages}} % To change default pp.
\DefineBibliographyStrings{english}{page={page}} % To change default p.
\begin{document}
\citet{easterly2009can,frankel1999does} % Cite as if you were using natbib
\printbibliography % Equivalent to \bibliography{bib}
\end{document}
with this bib.bib
:
@Article{ easterly2009can2,
Author = "William Easterly",
Title = "Can the West Save Africa?",
Journal = "Journal of Economic Literature",
Pages = "373--447",
year = 2009,
note = "A comment that should be before",
addendum = "A comment after"
},
@Article{ frankel1999does2,
Author = "J.A. Frankel and D. Romer",
Title = "Does trade cause growth?",
Journal = "American Economic Review",
Pages = "379--399",
year = 1999,
note = "A comment that should be before",
addendum = "A comment after"
}
However, I couldn't find how to reorder the block entities in each bibtex entry. May be you have more luck.
I should remark that citation and bibliographic styles may be changed. Check biblatex documentation for this. Here is a question for customizing biblatex styles.
Following the question: How to cite all bib entries that have no annotations in a simple way? (making minor changes to the .bib
file that not affect normal use of the file)
\documentclass[a4paper,10pt]{article}
\usepackage[natbib, % To use natbib commands
style=authoryear, % Style of cites and bib entries
backend=bibtex8] % To use bibtex instead biber
{biblatex}
\addbibresource{biblong.bib} % Loading .bib file
\renewbibmacro{in:}{% % To remove "In:" from articles
\ifentrytype{article}{}{%
\printtext{\bibstring{in}\intitlepunct}}}
\DefineBibliographyStrings{english}{pages={pages}} % To change default pp.
\DefineBibliographyStrings{english}{page={page}} % To change default p.
\begin{document}
\citet{easterly2009can,frankel1999does} % Cite as if you were using natbib
\section*{References}
% use \fullcite[prenote][posnote]{bibentrylabel}
\noindent \fullcite[*][Please read sections 32-33]{easterly2009can} \\
\noindent \fullcite[*][Please read sections 2-4]{frankel1999does} \\
\nocite{*} % Use of \nocite is not necessary if they were cited elsewhere
% The following command only print entries that not have the keyword annotated
\printbibliography[notkeyword=annotated,heading=none]
\end{document}
with this biblLong.bib
:
@Article{ easterly2009can2,
Author = "William Easterly",
Title = "Can the West Save Africa?",
Journal = "Journal of Economic Literature",
Pages = "373--447",
year = 2009
}
@Article{ frankel1999does2,
Author = "J.A. Frankel and D. Romer",
Title = "Does trade cause growth?",
Journal = "American Economic Review",
Pages = "379--399",
year = 1999
}
@Article{ lennon1965help,
Author = "John Lennon",
Title = "Help!",
Journal = "The Beatles",
Pages = "1--14",
year = 1965
}
@Article{ mccartney2003let,
Author = "Paul McCartney",
Title = "Let it be... Naked",
Journal = "The Beatles",
Pages = "1--11",
year = 2003
}
Best Answer
\bibliography{<bib>}
inserts the bibliography at the point where it is called. To that end, you can place it anywhere in your document, and nothing prohibits you from placing regular text before or even after it. So you can use