自动对括号内的引用进行排序

自动对括号内的引用进行排序

我使用该biblatex-chicago包,并希望自动按参考书目顺序对括号内的引文进行排序。基本上,我想做\usepackage[sort]{natbib}* 所做的事,但在 biblatex 中。

如果我输入 \citep{Smith2009,Smith2001,Jones2010,Jones1999},我希望结果看起来像 (Jones,1999,2010;Smith,2001,2009)。

    \documentclass{article}
    \RequirePackage[natbib, authordate,backend=biber,doi=false,isbn=false,url=false,
    ibidtracker=false]{biblatex-chicago}    
    \addbibresource{\jobname.bib}
    \usepackage{filecontents}

    \begin{filecontents}{\jobname.bib}
    @book{Jones1999,
      author = {Jones, A.},
      year = {1999},
      title = {Title},
      publisher = {Publisher},
    }
 @book{Jones2010,
      author = {Jones, A.},
      year = {2010},
      title = {Title},
      publisher = {Publisher},
    }
 @book{Smith2001,
      author = {Smith, A.},
      year = {2001},
      title = {Title},
      publisher = {Publisher},
    }
 @book{Smith2009,
      author = {Smith, A.},
      year = {2009},
      title = {Title},
      publisher = {Publisher},
    }
    \end{filecontents}

    \begin{document}

    \citep{Smith2009,Smith2001,Jones2010,Jones1999}

    \printbibliography

    \end{document}

*来源:自动按括号内的引用顺序排列

答案1

找到了!选项的名称是sortcites

   \RequirePackage[natbib, authordate,backend=biber,doi=false,isbn=false,url=false,
    ibidtracker=false,sortcites]{biblatex-chicago}    

相关内容