在我的文档的标题中,我将最大作者姓名设置为 2:
\usepackage[style=authoryear-icomp, maxbibnames=9, maxcitenames=2, backend=biber]{biblatex}
现在,当我引用有两位作者的文本时,LaTeX 会给出以下内容:
(作者 A/作者 B 2012:232)
当我有三位或更多作者时,LaTeX 会这样做:
(作者 A/作者 B 等人 2012:232)
但是如果有两个以上的作者,我希望 LaTeX 只命名第一作者...就像这样:
(作者 A 等人 2012:232)
关于如何实现这一点有什么建议吗?
答案1
默认情况下biblatex
将要截断名称列表超过maxcitenames
一个作者加上“et al.” ( mincitenames=1
)。但是,biblatex
将(也是默认的)不是如果这样做会导致引用关键字产生歧义,则删除它,我怀疑您的文档中存在这种情况。比较以下两个示例的输出:
\documentclass{article}
\usepackage[style=authoryear-icomp,maxbibnames=9,maxcitenames=2,backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{ABC01,
author = {Author, A. and Buthor, B. and C},
year = {2001},
title = {Alpha},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \autocite{ABC01}.
\printbibliography
\end{document}
\documentclass{article}
\usepackage[style=authoryear-icomp,maxbibnames=9,maxcitenames=2,backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{ABC01,
author = {Author, A. and Buthor, B. and C},
year = {2001},
title = {Alpha},
}
@misc{ADE01,
author = {Author, A. and Duthor, D. and E},
year = {2001},
title = {And now for something completely different},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \autocite{ABC01}.
Some text \autocite{ADE01}.
\printbibliography
\end{document}
如果您希望在任何情况下引用键中都只使用一位作者,请使用选项uniquelist=false
。 (请注意,这可能会导致读者错误地认为“作者等”指的是同一作者团队。)
\documentclass{article}
\usepackage[style=authoryear-icomp,maxbibnames=9,maxcitenames=2,uniquelist=false,
backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{ABC01,
author = {Author, A. and Buthor, B. and C},
year = {2001},
title = {Alpha},
}
@misc{ADE01,
author = {Author, A. and Duthor, D. and E},
year = {2001},
title = {And now for something completely different},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \autocite{ABC01}.
Some text \autocite{ADE01}.
\printbibliography
\end{document}