[Tex/LaTex] Multiple citations in a single year using biblatex

biblatex

My biblatex preamble is like this:

\usepackage[bibstyle=authoryear,
citestyle=authoryear, 
firstinits=true, 
maxbibnames=5,
minbibnames=3, 
maxcitenames=2, 
sorting=nyt, 
url=false, 
isbn=false, 
eprint=false, 
doi=false, 
dashed=false, 
natbib=true]{biblatex}

When I cite two papers by the same author in the same year (\citet{Einstein1905a, Einstein1905b}), they appear as follows:

Einstein (1905a); Einstein (1905b)

Instead, I would like for them to appear as:

Einstein (1905a,b).

How can I accomplish this?

Best Answer

biblatex doesn't feature a built-in style which compresses only papers by the same author and in the same year. If compressing of same author/different year is fine with you, simply use the authoryear-comp style.

\documentclass{article}
\usepackage{filecontents}
\usepackage[style=authoryear-comp,natbib]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents}{\jobname.bib}
@article{one,
author = "Last, First",
title = {Title},
journal = {A Journal},
year = {2011},
}  
@article{two,
author = "Last, First",
title = {Title},
journal = {B Journal},
year = {2012},
}  
@article{three,
author = "Surname, Given",
title = {Title},
journal = {C Journal},
year = {2013},
}  
@article{four,
author = "Surname, Given",
title = {Title},
Journal = {D Journal},
year = {2013},
}  
\end{filecontents}

\begin{document}
\citet{one,two,three,four}
\printbibliography
\end{document}

enter image description here