
我在 Lyx 中使用 biblatex,並在序言中設定了選項 maxcitenames=2、maxbibnames=99、style=authoryear。這具有使所有超過2 位作者的引用在文本中顯示為“作者1 等人(年份)”的效果,但在參考書目中列出了所有作者,這就是我想要的所有引用(除了一個) ,我會喜歡以「作者 1、作者 2 和作者 3(年份)」的格式列出所有三位作者。有沒有辦法手動更改單一引文的顯示方式?
答案1
您可以在文件欄位中maxcitenames
的每個條目層級進行設定。然後,這將覆蓋該條目的本地相關全域設定。options
.bib
在以下範例中將elk
(三位作者和options = {maxcitenames=3},
)與companion
(三位作者且無本地設定)進行比較maxcitenames
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear, maxcitenames=2, maxbibnames=99,]{biblatex}
\begin{filecontents}{\jobname.bib}
@book{elk,
author = {Anne Elk and Banne Welk and Hanne Selk},
title = {A Theory on Brontosauruses},
year = {1972},
publisher = {Monthy \& Co.},
location = {London},
options = {maxcitenames=3},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \textcite{elk}
ipsum \textcite{companion}
dolor \textcite{aksin}
sit \textcite{sigfridsson}
\printbibliography
\end{document}