我正尝试在多个引用的上下文中使用 BibTex/natbib/BibLaTeX 为 LaTeX 中的特定引用添加前缀。
以下是我想要显示的内容:
Claim made by several authors (citation01, citation02; but see citation03).
以下是我在 LaTeX 中的尝试:
Claim made by several authors \citep[but see][]{citation01,citation02,citation03}.
问题是它在所有引文前面都添加了前缀(“但见”),我不知道如何指定哪个引文前面有前缀。有没有办法指定前缀插入的位置?
答案1
使用biblatex
及其natbib
兼容性选项,您可以\citep
在括号中使用“标准”引用。对于您的问题中指定的情况,您必须求助于\parencites
。biblatex
有关详细信息,请参阅手册第 3.7.3 节。
\documentclass{article}
\usepackage[style=authoryear,natbib=true]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@misc{C03,
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \citep{A01}.
Claim made by several authors \parencites{A01}{B02}[but see][]{C03}.
\printbibliography
\end{document}
答案2
您还可以使用\ciltealt
抑制括号的命令,如下所示:
Claim made by several authors (\citealt{citation01};
\citealt{citation02}; but see \citealt{citation03}).