![BibLaTex 作者年份样式多位作者格式错误](https://linux22.com/image/414652/BibLaTex%20%E4%BD%9C%E8%80%85%E5%B9%B4%E4%BB%BD%E6%A0%B7%E5%BC%8F%E5%A4%9A%E4%BD%8D%E4%BD%9C%E8%80%85%E6%A0%BC%E5%BC%8F%E9%94%99%E8%AF%AF.png)
考虑以下最小示例:
\documentclass{scrartcl}
\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{bib.bib}
\begin{document}
This is a cite \cite{paassen2016linear}.
\printbibliography
\end{document}
使用bib.bib
文件
@inproceedings{paassen2016linear,
title={Linear supervised transfer learning for generalized matrix LVQ},
author={Paa{\ss}en, Benjamin and Schulz, Alexander and Hammer, Barbara},
booktitle={Proceedings of the Workshop New Challenges in Neural Computation 2016},
number={4},
year={2016}
}
导致参考格式name1, firstname1, firstname2 name2 and firstname3 name3
而不是firstname1 name1, firstname2 name2 and firstname3 name3
(见图)。
同样,如果我使用 bibtex 作为后端并将作者列表更改为author={first1 last1 and first2 last2 and first3 last3}
。这里出了什么问题?
答案1
这个略微不寻常的顺序是预期的默认设置。您可以在为什么参考书目第一作者处有逗号?。
大多数对这种顺序不满意的人通常更喜欢
\DeclareNameAlias{sortname}{family-given}
总共
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber]{biblatex}
\DeclareNameAlias{sortname}{family-given}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,companion}
\printbibliography
\end{document}