
現在、修士論文を執筆中ですが、Latex についてはまだあまり詳しくありません。引用スタイル「philosophy classic」の出力を変更したいと思います。第一著者は同じだが、年と第二著者が異なる 2 つの論文がある場合、次のようなテキストが表示されます。
(著者Aと著者B、2019年、著者Aと著者C、2021年)
代わりに、最初の著者のみを使用したいと思います。年が異なるため、明確な区別ができるためです。次のように表示します。
(著者A、2019年、著者A、2021年)
しかし、小文字を追加したい 2 番目のシナリオがあります。同じ年に出版され、同じ第一著者による 2 つの論文がある場合、次のように表示したいのです。
(著者A、2019aおよび著者A、2019b)
2 番目の著者名に応じて、アルファベットの最初の著者には小文字の a を使用し、アルファベットの 2 番目の著者がいる論文には b を使用する必要があります。
これは私のサンプルコードです:
\documentclass{article}
\usepackage[style = philosophy-classic, sorting = nyt, backend = biber, scauthors=all, dashed = FALSE]{biblatex}
\renewcommand*{\nameyeardelim}{\addcomma\space}
\DeclareNameAlias{author}{last-first}
\DeclareNameAlias{editor}{last-first}
\addbibresource{bibfile.bib}
\DefineBibliographyStrings{ngerman}{
andothers = {{et\,al\adddot}},
}
\begin{document}
Here I would like to cite two papers written by the same author, but published in different years \parencite{paper1, paper2}.
Here I would like to cite two papers written by the same author, but published in the same year \parencite{paper1, paper3}.
\printbibliography
\end{document}
これは私のサンプル bibfile です:
@article{paper1,
title={Title of Paper 1},
author={AuthorA, A. and AuthorB, B.},
journal={Journal},
volume={1},
number={2},
pages={5--10},
year={2019}
}
@article{paper2,
title={Title of Paper 2},
author={AuthorA, A. and AuthorC, C.},
journal={Journal},
volume={2},
number={3},
pages={2--11},
year={2021}
}
@article{paper3,
title={Title of Paper 3},
author={AuthorA, A. and AuthorD, D.},
journal={Journal},
volume={3},
number={2},
pages={11--30},
year={2019}
}
本当に助かります!