我正在使用 natbib 和 apacite 样式。我想引用笛卡尔的《沉思录》,一种标准做法是使用“(CSM 25)”形式的文内引用。我设法使用别名系统来获取“(CSM, 25)”,但我不知道如何删除逗号。有没有办法删除逗号以获取“(CSM 25)”?以下是我的引用代码,后面是 .bib 文件的代码:
\defcitealias{Meditations}{CSM}
\citepalias[][25]{Meditations}
@book{Meditations,
author = {Rene Descartes},
year = {1985},
title = {The Philosophical Writings of {Descartes}, Vol. 2},
translator = {John Cottingham and Robert Stoothoff and Dugald Murdoch},
publisher = {Cambridge University Press},
originalyear = {1641},
address = {Cambridge},
}
谢谢。
答案1
由于您使用apacite
带有选项的引文管理包natbibapa
,因此您可以发出指令,例如\setcitestyle{notesep={ }}
更改(别名)引文标注和后续注释之间的分隔符。
\documentclass{article}
% using 'article' rahter than 'report' to keep all output on the same page
\begin{filecontents}[overwrite]{mybib.bib}
@book{Meditations,
author = {René Descartes},
year = {1985},
title = {The Philosophical Writings of {Descartes}, {Vol.~2}},
translator = {John Cottingham and Robert Stoothoff and Dugald Murdoch},
publisher = {Cambridge University Press},
originalyear = {1641},
address = {Cambridge},
}
\end{filecontents}
\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}
\defcitealias{Meditations}{CSM}
\setcitestyle{notesep={ }} % default separator string is ", "
\begin{document}
\citepalias[25]{Meditations}
\bibliography{mybib}
\end{document}