删除作者的逗号 - biblatex

删除作者的逗号 - biblatex

我有 usingbiblatex包,想删除 author 中的逗号。该怎么做?

\usepackage[style=authoryear,citestyle=authoryear-ibid,sorting=nyt,dashed=false]{biblatex}

@ARTICLE{ipab730bbib2,
    author ={S F Edwards},
    year =1967,
    title ={Statistical mechanics with topological constraints: I},
    journaltitle ={Proc. Phys. Soc.},
    volume={91},
    pages={513},
}

我期望结果只是Edwards S F这样。如何实现?

答案1

按照家庭顺序排列的家庭和名字之间的标点符号由 控制\revsdnamepunct,默认为逗号。如果您不想要逗号,只需重新定义\revsdnamepunct为空即可。

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[
  style=authoryear-ibid,
  dashed=false,
  terseinits, giveninits
]{biblatex}

\renewcommand*{\revsdnamepunct}{}

\begin{filecontents}{\jobname.bib}
@ARTICLE{ipab730bbib2,
  author       = {S. F. Edwards},
  year         = 1967,
  title        = {Statistical Mechanics With Topological Constraints: I},
  journaltitle = {Proc. Phys. Soc.},
  volume       = {91},
  pages        = {513},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{sigfridsson,ipab730bbib2}

\printbibliography
\end{document}

Edwards SF (1967)。《具有拓扑约束的统计力学:I》。收录于:Proc. Phys. Soc. 91,第 513 页。


如果您想保留首字母之间的空格并且不想要点,请删除该terseinits选项并添加

\renewrobustcmd*{\bibinitperiod}{}

回到序言。

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[
  style=authoryear-ibid,
  dashed=false,
  giveninits
]{biblatex}

\renewcommand*{\revsdnamepunct}{}
\renewrobustcmd*{\bibinitperiod}{}

\begin{filecontents}{\jobname.bib}
@ARTICLE{ipab730bbib2,
  author       = {S. F. Edwards},
  year         = 1967,
  title        = {Statistical Mechanics With Topological Constraints: I},
  journaltitle = {Proc. Phys. Soc.},
  volume       = {91},
  pages        = {513},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{sigfridsson,ipab730bbib2}

\printbibliography
\end{document}

Edwards SF (1967)。《具有拓扑约束的统计力学:I》。收录于:Proc. Phys. Soc. 91,第 513 页。

相关内容