如果有超过 3 位作者,我希望使用大写字母,并且末尾带有 +。我使用 Overleaf。
书目设置:
\usepackage[
backend=biber,
style=alphabetic,
maxbibnames=10,
]{biblatex}
\title{A bibLaTeX example}
\addbibresource{sample.bib}
围兜文件:
@book{myBook,
author = "Michel Goossens and Frank Mittelbach and Alexander Samarin and John Doe",
title = "The \LaTeX\ Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts",
keywords = "myBook"
}
结果:
[Goo+93] Michel Goossens、Frank Mittelbach、Alexander Samarin 和 TimTester。《LATEX 指南》。马萨诸塞州雷丁:Addison-Wesley,1993 年。
期望结果:
[GMS+93] Michel Goossens、Frank Mittelbach、Alexander Samarin 和 TimTester。《LATEX 指南》。马萨诸塞州雷丁:Addison-Wesley,1993 年。
不同之处: [Goo+93] 与 [GMS+93]
答案1
尝试minalphanames=3
。
biblatex
minalphanames
如果列表长度超过 ,将使用列表中的许多名称maxalphanames
。 的默认值为maxalphanames
,的默认值为3
。这意味着超过三位作者的列表将缩短为一位作者加上“et al.”/“+”。这样,列表将缩短为三位作者加上“et al.”/“+”。minalphanames
1
minalphanames=3,
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=alphabetic,
maxbibnames=10,
minalphanames=3,
]{biblatex}
\begin{filecontents}{\jobname.bib}
@book{myBook,
author = {Michel Goossens and Frank Mittelbach
and Alexander Samarin and John Doe},
title = {The \LaTeX\ Companion},
year = {1993},
publisher = {Addison-Wesley},
address = {Reading, Massachusetts},
keywords = {myBook}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{myBook,sigfridsson,worman}
\printbibliography
\end{document}