问题:
在使用natbib包和IEEEtran.bst排版参考文献时,默认的显示方式如下:
Author1, Author2 and Author3, ""this is title of paper,"" proceeding of
现在排版需要逗号在双引号的后面,即显示如下:
Author1, Author2 and Author3, ""this is title of paper"", proceeding of
那么如何处理呢?
方法:
如果使用的是biblatex包就比较容易实现,现在我用的是natbib,因此需要修改IEEEtran.bst,具体如下:
FUNCTION {output.nonnull}
{ swap$
prev.status.quote quote.close = % 将这几行移动到逗号部分的前面即可
{ "''" * }
{ skip$ }
if$
prev.status.punct punct.comma =
{ "," * }
{ skip$ }
if$
prev.status.punct punct.period =
{ add.period$ }
{ skip$ }
if$
prev.status.space space.normal =
{ " " * }
{ skip$ }
if$
prev.status.space space.large =
{ large.space * }
{ skip$ }
if$
write$
prev.status.nline nline.newblock =
{ newline$ "\newblock " write$ }
{ skip$ }
if$
}
本文介绍了一种在使用natbib包和IEEEtran.bst进行文献排版时,调整参考文献中逗号与双引号位置的方法。通过修改IEEEtran.bst文件中的特定函数,可以实现在双引号之后放置逗号的需求。
1万+

被折叠的 条评论
为什么被折叠?



