![获取 .bib 文件的“annote”字段](https://linux22.com/image/232090/%E8%8E%B7%E5%8F%96%20.bib%20%E6%96%87%E4%BB%B6%E7%9A%84%E2%80%9Cannote%E2%80%9D%E5%AD%97%E6%AE%B5.png)
我有如下 BibTeX 条目:
@inproceedings{Defraene2010,
annote = {This is a very nice paper.I will say more about it later},
author = {Defraene, Bruno and van Waterschoot, Toon and Ferreau, Hans Joachim and Diehl, Moritz and Moonen, Marc and Waterschoot, Toon Van},
booktitle = {Proceedings of the 18th European Signal Processing Conference (EUSIPCO ’10), Aalborg, Denmark, Aug. 2010},
keywords = {clipping},
title = {{Perception-based clipping of audio signals}},
volume = {006},
year = {2010}
}
如何获取我的 LaTeX 文档中“annote”字段的内容?
我在 LaTeX 文件中寻找类似这样的内容:
\cite{Defraene2010}: \citexxx[annote]{Defraene2010}
答案1
这是一个使用的解决方案biblatex
包。(请注意,biblatex
将字段annote
视为的别名annotation
。)
\documentclass{article}
\usepackage{biblatex}
\newcommand*{\annotecite}[1]{(\citefield{#1}{annotation}) \autocite{#1}}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@inproceedings{Defraene2010,
annote = {This is a very nice paper. I will say more about it later},
author = {Defraene, Bruno and van Waterschoot, Toon and Ferreau, Hans Joachim and Diehl, Moritz and Moonen, Marc and Waterschoot, Toon Van},
booktitle = {Proceedings of the 18th European Signal Processing Conference (EUSIPCO 10), Aalborg, Denmark, Aug. 2010},
keywords = {clipping},
title = {Perception-based clipping of audio signals},
volume = {006},
year = {2010},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \annotecite{Defraene2010}.
\printbibliography
\end{document}