BibTeX: 同じ著者、異なる年

BibTeX: 同じ著者、異なる年

同じ著者の論文を\cite{paper1,paper2,paper3}このスタイルで引用すると、次のような結果になります。apalike

[姓、2001、姓、2002、姓、2003]

私は次のようなものを好みます:

[姓、2001、2002、2003]

ご提案がありましたらよろしくお願いいたします。

答え1

apalikeスタイルを変更しない限り、必要な引用形式は ですでに定義されています。以下を試してみて、それでも問題が解決しない場合は、natbibパッケージを更新してください。

異なる年からの 3 つのエントリがありmybib.bib、最初の 2 つは同じ著者によるもので、3 つ目は変更されています。

@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}、次のようにプリアンブルに追加できます。

引用

関連情報