我想在普通文本的不同部分打印(完整)参考文献。我读到 bibentry 包可以处理这个问题,但这不是我所寻找的。我想在参考文献前面加一个数字(就像在参考书目中显示的那样)。
[1] 作者姓名:标题,....
[2] 作者姓名:标题,....
一般来说,它应该看起来像这样如何在正文中完整引用一个 bibentry?,但带有附加数字。
如果在普通文本中有两个或多个这样的参考列表,则每个列表都应以 [1] 开头。这可能吗?
答案1
仅提供\bibentry
引文,如您所指出的。但是,\cite
会产生您想要的标签。将两者放在一起会得到完整的列表,如下所示
\cite{goossens93} \bibentry{goossens93}
这是我的 MWE。
\documentclass{article}
\usepackage{bibentry}
\usepackage{filecontents}
\begin{filecontents}{mytestbib.bib}
@book{goossens93,
author = "Frank Mittelbach and Michel Goossens and Johannes Braams and David Carlisle and Chris Rowley",
title = "The {LaTeX} Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@ARTICLE{segl03,
AUTHOR = "Segletes, S. B. AND Walters, W. P.",
TITLE = {Extensions to the Exact Solution of the Long-Rod
Penetration/Erosion Equations},
JOURNAL = "IJIE",
YEAR = "2003",
VOLUME = "28",
PAGES = "363--376"}
\end{filecontents}
\nobibliography*
\bibliographystyle{plain}
\begin{document}
Citing these references in the main text.\cite{goossens93, segl03},
I can then access both the number of the cite as well as the full citation:
\cite{goossens93} \bibentry{goossens93}.
Now here is the bibliography.
\bibliography{mytestbib}
\end{document}