使用natbib
,我如何在文档正文中获取完整的内联参考?我需要在章节开头包含完整的参考,而不仅仅是引文。
答案1
bibentry
例如使用包
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Goossens-1994,
author = {Goossens, M. and Mittelbach, F. and Samarin, A.},
title = {The LaTeX Companion},
publisher = {Addison-Wesley},
address = {Reading, Mass.},
year = {1994}}
@book{Press-1997,
author = {Press, W. H. and Teukolsky, S. A.
and Vetterling, W. T. and Flannery, B. P.},
title = {Numerical Recipes in {C}, The art of Scientific Computing},
edition = {2},
publisher = {Cambridge University Press},
address = {Cambridge, UK},
year = {1997}}
\end{filecontents}
\documentclass{article}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{plainnat}
\begin{document}
\nobibliography*
\section{Inline bib entry}
In Numerical Recipes (\bibentry{Press-1997}) it is ...
\section{Normal citations}
In the \LaTeX{} book of \citet{Goossens-1994} it ...
\bibliography{\jobname}
\end{document}