[Tex/LaTex] Comma after last author field in biblatex

biberbiblatex

Currently, my references (not citations) have no comma between the last author name, e.g.

Author, AB, CD Author 2012
Author, AB, CD Author et al. 2012

What I would like is:

Author, AB, CD Author, 2012
Author, AB, CD Author et al., 2012

As requested here are the options, I have provided to biblatex:

\usepackage[bibstyle=authoryear-icomp,
citestyle=authoryear-icomp,
uniquename=false,
uniquelist=false, 
firstinits=true, 
maxbibnames=5,
minbibnames=5, 
maxcitenames=2,
mincitenames=1, 
sorting=ynt, 
url=false, 
isbn=false, 
eprint=false, 
doi=false, 
dashed=false, 
natbib=true,
ibidtracker=false,
backend=biber]{biblatex}

%Remove comma in (Beadle and Tautum, 1941) This applies to citation only
\renewcommand*{\nameyeardelim}{\addspace}

Best Answer

A possible solution is use the xpatch package to patch the date+extrayear bibmacro as follows:

\usepackage{xpatch}
\xpretobibmacro{date+extrayear}{\unspace\addcomma\addspace}{}{}

EDIT: Here is an explanation of the patch. The biblatex documentation contains a bib latex.def file with definitions of many bibmacro and other aspects, covering among other which and when bib fields are printed and formatting instructions to print them. Then biblatex include standards.blx. In this file there are the definitions of the drivers. The definition of the drivers specify the order of the various elements. The date/year does not appear directly in the main drivers, but it appears in biblatex macros. For example, for the authoryear style it appears in the macro that produce the author(s)/editor(s) (and the authoryear-icomp calls the authoryear style (for references).

Related Question