使用数字样式在 biblatex 中首先获取姓氏

使用数字样式在 biblatex 中首先获取姓氏

下面是我的代码的一个简短示例。

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}

\usepackage[backend=bibtex,
style=numeric,
sorting=nyt,
bibencoding=utf8,
defernumbers=true,
 natbib=true,
 ]{biblatex}

 \DefineBibliographyStrings{danish}{andothers = {et\addabbrvspace al\adddot}}

\addbibresource{Reference}

\begin{document}
This is a reference see \citep{Ovesen2012} and \citep{ctan}
\printbibliography[title={Referencer}]
\end{document}

在文件“参考”中有以下内容:

@article{ctan,
author  = "George D. Greenwade",
title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
year    = "1993",
journal = "TUGBoat",
volume  = "14",
number  = "3",
pages   = "342--351",
keywords  = "latex"
}


@Book{Ovesen2012,
author = {Jens Ovesen and Marianen Hall and Ulirik Oven},
title = {An introduktion to latex},
publisher = {Polyteknisk forlag},
year = {2013},
}

我得到如下所示的结果,但我想要先得到姓氏,所以它看起来像这样:

Greenwade, George D. “综合 Tex 档案网络 (CTAN)”。载于:TUGBoat 14.3 (1993),第 342-351 页。

奥维森,延斯; Marianen Hall 和 Ulirik Oven。对乳胶的介绍。综合技术,2013 年。

在此处输入图片描述

我怎样才能做到这一点 ?

答案1

添加\DeclareNameAlias{author}{last-first}到你的序言中。

相关内容