脚注中名字的首字母

脚注中名字的首字母

是否可以在 footcite 中显示名字的首字母?我使用verbose-trad2citestyle:

\usepackage[citestyle=verbose-trad2,bibstyle=authortitle-icomp,sortcites=true,%
    block=space,firstinits=true]{biblatex}

当我第一次引用时,一切正常:

[名字首字母] [姓氏],[头衔] ...

但在同一本书的下一个引用中,它只是

[姓氏],[头衔] ...

答案1

定义一个新的名称格式(从 true派生firstinits-last而来),并将格式(用于引用)指向。(如果您不设置包选项,这也有效;启用此选项后,您可以简单地将其添加到序言中。)first-last\iffirstinitslabelnamefirstinits-lastfirstinits=true\DeclareNameAlias{labelname}{default}

\documentclass{article}

\usepackage[style=verbose-trad2]{biblatex}

\DeclareNameFormat{firstinits-last}{%
  \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%
  \usebibmacro{name:andothers}}

\DeclareNameAlias{labelname}{firstinits-last}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, Anton},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, Berta},
  year = {2002},
  title = {Bravo},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\textheight 160pt% just for the example

\begin{document}

Some text.\autocite{A01}

Some text.\autocite{B02}

Some text.\autocite{A01}

\printbibliography

\end{document}

在此处输入图片描述

相关内容