除了其他参考文献外,我还必须在参考书目中处理两篇参考文献,同一年份,同一作者,但我想指出的是,两者之间存在时间顺序。Biber 按论文标题对两篇参考文献进行排序,但不幸的是,它提供了相反的顺序。我尝试设置 sorting=nyt 并添加 SORTYEAR={2024-1} 和 SORTYEAR={2024-2},但没有成功。我该怎么办?
\begin{filecontents}[overwrite]{testbib.bib}
@article {RG2024a,
AUTHOR = {Durand, R. and Charles, G.},
TITLE = {Note on a famous theorem},
JOURNAL = {Foo},
YEAR = {2024},
}
@article {RG2024b,
AUTHOR = {Durand, R. and Charles, G.},
TITLE = {Mysterious theorem},
JOURNAL = {Bar},
YEAR = {2024},
}
\end{filecontents}
\documentclass{article}
%
\usepackage[style=alphabetic]{biblatex}
\addbibresource{testbib.bib}
\begin{document}
First there was \autocite{RG2024a}. Then came
\autocite{RG2024b}.
\printbibliography
\end{document}
谢谢!
答案1
快速破解:使用sorttitle
字段获取所需的顺序
\begin{filecontents}[overwrite]{testbib.bib}
@article {RG2024a,
AUTHOR = {Durand, R. and Charles, G.},
TITLE = {Note on a famous theorem},
JOURNAL = {Foo},
YEAR = {2024},
sorttitle={a},
}
@article {RG2024b,
AUTHOR = {Durand, R. and Charles, G.},
TITLE = {Mysterious theorem},
JOURNAL = {Bar},
YEAR = {2024},
sorttitle={b},
}
\end{filecontents}
\documentclass{article}
%
\usepackage[style=alphabetic]{biblatex}
\addbibresource{testbib.bib}
\begin{document}
First there was \autocite{RG2024a}. Then came
\autocite{RG2024b}.
\printbibliography
\end{document}