![biblatex chem-acs:包括发行号](https://linux22.com/image/421865/biblatex%20chem-acs%EF%BC%9A%E5%8C%85%E6%8B%AC%E5%8F%91%E8%A1%8C%E5%8F%B7.png)
我能够使用以下方式在引用中包含文章标题和 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}