以下 MWE
\documentclass{scrartcl}
\usepackage{filecontents}
\usepackage[backend=biber,sorting=none,citestyle=numeric-comp,giveninits=true,doi=false]{biblatex}
\addbibresource{Refs.bib}
\renewbibmacro{in:}{}
\AtEveryBibitem{\clearfield{number}}
\begin{document}
\nocite{*}
\printbibliography
\begin{filecontents}{Refs.bib}
@article{reuter2002renormalization,
title={Renormalization group flow of quantum gravity in the Einstein-Hilbert truncation},
author={Reuter, M and Saueressig, Frank},
journal={Physical Review D},
volume={65},
number={6},
pages={065016},
year={2002},
publisher={APS},
doi={10.1103/PhysRevD.65.065016},
archivePrefix={arXiv},
eprint={hep-th/0110054}
}
\end{filecontents}
\end{document}
印刷
M Reuter 和 Frank Saueressig。“爱因斯坦-希尔伯特截断中的量子引力重正化群流”。收录于:物理评论 D 65.6(2002 年),第 065016 页。doi:10.1103/PhysRevD.65.065016。arXiv:hep-th/0110054.1
这太长了。我想删除
M Reuter 和 F
rankSaueressig。“爱因斯坦-希尔伯特截断中的量子引力重正化群流”。收录于:《物理评论 D》65.6(2002 年),第065016页。doi:10.1103/PhysRevD.65.065016。arXiv:hep-th/0110054.1
导致(注意粗体卷号)
M. Reute,F. Saueressig。“爱因斯坦-希尔伯特截断中的量子引力重正化群流”。物理评论。D 65(2002),065016。hep-th/0110054。
添加选项giveninits=true
和doi=false
命令\renewbibmacro{in:}{}
,\AtEveryBibitem{\clearfield{number}}
得到
M. Reuter 和 F. Saueressig。“爱因斯坦-希尔伯特截断中的量子引力重正化群流”。物理评论 D 65(2002 年),第 065016 页。arXiv:hep-th/0110054。
好多了,但还没到那一步。有人能帮我吗
- 删除最后一位作者之前的“and”,
- 缩写期刊名称,
- 以粗体显示卷号,
- 删除页码或范围前的“p.”或“pp.”,
- 删除 eprint 编号前面的“arXiv”?
答案1
\documentclass{scrartcl}
\usepackage{filecontents}
\usepackage[backend=biber,sorting=none,citestyle=numeric-comp,giveninits=true,doi=false]{biblatex}
\addbibresource{Refs.bib}
\renewbibmacro{in:}{}
\AtEveryBibitem{\clearfield{number}}
\renewcommand*{\finalnamedelim}{\addcomma\addspace}
\DeclareFieldFormat[article]{volume}{\mkbibbold{#1}}
\DeclareFieldFormat{pages}{#1}
\newcommand\prd{Phys.~Rev.~D}
\makeatletter
\DeclareFieldFormat{eprint:arxiv}{%
% arXiv\addcolon\space
\ifhyperref
{\href{http://arxiv.org/\abx@arxivpath/#1}{%
\nolinkurl{#1}%
\iffieldundef{eprintclass}
{}
{\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}}
{\nolinkurl{#1}
\iffieldundef{eprintclass}
{}
{\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}}
\makeatother
\begin{document}
Reference: \cite{reuter2002renormalization}
\printbibliography
\begin{filecontents}{Refs.bib}
@article{reuter2002renormalization,
title={Renormalization group flow of quantum gravity in the Einstein-Hilbert truncation},
author={Reuter, M and Saueressig, Frank},
journal={\prd},
volume={65},
number={6},
pages={065016},
year={2002},
publisher={APS},
doi={10.1103/PhysRevD.65.065016},
archivePrefix={arXiv},
eprint={hep-th/0110054}
}
\end{filecontents}
\end{document}