我如何更改引用中的姓名顺序,以便姓氏放在第一位,然后使用首字母来消除姓氏相同的作者之间的歧义?
因此对于这个
\documentclass{article}
\usepackage[style=authoryear]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{cgood1980,
Author = {Charles Goodwin},
Journal = {Sociological Inquiry},
Number = {3-4},
Pages = {272-302},
Title = {Restarts, pauses, and the achievement of a state of mutual gaze at turn-beginning},
Volume = 50,
Year = 1980,
}
@article{mgood1980,
Author = {Marjorie Harness Goodwin},
Journal = {Sociological Inquiry},
Pages = {303-317},
Title = {Processes of mutual monitoring implicated in the production of description sequences},
Volume = 50,
Year = 1980,
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\parencite{cgood1980,mgood1980}
\printbibliography
\end{document}
而不是(C. Goodwin 1980; M. H. Goodwin 1980)
我想要
(Goodwin, C. 1980; Goodwin, M. H. 1980)
。我确信解决方案一定很简单,但我找不到它。
答案1
不幸的是,没有简单的选择。但所需的更改很简单。你只需要用 替换定义given-family
中的所有 slabelname
family-given
\DeclareNameFormat{labelname}{%
\ifcase\value{uniquename}%
\usebibmacro{name:family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\or
\ifuseprefix
{\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffixi}}
{\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefixi}
{\namepartsuffixi}}%
\or
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\fi
\usebibmacro{name:andothers}}
就是这样。