我在尝试让 BibTeX 显示作者姓氏后跟多个首字母时遇到了一些困难。我的书目很大,包括我自己在内的几位作者都有非常常见的姓氏和名字(例如 Smith、C.)。唯一能区分我们自己的方法是使用我们的中间名首字母。
我用过这个答案这里创建一个“myplainnat.bst”,替换
{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
和
{ s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't :=
这样我就得到了一个格式化的参考:
其他,A.,其他,A. 标题。杂志. vvv.iii.pp-pp. DOI
但我不知道应该改变哪部分代码才能得到如下效果:
其他,AN 其他,AJ 标题。杂志. vvv.iii.pp-pp. DOI
最初我以为是代码中的 f,所以我添加了,f.f.f.
但这样就无法显示任何首字母。如果有人能解释一下,那就太好了。
这是我的代码的 MWE:
文档:
\documentclass[12pt,a4paper]{report}
% International language package - allows use of special characters
\usepackage[utf8]{inputenc}
% Natural bibliography package - allows compliation of a bibliography
\usepackage[round,colon]{natbib}
% Caption package - allows captioning of figures and tables
\usepackage{url}
% Nomenclature package - allows for the creation of a nomenclature
%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%
%% DOCUMENT %%
%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%
\begin{document}
\chapter{Literature review}
\section{Radioactive decay}\label{sec:radioactive decay}
I'd like to cite some text with author's with multiple initials \citep{fitch1974timescale}. And here's another one \citep{buchholz2007uranium}.
\bibliographystyle{myplainnat}
\bibliography{bibliography}
\end{document}
参考书目:
@article{fitch1974timescale,
author = {Fitch, F. J. and Forster, S. C. and Miller, J. A.},
title = {{Geological time scale}},
journal = {Reports on Progress in Physics},
volume = {37},
number = {11},
pages = {1433-1496},
abstract = {Presents a brief discussion of the assumptions, accuracy and precision of 'geological' errors present in physical geochronometry. The five major physical methods of rock and mineral age determinations currently in use, are described.},
year = {1974}
}
@article{buchholz2007uranium,
author = {Buchholz, B.A. and Brown, T.A. and Hamilton, T.F. and Hutcheon, I.D. and Marchetti, A.A. and Martinelli, R.E. and Ramon, E.C. and Tumey, S.J. and Williams, R.W.},
title = {{Investigating uranium isotopic distributions in environmental samples using AMS and MC-ICPMS}},
journal = {Nuclear Instruments and Methods in Physics Research Section B: Beam Interactions with Materials and Atoms},
volume = {259},
number = {1},
pages = {733-738},
year = {2007},
doi = {http://dx.doi.org/10.1016/j.nimb.2007.01.248}
}
这是我修改的链接我的plainnat.bst文件。
下面是我的参考书目输出的图像,您可以看到每个作者只显示一个首字母,尽管参考书目文件中存在多个首字母。
答案1
感谢您发布完整的 MWE 和几个 bib 条目。问题在于,在条目中,buchholz2007uranium
作者的首字母和中间字母挤在一起,中间没有空格。如果您author
将该条目的字段设置为
author = {Buchholz, B. A. and Brown, T. A. and Hamilton, T. F. and Hutcheon, I. D.
and Marchetti, A. A. and Martinelli, R. E. and Ramon, E. C. and Tumey, S. J.
and Williams, R. W.},
你就可以开始做生意了。