答案1
\nobibliography
如果不想打印参考书目,则需要使用:
\begin{filecontents}{mybib.bib}
@book{example,
author = "John",
title = "The book's title",
year = "2013",
publisher = "Cambridge",
}
\end{filecontents}
\documentclass{article}
\usepackage[round]{natbib} % bibliography package
\usepackage{bibentry} % full citation in the body of the text (turn off natbib if use it)
\nobibliography* % no bib at the end
\begin{document}
This would be the complete citation
\bibentry{example}
And this would be just the regular citation: \cite{example}
\nobibliography{mybib}
\bibliographystyle{apalike}
\end{document}
另一种方法是使用 biblatex + biber 和命令\fullcite
:
\documentclass{article}
\usepackage{biblatex}
\addbibresource{mybib.bib}
\begin{document}
This would be the complete citation
\fullcite{example}
\end{document}