IEEEtranN 如何在文本正文中仅列出一位作者

IEEEtranN 如何在文本正文中仅列出一位作者

编辑:找到解决方案。我需要使用 natbib 包。

我喜欢在参考文献正文中出现第一作者的姓氏,例如

[Smith 等人 (1999)] 做了这做那

使用 IEEEtranN 时,会产生以下输出

[Smith 等人 (1999)Smith,作者 2 和作者 3] 做了这做那

我该如何修复此问题?或者还有其他替代书目样式吗?

示例代码:

\documentclass{article}

\begin{filecontents}{\jobname.bib}
@book{key,
  author = {J. Smith and F. Author2 and S. Author3 and F. Author4},
  year = {1999},
  title = {What Smith and others done},
  publisher = {Journal Of This and That},
}
\end{filecontents}

\begin{document}

\cite{key} done this and that. 

\bibliographystyle{IEEEtranN}
\bibliography{\jobname}

\end{document}

输出:

[Smith et al.(1999)Smith,Author2,Author3 和 Author4] 做了这做那。

参考

[Smith 等 (1999)Smith,Author2,Author3 和 Author4] J. Smith,F. Author2,S. Author3 和 F. Author4,Smith 等人所做的工作。JournalOf This and That,1999 年。

答案1

评论IEEEtranN.bst

%% IEEEtranN.bst
%% BibTeX Bibliography Style file
%% Natbib version of IEEEtran.bst
%% *** Not for normal IEEE work ***

因此,\bibliographystyle{IEEEtranN}应与natbib(并且应该不是如果您准备提交给 IEEE 的论文,可以使用它。

因此要么加载\usepackage{natbib}

\documentclass{article}

\usepackage{natbib}

\begin{filecontents}{\jobname.bib}
@book{key,
  author    = {J. Smith and F. Author2 and S. Author3 and F. Author4},
  year      = {1999},
  title     = {What Smith and others done},
  publisher = {Journal Of This and That},
}
\end{filecontents}

\begin{document}
\cite{key} done this and that.

\bibliographystyle{IEEEtranN}
\bibliography{\jobname}
\end{document}

Smith 等人(1999)做了这样那样的事情。

或从 切换\bibliographystyle{IEEEtranN}\bibliographystyle{IEEEtran}

\documentclass{article}

\begin{filecontents}{\jobname.bib}
@book{key,
  author    = {J. Smith and F. Author2 and S. Author3 and F. Author4},
  year      = {1999},
  title     = {What Smith and others done},
  publisher = {Journal Of This and That},
}
\end{filecontents}

\begin{document}
\cite{key} done this and that.

\bibliographystyle{IEEEtran}
\bibliography{\jobname}
\end{document}

[1] 做了这做那。

相关内容