TransWikia.com

Remove comma from author - biblatex

TeX - LaTeX Asked on July 14, 2021

I have using biblatex package and want to remove comma in the author. How to do this.

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},
}

I am expecting result is Edwards S F only. How to do this?

One Answer

The punctuation between family and given name in family-given order is controlled by revsdnamepunct, which defaults to a comma. If you don't want that comma, just redefine revsdnamepunct to be empty.

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). ‘Statistical Mechanics With Topological Constraints: I’. In: Proc. Phys. Soc. 91, p. 513.


If you want to retain the space between the initials and only want no dots, remove the terseinits option and add

renewrobustcmd*{bibinitperiod}{}

to the preamble.

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 S F (1967). ‘Statistical Mechanics With Topological Constraints: I’. In: Proc. Phys. Soc. 91, p. 513.

Correct answer by moewe on July 14, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP