我正在用 overleaf、latex 制作文档,但在参考文献列表方面遇到了一些问题。我有一个名为 references.bib 的参考资料包,输入如下:
@article{Laplaud,
author = "{Laplaud, V. and Levernier, N., Pineau, J. and San Roman, M. and Barbier, L. and Saez, P.J. and ... Heyvingh, J.}",
year = {2020},
title = {Pinching the cortex of live cells reveals thickness instabilities caused by Myosin II motors.},
journal = {bioRxiv},
DOI = {10.1101/2020.09.28.316729}
}
我想要引用的其他文章也采用相同的格式。
然后我添加了代码:
\usepackage{biblatex}
\addbibresource{references.bib}
\begin{document}
\addcontentsline{toc}{section}{References}
\printbibliography
\end{document}
打印参考文献列表。
但问题是,列表中打印的是姓氏前面的首字母,而我希望它打印的是姓氏后面的首字母。我该怎么做?此外,如何添加多个作者,而不必在and
所有作者之间添加?
先感谢您!
编辑
这是我在 overleaf 中创建的 MWE 链接,用于显示问题: https://www.overleaf.com/read/yxxdcvstjfqd(仅限观看)
答案1
- 要将姓氏放在名字的首字母之前,您可以定义自己的姓名格式:
\DeclareNameFormat{default}{%
\nameparts{#1}%
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}%
\usebibmacro{name:andothers}%
}
你不能将作者字段包装在
"..."
- 这会阻止 biblatex 正确格式化列表你必须
and
在每一位作者之间添加一个。这是 biblatex 的强制语法。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{biblatex}
\usepackage{csquotes}
\begin{filecontents*}[overwrite]{references.bib}
@article{Laplaud,
author = {Laplaud, V. and Levernier, N. and Pineau, J. and San Roman, M. and Barbier, L. and Saez, P.J. and Heyvingh, J.},
year = {2020},
title = {Pinching the cortex of live cells reveals thickness instabilities caused by Myosin II motors.},
journal = {bioRxiv},
DOI = {10.1101/2020.09.28.316729}
}
@article{Akhmetova,
author = {Akhmetova, K.A. and Chesnokov, I.N. and Fedorova, S.A.},
year = {2018},
title = {Functional Characterization of Septin Complexes.},
journal = {Mol Biol (Mosk)},
volume = {52(2)},
pages = {155-171},
DOI = {10.1134/S0026893317050028}
}
\end{filecontents*}
\addbibresource{references.bib}
\DeclareNameFormat{default}{%
\nameparts{#1}%
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}%
\usebibmacro{name:andothers}%
}
\begin{document}
When citing something the bibliography will show \cite{Laplaud}
As you can see \cite{Laplaud} does it correctly, however \cite{Akhmetova} does not
\addcontentsline{toc}{section}{References}
\printbibliography
\end{document}