我需要一些关于参考书目的帮助。这是我的代码(我是新手):
\usepackage[
backend=biber,
style=authoryear,
natbib=true,
sorting=nyvt,
]{biblatex}
\linespread{1.25}
\DeclareNameAlias{default}{last-first}
\renewcommand*{\revsdnamepunct}{}
\xpatchbibmacro{date+extradate}{%
\printtext[parens]%
}{%
\setunit{\addperiod\space}%
\printtext%
}{}{}
\DeclareFieldFormat[article, inbook]{title}{#1}
\DefineBibliographyStrings{english}{%
page ={},
pages ={},
}
\renewbibmacro{in:}{%
\ifentrytype{article}
{}
{\bibstring{in}%
\printunit{\intitlepunct}}}
\addbibresource{bibliography/references.bib}
并生成以下输出:Wright A. -DG 和 DH Lynn。1997 年。使用小亚基 rRNA 分子钟估计纤毛虫谱系的最大年龄:冠真核生物可追溯到古元古代。Archiv für Protistenkunde 148,329–341。44
我需要删除音量后的逗号并将其替换为冒号看起来像这样:Archiv für Protistenkunde 148:329–341。
有什么建议吗?谢谢!
答案1
你所指的是命令\bibpagespunct
\begin{filecontents*}{bibpagespunct.bib}
@article{aksin,
author = {Aks{\i}n, {\"O}zge and T{\"u}rkmen, Hayati and Artok, Levent
and {\c{C}}etinkaya, Bekir and Ni, Chaoying and
B{\"u}y{\"u}kg{\"u}ng{\"o}r, Orhan and {\"O}zkal, Erhan},
title = {Effect of immobilization on catalytic characteristics of
saturated {Pd-N}-heterocyclic carbenes in {Mizoroki-Heck}
reactions},
journaltitle = jomch,
date = 2006,
volume = 691,
pages = {3027-3036},
indextitle = {Effect of immobilization on catalytic characteristics},
}
\end{filecontents*}
\documentclass{article}
\usepackage[x11names]{xcolor}
\usepackage[
backend=biber,
style=authoryear,
natbib=true,
sorting=nyvt,
]{biblatex}
\addbibresource{bibpagespunct.bib}
\DefineBibliographyStrings{english}{%
page ={},
pages ={},
}
\renewcommand{\bibpagespunct}{\color{IndianRed1}:}
\begin{document}
Basmah
\cite{aksin}
\printbibliography[heading=subbibliography]
\end{document}