縮短 BibLaTeX 輸出

縮短 BibLaTeX 輸出

以下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),p。 065016.doi:10.1103/PhysRevD.65.065016。 arXiv:hep-th/0110054.1

這太長了。我想刪除

M Reuter 和 F排名Saueressig。 「愛因斯坦-希爾伯特截斷中量子重力的重正化群流」。載於:《物理評論》D 65 .6 (2002),第 14 頁。 065016.doi :10.1103/PhysRevD.65.065016。 arXiv: hep-th/0110054.1

結果(注意粗體卷號)

M. Reute,F. Saueressig。 「愛因斯坦-希爾伯特截斷中量子重力的重正化群流」。物理。牧師。d 65(2002), 065016.hep-th/0110054。

新增選項giveninits=truedoi=false命令\renewbibmacro{in:}{}\AtEveryBibitem{\clearfield{number}}給出

M. Reuter 和 F. Saueressig。 「愛因斯坦-希爾伯特截斷中量子重力的重正化群流」。物理評論 D 65 (2002),第 14 頁。 065016.arXiv:hep-th/0110054。

更好,但還沒有。有人能幫我嗎

  • 刪除最後一位作者之前的“和”,
  • 期刊名稱縮寫,
  • 列印粗體卷號,
  • 刪除“p”。或“頁”。在頁碼或範圍前面,
  • 刪除 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}

在此輸入影像描述

相關內容