为什么该命令不\DeclareNameAlias{sortname}{last-first}
按姓氏-名字的顺序排列编辑者的姓名?
看看下面的 MWE。
\documentclass[10pt]{article}
\usepackage[style=authoryear,backend=biber]{biblatex}
\DeclareNameAlias{sortname}{last-first}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{cicero,
hyphenation = {german},
author = {Cicero, Marcus Tullius},
editor = {Blank-Sangmeister, Ursula},
translator = {Blank-Sangmeister, Ursula},
afterword = {Thraede, Klaus},
indextitle = {De natura deorum},
title = {De natura deorum. {\"U}ber das Wesen der G{\"o}tter},
shorttitle = {De natura deorum},
language = {langlatin and langgerman},
publisher = {Reclam},
location = {Stuttgart},
date = {1995},
annotation = {A bilingual edition of Cicero's \emph{De natura deorum}, with
a German translation. Note the format of the \texttt{language} field in
the database file, the concatenation of the \texttt{editor} and
\texttt{translator} fields, and the \texttt{afterword} field}
}
@book{aristotle:anima,
keywords = {primary},
hyphenation = {british},
author = {Aristotle},
editor = {Hicks, Robert Drew},
title = {De Anima},
publisher = cup,
location = {Cambridge},
date = {1907},
annotation = {A \texttt{book} entry with an \texttt{author} and an
\texttt{editor}}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
还有其他命令可以用于此吗?
答案1
的排序顺序和其他一些有用的设置biblatex
在文件中完成biblatex.def
。在那里你可以找到以下几行:
\DeclareNameAlias{editor}{default}
\DeclareNameAlias{editora}{editor}
\DeclareNameAlias{editorb}{editor}
\DeclareNameAlias{editorc}{editor}
\DeclareNameAlias{translator}{default}
根据这些行,您会看到编辑器使用的名称格式default
如下:
\DeclareNameAlias{default}{first-last}
因此最简单的方法是使用:
\DeclareNameAlias{default}{last-first}