![如何在研究论文中引用论文而不在末尾显示参考书目](https://linux22.com/image/288443/%E5%A6%82%E4%BD%95%E5%9C%A8%E7%A0%94%E7%A9%B6%E8%AE%BA%E6%96%87%E4%B8%AD%E5%BC%95%E7%94%A8%E8%AE%BA%E6%96%87%E8%80%8C%E4%B8%8D%E5%9C%A8%E6%9C%AB%E5%B0%BE%E6%98%BE%E7%A4%BA%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE.png)
正如标题所示,我想在我的 bib 文件中引用论文,但我不希望这些引用出现在文档末尾。如何实现?
答案1
从你之前的问题我假设你正在使用普通的 BibTeX 书目,因此解决方案是使用包bibentry
\usepackage{bibentry}
并使用命令\nobibliography
代替\bibliography
。
该软件包还提供了一个命令\bibentry
,用于打印整个参考书目条目而不打印参考书目。
MWE(借用您上一个问题):
\documentclass{article}
\usepackage{bibentry}
\usepackage{filecontents}
\begin{filecontents}{sample.bib}
@inproceedings{marolt2002neural,
title={Neural networks for note onset detection in piano music},
author={Marolt, Matija and Kavcic, Alenka and Privosnik, Marko},
booktitle={Proceedings of the International Computer Music Conference},
year={2002}
}
\end{filecontents}
\begin{document}
\bibliographystyle{plain}
\nobibliography{sample}
Here I want to cite \cite{marolt2002neural} but I don't want the bibliography to be printed.
This is the complete entry:
\noindent\bibentry{marolt2002neural}
\end{document}
输出: