Friday, May 08, 2009

Place the bibliography entry in the text

Sometimes we need to put the bibliography entry in the text, how can we do it in Latex?

The answer is to use package bibentry, which is included in natbib package.

After \beging{document}, put \nobibliography* (used with \bibliography{database}) or \nobibliography{database}. In the place where you want to show the bibliography entry, put \bibentry{label}.

In addition, \bibliographystyle{style} can be placed anywhere in the document.

Here are two examples.
1
\begin{document}
\nobibliography*
...
\bibliography{database}
\bibliographystyle{style}
\end{document}


2
\begin{document}
\nobibliography{database}
...
\bibliographystyle{style}
\end{document}

1 comment: