biblatex chem-acs:包括发行号

biblatex chem-acs:包括发行号

我能够使用以下方式在引用中包含文章标题和 DOI(在 ACS 格式中是可选的)

\usepackage[backend=biber,style=chem-acs,articletitle=true,doi=true]{biblatex}

有没有办法也可以包含问题编号,最好在同一行?

例如我有

@article{clusters,
    author   = {Johnathan P.K. Doyle and David J. Wales and Mark A. Miller},
    title    = {Thermodynamics and the Global Optimization of Lennard-Jones Clusters},
    journal  = {J. Chem. Phys.},
    date     = {1998},
    volume   = {109},
    number   = {19},
    pages = {8143-8153},
    doi = {10.1063/1.477477},
}

在我的.bib奉献中

在此处输入图片描述

我希望包括109(19)。

答案1

chem-acs重新定义 bibmacrovolume+number+eid以摆脱number(ll. 273-277 于 v1.1y [2019/12/03]),但我们可以将其添加回来

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=chem-acs, articletitle=true, doi=true]{biblatex}

\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}
\renewbibmacro*{volume+number+eid}{%
  \printfield{volume}%
  \setunit*{\addspace}%
  \printfield{number}%
  \setunit*{\addspace}%
  \printfield{eid}%
}

\begin{filecontents}{\jobname.bib}
@article{clusters,
  author   = {Johnathan P.K. Doyle and David J. Wales and Mark A. Miller},
  title    = {Thermodynamics and the Global Optimization of Lennard-Jones Clusters},
  journal  = {J. Chem. Phys.},
  date     = {1998},
  volume   = {109},
  number   = {19},
  pages    = {8143-8153},
  doi      = {10.1063/1.477477},
}
\end{filecontents}
\addbibresource{\jobname.bib}


\begin{document}
Lorem \autocite{clusters}
\printbibliography
\end{document}

Doyle, JP;Wales, DJ;Miller, MA,《热力学和 Lennard-Jones 团簇的全局优化》。《化学与物理杂志》1998,109 (19),8143–8153,DOI:10.1063/1.477477。

相关内容