BibLaTeX:将同一作者、不同年份合并为一个引文

BibLaTeX:将同一作者、不同年份合并为一个引文

在下面的 MWE 中,\citet{macdonald2015, macdonald2016}变为“MacDonald (2015) and MacDonald (2016)”。\citep{macdonald2015, macdonald2016}变为“(MacDonald, 2015; MacDonald 2016)”。如何让它打印“MacDonald (2015, 2016)”和“(MacDonald, 2015; 2016)”?

\documentclass{scrartcl}
\usepackage{fontspec}
\usepackage[style=authoryear,natbib=true,backend=biber,sorting=nyt,mincitenames=1,maxcitenames=2,url=false,giveninits=true,uniquename=false,maxbibnames=100,uniquelist=false,dashed=false]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{macdonald2015,
  title = {On Having a Farm},
  volume = {42},
  journaltitle = {Journal of Science and Stuff},
  author = {MacDonald, O.},
  date = {2015}
}
@article{macdonald2016,
  title = {Noise reduction in livestock},
  volume = {43},
  journaltitle = {Journal of Science and Stuff},
  author = {MacDonald, O.},
  date = {2016}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\title{A document}
\begin{document}
\maketitle
In this text I cite \citet{macdonald2015, macdonald2016} for the mwe. 
And now i cite the same clever fellow \citep{macdonald2015, macdonald2016} again.
\printbibliography
\end{document}

在此处输入图片描述

答案1

答案: 改变风格为authoryear-comp

\usepackage[style=authoryear-comp,…]{biblatex}

相关内容