REVTeX 书目作者姓名首字母

REVTeX 书目作者姓名首字母

我正在尝试将我的参考书目打印到 REVTeX4.1 文档中:

史密斯,PJ

作为作者而不是

彼得·约翰·史密斯

(如果您搜索按字母顺序排列的姓氏,这当然很糟糕。

我的MWE如下:

\documentclass[a4paper,twocolumn,       %   A4 paper, two columns
  nofootinbib,superscriptaddress,       %       
  aps,prb,citeautoscript, 10pt,         %   The prb style of RevTex uses superscript cross-references for citations
  eqsecnum,notitlepage,showkeys]{revtex4-1}
  % Either of the following 2 lines (from other similar questions) don't seem to work/compile
%\usepackage[style=authoryear,firstinits,url=false]{biblatex}
%\usepackage[round, sort&compress, authoryear]{natbib}
\usepackage{hyperref}   % Hyperref likes to be the last package included but putting it last breaks figure references!
\begin{document}
The manuscript elements have been formatted for you with LaTeX. 
References can be included such as \cite{Ehrlich2006} or \cite{Kindig2009}.
Multiple references are also handled \cite{Staal2007, Iwamoto2002,CDCgirlGrowthCharts}.
\bibliographystyle{plain}
\bibliography{PAPER_JSAE_template_BIBLIOGRAPHY}
\end{document}

包含PAPER_JSAE_template_BIBLIOGRAPHY.bib

@Article{Staal2007,
   Author="Staal, J.  and van Ginneken, B.  and Viergever, M. A. ",
   Title="{{A}utomatic rib segmentation and labeling in computed tomography scans using a general framework for detection, recognition and segmentation of objects in volumetric data}",
   Journal="Med Image Anal",
   Year="2007",
   Volume="11",
   Number="1",
   Pages="35--46",
   Month="Feb"
}
@mastersthesis{Kindig2009,
    author    = "Matthew W. Kindig",
    title     = "Tolerance to failure and geometric influences on the stiffness of human ribs under anterior-posterior loading",
    school    = "University of Virginia",
    type     = "Master''s thesis",
    address  = "",
    year      = "2007",
    month    = "",
    note     = "",
}
@online{CDCgirlGrowthCharts,
  author = {National Center for Health Statistics},
  title = {{CDC} Clinical Growth Charts},
  year = 2000,
  url = {http://www.cdc.gov/growthcharts/clinical_charts.htm},
  urldate = {30/09/2010}
  howpublished = {\url{http://www.cdc.gov/growthcharts/clinical_charts.htm}} 
}
@article{Ehrlich2006,
   author = {Ehrlich, Peter F  and Brown, J Kristine and Sochor, Mark R  and Wang, Stewart C and Eichelberger, Martin E},
   title = {Factors influencing pediatric injury severity score and Glasgow coma scale in pediatric automobile crashes: results from the Crash Injury Research Engineering Network},
   journal = {Journal of Pediatric Surgery},
   volume = {41},
   number = {11},
   pages = {1854-1858},
   year = {2006}
}
@inproceedings{Iwamoto2002,
   author = {Iwamoto, M. and Kisanuki, Y. and Watanabe, I. and Furusu, K. and Miki, K. and Hasegawa, J.},
   title = {Development of a finite element model of the total human model for safety (THUMS) and application to injury reconstruction},
   booktitle = {Proceedings of the International IRCOBI Conference},
   year = {2002}
}

在此处输入图片描述

我怎样才能让我的参考书目作者得到如上所述的一致标记,当然,无需浏览文件.bib并重命名每个人?

答案1

参考文献的格式由您选择的书目样式文件控制;在目前的 MWE 中,这就是样式plain。要更改作者姓名的格式以满足您的偏好(Albert Bertram Smith排版为)Smith, AB,您需要更改文件中的一行plain.bst

  • 在你的 TeX 发行版中找到该文件plain.bst,然后复制一份并命名为myplain.bst。不要直接编辑原始文件。

  • 用您喜欢的编辑器打开该文件myplain.bst并在函数中找到以下行format.author

        { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
    

    并将其更改为

        { s nameptr "{vv~}{ll,}{ f{}}{, jj}" format.name$ 't :=
    

    附录: 如果你这样做不是希望姓氏和名字的首字母之间有一个逗号,即,如果您希望Smith AB,并且在首字母和任何“Junior”部分之间没有逗号,请将此行设置为:

        { s nameptr "{vv~}{ll}{~f{}}{~jj}" format.name$ 't :=
    
  • 将文件保存在主文件所在的目录中.tex,或保存在 TeX 发行版搜索到的目录中。如果选择第二种方法,请务必按照 TeX 发行版的建议更新 TeX 文件名数据库。

  • 通过设置指令开始使用新样式\bibliographystyle{myplain}

当在您的某个 bib 条目上使用新的书目样式文件运行 MWE 时,我得到:

在此处输入图片描述


请注意,您可能需要在字段周围GlasgowCrash Injury Research Engineering Network内部添加花括号title,以防止单词被转换为小写。

在相关主题中,在条目中CDCgirlGrowthCharts,您确实应该将author字段设置为

author = {{National Center for Health Statistics}} 

而不是

author = {National Center for Health Statistics},

这样做会告诉 BibTeX 它正在处理的是“公司作者”,而该作者应归类于N。您可能已经注意到,H在您发布的文章中显示的参考书目中,该条目(错误地)归类于 。为什么会这样?这是因为 BibTeX 目前认为它正在处理的是“个人作者”,其名字为NationalCenter,“von”部分为for,姓氏为Health Statistics。哎哟!!!您可能直到现在才注意到有些不对劲(除了条目归类于“H”之外),因为参考书目样式plain设置为排版完整的名字,然后是“von”部分和姓氏;纯粹是运气好,这恰好产生了正确的顺序——在这个特定情况下。如果您通过myplain参考书目样式运行未修改的条目,作者的名字将被排版为for Health Statistics, NC,这很快就会告诉您有些事情不太对劲。

相关内容