如何在引文标注中显示前两位作者?

如何在引文标注中显示前两位作者?

我正在尝试找到一种方法来在文中引用和显示出版物的第一和第二位合著者。

例子:

@article{Leech_2011,
    doi = {10.1523/jneurosci.5626-10.2011},
    url = {https://doi.org/10.1523%2Fjneurosci.5626-10.2011},
    year = 2011,
    month = {mar},
    publisher = {Society for Neuroscience},
    volume = {31},
    number = {9},
    pages = {3217--3224},
    author = {R. Leech and S. Kamourieh and C. F. Beckmann and D. J. Sharp},
    title = {Fractionating the Default Mode Network: Distinct Contributions of the Ventral and Dorsal Posterior Cingulate Cortex to Cognitive Control},
    journal = {Journal of Neuroscience}
}

如果 R. Leech 和 S. Kamourieh 都是第一合作作者,\citep{Leech_2011}则仅显示 Leech。

我该如何解决这个问题?

答案1

我认为您使用了natbib引文管理软件包。如果是这样,您可以使用软件包的引文别名功能(具体来说,\defcitealias\citepalias命令)来创建所需形式的引文调出。

在此处输入图片描述

\documentclass{article} % or some other suitable document class
\begin{filecontents}[overwrite]{mybib.bib}
@article{Leech_2011,
    doi = {10.1523/jneurosci.5626-10.2011},
    url = {https://doi.org/10.1523%2Fjneurosci.5626-10.2011},
    year = 2011,
    month = mar,
    publisher = {Society for Neuroscience},
    volume = {31},
    number = {9},
    pages = {3217--3224},
    author = {R. Leech and S. Kamourieh and C. F. Beckmann and D. J. Sharp},
    title = {Fractionating the Default Mode Network: Distinct Contributions of the Ventral and Dorsal Posterior Cingulate Cortex to Cognitive Control},
    journal = {Journal of Neuroscience}
}
\end{filecontents}

\usepackage[english]{babel}
\usepackage[authoryear,round]{natbib}
\setlength\bibhang{0pt} % optional
\bibliographystyle{abbrvnat} % or some other suitable bib style
\defcitealias{Leech_2011}{Leech, Kamourieh, et al., 2011} % <-- new

\usepackage{xurl} % for easy line breaks in long URL strings
\usepackage[colorlinks,allcolors=blue]{hyperref} % optonal

\begin{document}

\citep{Leech_2011}

\citepalias{Leech_2011} % <-- new

\bibliography{mybib}
\end{document} 

相关内容