\Citet{} 具有相同的第一作者,将每篇论文单独列出为“作者 [1,2,3,4]”,而不是范围“作者 [1-4]”

\Citet{} 具有相同的第一作者,将每篇论文单独列出为“作者 [1,2,3,4]”,而不是范围“作者 [1-4]”

我引用了同一作者的几篇论文。如果我使用该\cite{}命令,它会显示范围 [1–4],但如果我使用该\citet{}命令,它会单独列出每个数字

作者等人[1,2,3,4]。

有没有办法将其打印为

作者等人[1–4]?

梅威瑟:

\documentclass{revtex4-2}
\bibliographystyle{apsrev4-2}
\begin{document}
\citet{akarsu_graduated_2020,akarsu_lambda_rm_2023,akarsu_relaxing_2021,akarsu_relaxing_2023}
\cite{akarsu_graduated_2020,akarsu_lambda_rm_2023,akarsu_relaxing_2021,akarsu_relaxing_2023}
\bibliography{bib}
\end{document}

使用bib.bib文件

@misc{akarsu_lambda_rm_2023,
    title = {\${\textbackslash}{Lambda}\_\{{\textbackslash}rm s\}\${CDM} model: {A} promising scenario for alleviation of cosmological tensions},
    shorttitle = {\${\textbackslash}{Lambda}\_\{{\textbackslash}rm s\}\${CDM} model},
    url = {http://arxiv.org/abs/2307.10899},
    urldate = {2024-03-06},
    publisher = {arXiv},
    author = {Akarsu, Ozgur and Di Valentino, Eleonora and Kumar, Suresh and Nunes, Rafael C. and Vazquez, J. Alberto and Yadav, Anita},
    month = jul,
    year = {2023},
    note = {arXiv:2307.10899 [astro-ph, physics:gr-qc]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, General Relativity and Quantum Cosmology, Hubble tension},
}

@article{akarsu_graduated_2020,
    title = {Graduated dark energy: {Observational} hints of a spontaneous sign switch in the cosmological constant},
    volume = {101},
    issn = {2470-0010, 2470-0029},
    shorttitle = {Graduated dark energy},
    url = {http://arxiv.org/abs/1912.08751},
    doi = {10.1103/PhysRevD.101.063528},
    number = {6},
    urldate = {2024-03-06},
    journal = {Physical Review D},
    author = {Akarsu, Ozgur and Barrow, John D. and Escamilla, Luis A. and Vazquez, J. Alberto},
    month = mar,
    year = {2020},
    note = {arXiv:1912.08751 [astro-ph, physics:gr-qc, physics:hep-ph, physics:hep-th]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, General Relativity and Quantum Cosmology, High Energy Physics - Phenomenology, High Energy Physics - Theory, Hubble tension},
    pages = {063528},
}

@article{akarsu_relaxing_2021,
    title = {Relaxing cosmological tensions with a sign switching cosmological constant},
    volume = {104},
    issn = {2470-0010, 2470-0029},
    url = {http://arxiv.org/abs/2108.09239},
    doi = {10.1103/PhysRevD.104.123512},
    number = {12},
    urldate = {2024-03-06},
    journal = {Physical Review D},
    author = {Akarsu, Ozgur and Kumar, Suresh and Ozulker, Emre and Vazquez, J. Alberto},
    month = dec,
    year = {2021},
    note = {arXiv:2108.09239 [astro-ph, physics:gr-qc]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, General Relativity and Quantum Cosmology, Hubble tension},
    pages = {123512},
}

@article{akarsu_relaxing_2023,
    title = {Relaxing cosmological tensions with a sign switching cosmological constant: {Improved} results with {Planck}, {BAO}, and {Pantheon} data},
    volume = {108},
    issn = {2470-0010, 2470-0029},
    shorttitle = {Relaxing cosmological tensions with a sign switching cosmological constant},
    url = {http://arxiv.org/abs/2211.05742},
    doi = {10.1103/PhysRevD.108.023513},
    number = {2},
    urldate = {2024-03-06},
    journal = {Physical Review D},
    author = {Akarsu, Ozgur and Kumar, Suresh and Ozulker, Emre and Vazquez, J. Alberto and Yadav, Anita},
    month = jul,
    year = {2023},
    note = {arXiv:2211.05742 [astro-ph]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, Hubble tension},
    pages = {023513},
}

非常感谢您抽出时间并提前给予帮助。:)

答案1

改编Mico 的回答类似问题,你可以使用:

\begin{filecontents}{bib.bib}
@misc{akarsu_lambda_rm_2023,
    title = {\${\textbackslash}{Lambda}\_\{{\textbackslash}rm s\}\${CDM} model: {A} promising scenario for alleviation of cosmological tensions},
    shorttitle = {\${\textbackslash}{Lambda}\_\{{\textbackslash}rm s\}\${CDM} model},
    url = {http://arxiv.org/abs/2307.10899},
    urldate = {2024-03-06},
    publisher = {arXiv},
    author = {Akarsu, Ozgur and Di Valentino, Eleonora and Kumar, Suresh and Nunes, Rafael C. and Vazquez, J. Alberto and Yadav, Anita},
    month = jul,
    year = {2023},
    note = {arXiv:2307.10899 [astro-ph, physics:gr-qc]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, General Relativity and Quantum Cosmology, Hubble tension},
}

@article{akarsu_graduated_2020,
    title = {Graduated dark energy: {Observational} hints of a spontaneous sign switch in the cosmological constant},
    volume = {101},
    issn = {2470-0010, 2470-0029},
    shorttitle = {Graduated dark energy},
    url = {http://arxiv.org/abs/1912.08751},
    doi = {10.1103/PhysRevD.101.063528},
    number = {6},
    urldate = {2024-03-06},
    journal = {Physical Review D},
    author = {Akarsu, Ozgur and Barrow, John D. and Escamilla, Luis A. and Vazquez, J. Alberto},
    month = mar,
    year = {2020},
    note = {arXiv:1912.08751 [astro-ph, physics:gr-qc, physics:hep-ph, physics:hep-th]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, General Relativity and Quantum Cosmology, High Energy Physics - Phenomenology, High Energy Physics - Theory, Hubble tension},
    pages = {063528},
}

@article{akarsu_relaxing_2021,
    title = {Relaxing cosmological tensions with a sign switching cosmological constant},
    volume = {104},
    issn = {2470-0010, 2470-0029},
    url = {http://arxiv.org/abs/2108.09239},
    doi = {10.1103/PhysRevD.104.123512},
    number = {12},
    urldate = {2024-03-06},
    journal = {Physical Review D},
    author = {Akarsu, Ozgur and Kumar, Suresh and Ozulker, Emre and Vazquez, J. Alberto},
    month = dec,
    year = {2021},
    note = {arXiv:2108.09239 [astro-ph, physics:gr-qc]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, General Relativity and Quantum Cosmology, Hubble tension},
    pages = {123512},
}

@article{akarsu_relaxing_2023,
    title = {Relaxing cosmological tensions with a sign switching cosmological constant: {Improved} results with {Planck}, {BAO}, and {Pantheon} data},
    volume = {108},
    issn = {2470-0010, 2470-0029},
    shorttitle = {Relaxing cosmological tensions with a sign switching cosmological constant},
    url = {http://arxiv.org/abs/2211.05742},
    doi = {10.1103/PhysRevD.108.023513},
    number = {2},
    urldate = {2024-03-06},
    journal = {Physical Review D},
    author = {Akarsu, Ozgur and Kumar, Suresh and Ozulker, Emre and Vazquez, J. Alberto and Yadav, Anita},
    month = jul,
    year = {2023},
    note = {arXiv:2211.05742 [astro-ph]},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, Hubble tension},
    pages = {023513},
}
\end{filecontents}

\documentclass{revtex4-2}
\ExplSyntaxOn
\NewDocumentCommand{ \citext } { O{#2} m }
  {
    \seq_set_split:Nnn \l_tmpa_seq { , } { #1 }
    \citeauthor{ \seq_item:Nn \l_tmpa_seq { 1 } } \c_space_token \citep{#2}
  }
\ExplSyntaxOff
\bibliographystyle{apsrev4-2}
\begin{document}
\verb|\citext|: \citext{akarsu_graduated_2020,akarsu_lambda_rm_2023,akarsu_relaxing_2021,akarsu_relaxing_2023}

\verb|\citet|: \citet{akarsu_graduated_2020,akarsu_lambda_rm_2023,akarsu_relaxing_2021,akarsu_relaxing_2023}

\verb|\citep|: \citep{akarsu_graduated_2020,akarsu_lambda_rm_2023,akarsu_relaxing_2021,akarsu_relaxing_2023}

\verb|\cite|: \cite{akarsu_graduated_2020,akarsu_lambda_rm_2023,akarsu_relaxing_2021,akarsu_relaxing_2023}
\bibliography{bib}
\end{document}

在此处输入图片描述

但请注意:仅显示列表中第一个条目的作者。因此,如果引用来自不同的作者,则不应使用\citext

相关内容