正如下面的 MWE 中所述,我希望de Haan (1970)
在文本和Haan, L. de (1970)
参考文献中打印出来。如何调整文本中的标签而不更改参考文献中的标签(或反过来)?(仅适用于单个参考文献,其他所有参考文献都不应更改)
\documentclass{scrartcl}
\usepackage[style=authoryear]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{bib.bib}
@article{deHaan,
author = {Haan, L. {de}},
title = {On Regular Variation and its Application to the Weak
Convergence of Sample Extremes},
note = {Thesis, Mathematical Centre Tract, vol.\ 32, University of
Amsterdam},
year = 1970
}
\end{filecontents*}
\addbibresource{bib.bib}
\begin{document}
The reference \cite{deHaan} appears as ``Haan (1970)'' in the text and as ``Haan, L. de (1970)'' in the references below.
How can I get ``de Haan (1970)'' in the text (while keeping ``Haan, L. de (1970)'' in the references) for just this one
reference (not all others potentially appearing)?
(This is the personal choice of this author and it is not too confusing to find the right reference even if the label
is different in the text (so one can justify that they differ). I saw the biblatex field shorthand, but that works differently)
\printbibliography
\end{document}
答案1
输入姓名的正确方法图森福埃瑟尔(“von part”/名称前缀)是
author = {de Haan, L.},
该表单author = {Haan, L. {de}},
将把解析{de}
为一个额外的名字,而没有真正的机会恢复“de”是一个图森福埃瑟尔。
在de
正确解析为姓名前缀的情况下,您可以将选项设置useprefix
为true
或false
。如果设置为true
,则姓名前缀将被视为姓氏的一部分(de Haan, L.),如果它被视为名字的一部分(Haan, L. de)。如果您想要两者的混合,您需要发挥创造力。为此,了解该选项的一侧是作为名为 的切换开关实现的,false
会有所帮助。您可以随时更改此切换开关的值。比较biblatex
blx@useprefix
Biblatex 处理荷兰语“van”前缀。
\documentclass{scrartcl}
\usepackage[style=authoryear, useprefix=false]{biblatex}
\AtEveryCitekey{\toggletrue{blx@useprefix}}
\begin{filecontents*}{\jobname.bib}
@phdthesis{deHaan,
author = {de Haan, L.},
title = {On Regular Variation and its Application to the Weak
Convergence of Sample Extremes},
school = {University of Amsterdam},
year = 1970,
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
The reference \autocite{deHaan}
\printbibliography
\end{document}
请注意,全局选项会影响排序。切换blx@useprefix
对排序没有影响。