获取 .bib 文件的“annote”字段

获取 .bib 文件的“annote”字段

我有如下 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}

相关内容