How to add a comma between author and year

I use the authoryear style in biblatex, and when I do for instance \cite{bauman2000}, I get:

Bauman 2000

But I would like to add a comma between the author and the year, in order to have

Bauman, 2000

Is there a simple command to get this change ?

• Welcome to TeX.SX! Sep 19 '13 at 10:20
• Welcome to this site. I hope you will have a wonderful time here. Sep 19 '13 at 10:38

The space between the name and the year is controlled by the macro \nameyeardelim. So you have to redefine it:

\renewcommand*{\nameyeardelim}{\addcomma\space}


Here a small example:

\documentclass[]{article}
\usepackage[style=authoryear]{biblatex}
\begin{document}
\cite{companion}
\end{document}


The default definition can be found in the file biblatex.def. There are other useful definitions are also done.

• Thanks it works !! Is there a way to flag this question as "resolved" ?
– Leo
Sep 19 '13 at 11:47
• @Leo: Yes, there is a checkmark under the arrows. I am glad that it helps. Sep 19 '13 at 11:57
• The number of small changes I've had to add to biblatex in order to make it produce standard citations is amazing.. Makes me wonder if this is the best option anyway. Mar 10 '15 at 13:52
• After adding the above line in my code, I got "... command already defined ..." error. I then edited corresponding line in the default definition file biblatex.def (in my system it is located in /usr/share/texlive/texmf-dist/tex/latex/biblatex/biblatex.def). Then it worked. Editing this file may require permission. Nov 4 '15 at 14:53
• In more recent versions of biblatex nameyeardelim is a context-sensitive delimiter, so \DeclareDelimFormat{nameyeardelim}{\addcomma\space} would be the preferred way to do the same thing as in this answer. Aug 18 '19 at 20:08