我认为 PLoS Comp Bio 与 PLoS 家族的其他成员类似,具有简单的引用/参考书目样式。引用按 [1] 编号,参考书目格式很少标点符号,没有斜体。
- Fine P, Clarkson J (1986) 在确定最佳疫苗接种政策时,个人与公共优先事项的比较。Am J Epidemiol 124: 1012–1020。
他们提供了一个bst 样式文件但我尝试使用它,biblatex
因为它支持\citet
编号引用格式的命令。我尝试使用biblatex
命令来获得正确的格式,但很吃力。如果有人知道biblatex
PloS(或类似文件)的样式文件,我会非常感兴趣。
答案1
使用biblatex
而不是基于期刊的bst
样式可能不是一个好主意。也就是说,没有任何标准或贡献的biblatex
样式会给你这个输出。下面的文档演示了如何基于numeric
和 的标准变体获取自定义样式authoryear
。
\documentclass{article}
\usepackage{csquotes}
\usepackage[american]{babel}
\usepackage[citestyle=numeric,bibstyle=authoryear,sorting=none,
firstinits,terseinits,dashed=false]{biblatex}
\usepackage[colorlinks]{hyperref}
% Name list format
\renewcommand*{\labelnamepunct}{\addspace}
\renewcommand*{\finalnamedelim}{%
\ifbibliography{\addcomma\space}{\addspace\&\space}}
\renewcommand*{\revsdnamepunct}{}
\DeclareNameAlias{sortname}{last-first}
% No quotes or italics in titles
\DeclareFieldFormat{title}{#1}
\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,
thesis,unpublished]{title}{#1}
\DeclareFieldFormat{journaltitle}{#1}
\DeclareFieldFormat{issuetitle}{#1}
\DeclareFieldFormat{maintitle}{#1}
\renewbibmacro*{in:}{%
\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}
% Remove page prefixes
\DeclareFieldFormat{pages}{#1}
% Only print journal volume
\renewbibmacro*{volume+number+eid}{%
\setunit*{\addspace}%
\printfield{volume}}
% Use colon for volume-pages delimiter
\renewcommand*{\bibpagespunct}{%
\ifentrytype{article}{\addcolon\space}{\addcomma\space}}
% Add labelnumbers to bibliography
\DeclareFieldFormat{labelnumberwidth}{#1\adddot}
\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{%
\printfield{prefixnumber}%
\printfield{labelnumber}}}
{\setlength{\labelwidth}{\labelnumberwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\item}
% Omit authoryear disambiguation
\AtEveryBibitem{\clearfield{extrayear}}
\begin{filecontents}{\jobname.bib}
@article{glashow,
author = {Glashow, Sheldon},
title = {Partial symmetries of weak interactions},
journaltitle = {Nucl~Phys},
volume = {22},
date = {1961},
pages = {579--588}}
@article{weinberg,
author = {Weinberg, Steven},
title = {A model of leptons},
journaltitle = {Phys~Rev~Lett},
volume = {19},
date = {1967},
pages = {1264--1266}}
@book{companion,
author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
title = {The LaTeX Companion},
edition = {1},
publisher = {Addison-Wesley},
location = {Reading MA},
date = {1994},
pagetotal = {528}}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\textcite{weinberg,glashow,companion}
\printbibliography
\end{document}
一些说明: