讓 Natbib 使用牛津逗號

讓 Natbib 使用牛津逗號

有沒有辦法讓 Natbib 在引用多篇論文時使用牛津逗號?我想在使用時保留自動格式化/排序\citet{}。我不希望這影響 的行為\citep{}

牛津逗號範例

我發現使用普通引用的類似行為的範例:

但 Natbib 卻無法滿足我的需求。如果這涉及創建一個新的命令,例如,這\citetoxf{}並沒有太大的損失,但我有興趣看看這兩種解決方案是否可行。

微量元素:

\begin{filecontents}{references.bib}
@book{author00,
title = {{A Title}},
publisher = {Alpha},
year = {2008},
editor = {Author, A},
address = {London}
}
@book{buthor00,
title = {{B Title}},
publisher = {Bravo},
year = {1990},
author = {Buthor, B},
address = {New York}
}
@book{cuthor00,
title = {{C Title}},
publisher = {Charlie},
year = {1960},
author = {Cuthor, C},
address = {Tokyo}
}
\end{filecontents}

\documentclass[11pt, a4paper, twoside]{extarticle}
\usepackage[margin=10pt,font=small,labelfont=bf,labelsep=endash,figurewithin=section,tablewithin=section]{caption}
\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue,citecolor=blue,anchorcolor=blue]{hyperref} % Colour links.
\usepackage{cleveref,lipsum}
\usepackage[numbers, sort&compress]{natbib} % Nice references.
\bibliographystyle{unsrtnat}
\begin{document}
\noindent
No Oxford comma: \citet{author00,buthor00,cuthor00}. \\
Oxford comma: \citet{author00,buthor00}, and \citet{cuthor00}. \\
Automatic sorting: \citet{cuthor00,buthor00,author00}.
\bibliography{references}
\end{document}

相關內容