Biblatex - 修改 Nature 引用样式

Biblatex - 修改 Nature 引用样式

我目前在文档中使用 Nature 引用样式,除了一点之外,其他方面都很好用。我想更改它,以便它显示书籍章节的标题和网站的访问日期,但目前它无法做到这一点。我该如何实现呢?

以下是我目前拥有的 MWE:

\documentclass[a4paper]{article}
\usepackage[style=nature,sorting=none,backend=biber,isbn=false,date=year,doi=false,url=false]{biblatex}
\addbibresource{\jobname.bib}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@incollection{Constable2009,
abstract = {This chapter contains sections titled: * General considerations for process metrics * Materials * Equipment and operability intertwined * EHS hazards and risk * Quality * Conclusions * References},
address = {Chichester, UK},
author = {Constable, David J C and Jimenez-Gonzalez, Conchita and Lapkin, Alexei},
booktitle = {Green Chemistry Metrics},
doi = {10.1002/9781444305432.ch6},
file = {:D$\backslash$:/pmj27/Mendeley/Library/Constable, Jimenez-Gonzalez, Lapkin - 2009 - Process Metrics.pdf:pdf},
isbn = {9781405159685},
keywords = {Environmental,Equipment and operability,Hazard scoring for process materials,Petrochemical and bulk commodity chemical manufact,Process metrics,Process metrics - one size does not fit all,Process recycle - in-process and post-processing r,Specific metrics for mass,Total cost assessment or environmental accounting,health and safety hazards (EHS) risks associated w,sustainability screening},
mendeley-tags = {sustainability screening},
pages = {228--247},
publisher = {John Wiley {\&} Sons, Ltd},
title = {{Process Metrics}},
url = {http://doi.wiley.com/10.1002/9781444305432.ch6},
year = {2009}
}
@online{MetOffice2014m,
author = {{Met Office}},
title = {{Middlesbrough climate}},
url = {http://www.metoffice.gov.uk/public/weather/climate/gcxn7yvv5},
urldate = {2015-11-29},
year = {2014}
}
\end{filecontents}
\begin{document}

\cite{Constable2009} \cite{MetOffice2014m}

\printbibliography
\end{document}

答案1

该选项intitle允许您显示@inbook@incollection条目的章节标题(即它们的titles),因此使用

intitle = true,

您已经可以看到访问日期,但是由于套餐设置,urldate = year,我们只能看到访问日期的年份,

urldate = short,

我们得到了完整的日期。

如果你还想查看“访问时间”字符串,你需要

\DeclareFieldFormat{urldate}{\mkbibparens{\bibstring{urlseen}\space#1}}

相关内容