Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

My apologies for not doing a proper search before asking my question. This is a last minute thing and I am very short on time for thesis submission.

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}
share|improve this question
    
Could you give more information, for example what options do you provide to the biblatex package, and what commands you use for that output? –  T. Verron Mar 22 '13 at 16:35
    
I have updated the post to show all biblatex options. –  cryptic0 Mar 22 '13 at 16:49
    
And how do you produce the "references"? Your output doesn't look like anything you can find in mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/… . –  T. Verron Mar 22 '13 at 17:07
add comment

1 Answer

up vote 3 down vote accepted

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).

share|improve this answer
    
Guido: That does work, thanks. However, I am not quite sure how. How does the field 'date+extrayear' refer to a place between the last author's name and the year? –  cryptic0 Mar 27 '13 at 0:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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