按字母顺序使用 \cite{} 和 \citep{} (文内)

按字母顺序使用 \cite{} 和 \citep{} (文内)

我有 Overleaf 网站上的常规参考文献设置。据我了解,当引用多个参考文献时,文内引用遵循书写顺序,但不会自动按字母顺序排列?

很高兴看到这个解决方案(文内括号内引用字母顺序)

编辑:我发布了 MWE。这里,Ridley 应该走到最后,因为 R 在 B 之后。

\documentclass[a4paper,11pt]{article}
\usepackage{geometry}
\geometry{left=2.5cm,textwidth=16.5cm,top=2cm, bottom=2cm, textheight=27cm}
\usepackage{natbib}
\usepackage[colorlinks]{hyperref} 
    
\begin{document}
Lorem ipsum dolor sit amet \citep{bhat2022, ridley2020, bharadwaj2017}. 
\newpage
\bibliographystyle{apalike}
\bibliography{references.bib}
%\printbibliography

\end{document}

参考文献如下:

@article{bharadwaj2017,
  title={Mental health stigma},
  author={Bharadwaj, Prashant and Pai, Mallesh M and Suziedelyte, Agne},
  journal={Economics Letters},
  volume={159},
  pages={57--60},
  year={2017},
  publisher={Elsevier}
}




@misc{bhat2022,
  type = {Working {{Paper}}},
  title = {The {{Long-Run Effects}} of {{Psychotherapy}} on {{Depression}}, {{Beliefs}}, and {{Economic Outcomes}}},
  author = {Bhat, Bhargav and {de Quidt}, Jonathan and Haushofer, Johannes and Patel, Vikram H. and Rao, Gautam and Schilbach, Frank and Vautrey, Pierre-Luc P.},
  year = {2022},
  month = may,
  series = {Working {{Paper Series}}},
  number = {30011},
  publisher = {{National Bureau of Economic Research}},
  doi = {10.3386/w30011},
}

@article{ridley2020,
  title = {Poverty, Depression, and Anxiety: {{Causal}} Evidence and Mechanisms},
  shorttitle = {Poverty, Depression, and Anxiety},
  author = {Ridley, Matthew and Rao, Gautam and Schilbach, Frank and Patel, Vikram},
  year = {2020},
  month = dec,
  journal = {Science},
  volume = {370},
  number = {6522},
  publisher = {{American Association for the Advancement of Science}},
  doi = {10.1126/science.aay0214},
}

相关内容