Bibtex 没有以 ieeetr 格式大写月份

Bibtex 没有以 ieeetr 格式大写月份

在格式中显示月份的正确格式IEEEtr是将首字母大写,后跟两个字母和一个点(例如Apr.)。但是,我只得到apr。一个最小的例子是

\documentclass[11pt]{report}

\begin{document}

\cite{Gustafsson2005}

\clearpage % Force Bibliography to the end of document on a new page
\bibliography{zubairy}
\bibliographystyle{ieeetr}

\end{document}

但是,使用和进行编译xelatexbibtex我得到:

[1] MGL Gustafsson,“非线性结构照明显微镜:理论上无限分辨率的宽视场荧光成像。” 美国国家科学院院刊,第 102 卷,第 13081-13086 页sep 2005

Jabref 生成的 bibtex 条目是:

  @Article{Gustafsson2005,
  author       = {M. G. L. Gustafsson},
  title        = {{Nonlinear structured-illumination microscopy: wide-field fluorescence imaging with theoretically unlimited resolution.}},
  journal      = {Proceedings of the National Academy of Sciences},
  year         = {2005},
  volume       = {102},
  number       = {37},
  pages        = {13081--13086},
  month        = {sep},
  issn         = {0027-8424},
  date         = {2005-09},
  doi          = {10.1073/pnas.0406877102},
  pmid         = {16141335},
  publisher    = {Proceedings of the National Academy of Sciences},
}

我如何才能使其正确显示,即Sep.

答案1

月份不应放在花括号中。据我所知,这是标准的 BibTeX。如果它在花括号中,则它是一个常规值。如果它不在花括号中,则它是一个字符串,将被替换为相关值。这是预期的。

正如您所指出的,这还不够,因为替换的值将不正确。这是因为Sep.不是 September 的标准缩写,而是Sept.。为了使用 IEEEtrans 的特殊缩写,请加载其.bib文件。

只需按照文档操作似乎就可以了。

\begin{filecontents}{\jobname.bib}
@Article{Gustafsson2005,
  author       = {M. G. L. Gustafsson},
  title        = {{Nonlinear structured-illumination microscopy: wide-field fluorescence imaging with theoretically unlimited resolution.}},
  journal      = {Proceedings of the National Academy of Sciences},
  year         = {2005},
  volume       = {102},
  number       = {37},
  pages        = {13081--13086},
  month        = sep,
  issn         = {0027-8424},
  date         = {2005-09},
  doi          = {10.1073/pnas.0406877102},
  pmid         = {16141335},
  publisher    = {Proceedings of the National Academy of Sciences},
}
\end{filecontents}


\documentclass[11pt]{report}

\begin{document}

\cite{Gustafsson2005}

\clearpage % Force Bibliography to the end of document on a new page
\bibliography{IEEEabrv,\jobname}
\bibliographystyle{IEEEtran}

\end{document}

九月 IEEEtran 之路

相关内容