4

When I use Biblatex with style=ieee, I get a COMMA and a AND before the third author in my bibliography:

MWE:

\documentclass{article}
\usepackage[english]{babel}
\usepackage[backend=bibtex,style=ieee]{biblatex} 
\begin{filecontents}{\jobname.bib}
@article{doe2015,
author={Doe1, J. and Doe2 K. and Doe3 L.},
title={Why I get this extra comma before the 'and' ?}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Citation here: \cite{doe2015}
\printbibliography
\end{document}

Produces:

enter image description here

Where is this listed as IEEE style?

My question is: how to fix (remove) the last comma before the "and"?

Also, I think this is not following IEEE anyway:

This: http://www.ieee.org/documents/ieeecitationref.pdf

is mentioning:

three or more authors: J. K. Author et al.

Why is this not implemented? Where can I find the "official" IEEE citation guidelines which is implemented by Biblatex/IEEE?

How can I enable this mode to list only the first author?

6

It is enough to modify the value of \finalandcomma:

\documentclass{article}
\usepackage[english]{babel}
\usepackage{filecontents}
\usepackage[backend=bibtex,style=ieee]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{doe2015,
author={Doe1, J. and Doe2 K. and Doe3 L.},
title={Why I get this extra comma before the 'and'?},
year = 2015
}
\end{filecontents}

\addbibresource{\jobname.bib}
\AtBeginBibliography{\renewcommand\finalandcomma{}}

\begin{document}

Citation here: \cite{doe2015}
\printbibliography

\end{document} 

As mentioned by @moewe, a nicer way, instead of \AtBeginBibliography{…} is to write \DefineBibliographyExtras{english}{\let\finalandcomma=\empty}.

enter image description here

  • Thanks! This did the trick. Also thanks on behalf of future vistors with this question. – robert May 8 '15 at 11:39
  • 1
    I believe a slightly nicer way is \DefineBibliographyExtras{english}{\let\finalandcomma=\empty}. You will see a difference to the simple \AtBeginBibliography when using a style like authoryear and works with three authors: \cite{companion}. Cf. Multiple authors in (classicthesis) Bibliography: removing comma before “and” – moewe Jan 2 '16 at 21:26
  • @moewe: Thanks for the link. I've added your way to my answer. I agree with you it's nicer. – Bernard Jan 2 '16 at 22:51
  • Indeed, you will not only find that it is nicer, but also that only that approach gives satisfying results in all situations, \AtBeginBibliography{\renewcommand\finalandcomma{}} does not get rid of the Oxford commas in citations and probably has trouble if the language is switched in the bibliography. You can try the following example ... – moewe Jan 3 '16 at 7:59
  • ... \documentclass[english]{article} \usepackage{babel} \usepackage{filecontents} \usepackage[backend=bibtex,style=authoryear,autolang=other]{biblatex} \begin{filecontents}{\jobname.bib} @article{doe2015, author={Doe1, J. and Doe2 K. and Doe3 L.}, title={Why}, year = 2015 } \end{filecontents} \addbibresource{\jobname.bib} \addbibresource{biblatex-examples.bib} %\AtBeginBibliography{\renewcommand\finalandcomma{}} %\DefineBibliographyExtras{english}{\let\finalandcomma=\empty} \begin{document} Citation here: \cite{doe2015,companion} \printbibliography \end{document} – moewe Jan 3 '16 at 7:59
7

The implementation in biblatex-ieee follows as far as possible that in ieeetran. The latter describes itself as being official correct, so this is a reasonable reference point.

On the specific point about the 'Oxford comma' here, if you look at texdoc ieeetran and for example ref. 20 you will see

C. Barratt, M. C. Grant, and D. Carlisle.

with a comma. This is the reason that this is implemented as part of biblatex-ieee.

If you wish to override the behaviour, adding

\ExecuteBibliographyOptions{
  maxnames = 2,
  minnames = 1,
}

after loading biblatex will truncate the author list.

  • Jospeh, thanks for your explanation but I still want to get rid of this oxford comma in Biblatex/IEEE. Is there a simple way (eg switch) to do this? – robert May 8 '15 at 11:02
1

You've written the authors' names incorrectly and Bibtex is confused.

If you put the surname first followed by the initial you have to put a comma behind each surname: author={Doe1, J. and Doe2, K. and Doe3, L.},

Alternatively you could put initials first and then surnames, in which case no commas are needed: author={J. Doe1 and K. Doe2 and L. Doe3},

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.