我正在编写一份文档,需要引用两位姓氏相同但名字不同的作者的作品(Stefan Müller 和 Gereon Müller)。我已按照另一个问题,并且大多数情况下一切都很顺利:如果我输入as \citet{gmueller98} shows
,我会在正文中得到“如 G. Müller (1998) 所示”,然后在参考书目中得到“Müller, Gereon. 1998. [其余书目条目]”,对于 也是如此\citet{smueller03}
。唯一不起作用的是,在参考书目中,Müllers 都按字母顺序排列在 Collins 和 Engel 之间。请参阅下面的 MWE。
.tex 文件
\documentclass{article}
\DeclareRobustCommand{\disambiguate}[3]{#2~#3}
\usepackage{natbib}
\begin{document}
\citet{gmueller98} mentions some of the data discussed in \citet{smueller03}. See also \citet{collins02} and \citet{engel70}.
\DeclareRobustCommand{\disambiguate}[3]{#1}
\bibliographystyle{spr-chicago}
\bibliography{mwe}
\end{document}
.bib 文件
@incollection{collins02,
Author = {Collins, Christopher},
Title = {{Eliminating labels}},
Booktitle = {{Derivation and explanation in the minimalist program}},
Editor = {Epstein, Samuel and Seely, Daniel},
Publisher = {Blackwell},
Address = {Oxford},
Pages = {42--64},
Year = {2002}}
@book{engel70,
Author = {Engel, Ulrich},
Title = {{Regeln zur Wortstellung}},
Publisher = {Institut f\"ur deutsche Sprache},
Address = {Mannheim},
Year = {1970}}
@book{gmueller98,
Author = {\disambiguate{M\"uller, Gereon}{G.}{M\"uller}},
Title = {{Incomplete category fronting}},
Publisher = {Kluwer},
Address = {Dordrecht},
Year = {1998}}
@article{smueller03,
Author = {\disambiguate{M\"uller, Stefan}{S.}{M\"uller}},
Title = {{Mehrfache Vorfeldbesetzung}},
Journal = {Deutsche Sprache},
Volume = {31},
Number = {1},
Pages = {29--62},
Year = {2003}}
输出:
答案1
\disambiguate...
您需要在作者字段周围添加一层额外的括号:
Author = {{\disambiguate{M\"uller, Gereon}{G.}{M\"uller}}},
这使得bibtex
think\disambiguate
是某种重音,因此出于排序目的忽略它。\noopsort
与bibtex
文档“使用 BibTeX”。
顺便说一句,我更喜欢etoolbox
处理强大命令的机制,因为它提供了一种更新它们的方法。
\documentclass{article}
\usepackage{etoolbox}
\newrobustcmd{\disambiguate}[3]{#2~#3}
\usepackage{natbib}
\begin{document}
\citet{gmueller98} mentions some of the data discussed in
\citet{smueller03}. See also \citet{collins02} and \citet{engel70}.
\renewrobustcmd{\disambiguate}[3]{#1}
\bibliographystyle{spr-chicago}
\bibliography{mwe}
\end{document}
mwe.bib
:
@incollection{collins02,
Author = {Collins, Christopher},
Title = {{Eliminating labels}},
Booktitle = {{Derivation and explanation in the minimalist program}},
Editor = {Epstein, Samuel and Seely, Daniel},
Publisher = {Blackwell},
Address = {Oxford},
Pages = {42--64},
Year = {2002}}
@book{engel70,
Author = {Engel, Ulrich},
Title = {{Regeln zur Wortstellung}},
Publisher = {Institut f\"ur deutsche Sprache},
Address = {Mannheim},
Year = {1970}}
@book{gmueller98,
Author = {{\disambiguate{M\"uller, Gereon}{G.}{M\"uller}}},
Title = {{Incomplete category fronting}},
Publisher = {Kluwer},
Address = {Dordrecht},
Year = {1998}}
@Article{smueller03,
author = {{\disambiguate{M\"uller, Stefan}{S.}{M\"uller}}},
title = {{Mehrfache Vorfeldbesetzung}},
journal = {Deutsche Sprache},
volume = 31,
number = 1,
pages = {29--62},
year = 2003
}