\printbibliography输出参考文献列表时显示全部人名
时间: 2023-07-21 19:05:22 浏览: 208
您可以在使用biblatex宏包时,在preamble中添加以下代码来显示全部人名:
```
\usepackage[style=authoryear,maxbibnames=99,maxcitenames=2,giveninits=true,uniquename=false]{biblatex}
\DeclareNameAlias{sortname}{family-given}
\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{author}{family-given}
\DeclareNameAlias{editor}{family-given}
\DeclareNameAlias{translator}{family-given}
\DeclareNameFormat{family-given}{%
\ifgiveninits
{\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}}
{\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}}%
\usebibmacro{name:andothers}}
```
其中,`maxbibnames`和`maxcitenames`参数可以控制在文献引用和参考文献列表中显示的作者数量。将其设置为较大的值(如99)可以确保显示所有作者的姓名。
阅读全文