LaTex IEEE-----参考文献中同名作者被默认缺省的问题

LaTex IEEE-----参考文献中同名作者被默认缺省的问题

问题

如下图所示,两篇文献作者同名,会出现缺省横线的情况。
在这里插入图片描述

解决办法

  1. 打开IEEEtran.bst;

  2. 找到以下代码:

% #0 turns off the “dashification” of repeated (i.e., identical to those

% of the previous entry) names. The IEEE normally does this.

% #1 enables

FUNCTION {default.is.dash.repeated.names} { #1 }

可以看到这里有对重名作者的默认设置,“1”表示设置重名参考文献用破折号(dash)代替,这也是IEEE默认的。“0”表示关掉默认设置,将原代码修改并保存:

% #0 turns off the “dashification” of repeated (i.e., identical to those

% of the previous entry) names. The IEEE normally does this.

% #1 enables

FUNCTION {default.is.dash.repeated.names} { #0 }
在这里插入图片描述

在这里插入图片描述