BibTeX:同一作者,不同年份

BibTeX:同一作者,不同年份

引用同一作者的一些論文的風格給了我類似的\cite{paper1,paper2,paper3}東西apalike

[姓氏,2001 年,姓氏,2002 年,姓氏,2003 年]

我比較喜歡這樣的東西:

[姓氏,2001 年、2002 年、2003 年]

感謝您的任何建議。

答案1

您想要的引文格式已在 中定義apalike,除非您修改了樣式。請嘗試以下方法,如果沒有幫助,也許更新您的natbib軟體包。

mybib.bib我有來自不同年份的三個條目,其中前兩個具有相同的作者,第三個被修改:

@article{jd12,
  author={Doe, J. and Bar, F. and Smith, J.},
  title={Some title 1},
  journal={Some journal},
  year={2012},
}

@article{jd13,
  author={Doe, J. and Bar, F. and Smith, J.},
  title={Some title 2},
  journal={Some journal},
  year={2013},
}

@article{jd14,
  author={Doe, J. and Simpson, H. and Bar, F.},
  title={Some title 3},
  journal={Some journal},
  year={2014},
}

現在主要文件:

\documentclass[12pt]{report}
\usepackage{natbib}

\begin{document}

Cite the first pair normally \cite{jd12,jd13}, then the second pair in text \citet{jd13,jd14} and now the first and the third in brackets \citep{jd12,jd14}.

We can also cite them all at once, e.~g. in brackets \citep{jd12,jd13,jd14}, or switch them \citet{jd14,jd12,jd13}.

\bibliographystyle{apalike}
\bibliography{mybib}{}

\end{document}

這將給出輸出:

文字 圍兜

Ansa211 編輯:

您甚至可以定義利用合併的作者清單的自訂命令;例如,如果您經常發現自己寫作\citeauthor{X}'s \citeyearpar{X},則可以將其添加到序言中:

引用

相關內容