删除 biblatex 中最后一位和倒数第二位作者之间的“and”?

删除 biblatex 中最后一位和倒数第二位作者之间的“and”?

我正在尝试使我的biblatex参考资料匹配这本温哥华风格指南经过一些调整后,我的biblatex参考文献几乎完全符合我的要求,只有一点例外。单词and插入在倒数第二位和倒数第三位作者之间。

我怎样才能删除最后一位和倒数第二位作者之间的单词“and”?

以下是 MWE:

\documentclass{article}

% nejm style gets us close.
\usepackage[style=nejm, terseinits=true]{bib latex}

% This bit makes sure the last names come before the initials.
\DeclareNameAlias{default}{last-first}
\renewcommand*{\revsdnamepunct}{}

% This puts the volume number in parentheses.
\renewbibmacro*{volume+number+eid}{%
    \printfield{volume}%
    \printfield{number}%
    \setunit{\addcomma\space}%
    \printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}

\begin{filecontents}{references.bib}
    @article{kenkre_simple_1997,
      title = {Simple Solutions of the {{Torrey}}–{{Bloch}} Equations in the {{NMR}} Study of Molecular Diffusion},
      volume = {128},
      url = {http://www.sciencedirect.com/science/article/pii/S1090780797912167},
      number = {1},
      journaltitle = {J. Magn. Reson.},
      author = {Kenkre, V. M. and Fukushima, Eiichi and Sheltraw, D.},
      urldate = {2017-02-07},
      date = {1997-06},
      pages = {62--69},
}

\end{filecontents}
\addbibresource{references.bib}

\begin{document}
    Here is a reference \parencite{kenkre_simple_1997}.
    \printbibliography
\end{document}

參考示例

答案1

您可以重新定义\finalnamedelim,但请注意,它依赖于语言。因此您必须使用\DeclareBibliographyExtras

\documentclass{article}

% nejm style gets us close.
\usepackage[style=nejm, terseinits=true]{biblatex}

% This bit makes sure the last names come before the initials.
\DeclareNameAlias{default}{last-first}
\renewcommand*{\revsdnamepunct}{}

% This puts the volume number in parentheses.
\renewbibmacro*{volume+number+eid}{%
    \printfield{volume}%
    \printfield{number}%
    \setunit{\addcomma\space}%
    \printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}

\addbibresource{biblatex-examples.bib}
\DefineBibliographyExtras{english}{%
  \renewcommand*{\finalnamedelim}{\addcomma\addspace}%
}

\begin{document}
    Here is a reference \parencite{yoon}.
    \printbibliography
\end{document}

在此处输入图片描述

相关内容