顯示月份的正確格式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}
然而,用xelatex
and編譯bibtex
,我得到:
[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.
不是九月的標準縮寫,而是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}