我想知道如何让 Latex 将姓氏中带有双 a 的姓氏排在参考列表的顶部。截至目前,我的参考“Aasly”排在列表的底部。
@article{aasly2019forundersokelser,
title = {Forundersøkelser og bruk av kortreist stein. En geologisk veileder},
author = {Aasly, Kari Aslaksen and Margreth, Annina and Erichsen, Eyolf and Rise, Torun and Alnæs, Lisbeth-Ingrid},
year={2019},
journal={SINTEF akademisk forlag},
URL = {https://sintef.brage.unit.no/sintef-xmlui/bitstream/handle/11250/2641011/SFag\%2062_rettet\%20navn\%20(1).pdf?sequence=1}
}
我正在使用这种参考风格:
\usepackage[backend = biber,
style = authoryear-comp,
urldate = long,
maxcitenames = 3,
]{biblatex}
\addbibresource{references.bib}
需要在参考文献本身中添加一些内容以强制将其置于顶部吗?
答案1
从 Marijn 和 Mico 的评论中您可以意识到,如果您使用babel
,danish
Aasly 将会追随 Zorro。
但是,您可以随时使用 来更改参考文献的打印顺序sortkey
。
将结果与以下进行比较sortkey={Asly}
:
\documentclass{book}
\usepackage[danish]{babel}
\usepackage{csquotes}
\begin{filecontents}{\jobname.bib}
@article{aasly2019forundersokelser,
title = {Forundersøkelser og bruk av kortreist stein. En geologisk veileder},
author = {Aasly, Kari Aslaksen and Margreth, Annina and Erichsen, Eyolf and Rise, Torun and Alnæs, Lisbeth-Ingrid},
sortkey={Asly},
year={2019},
journal={SINTEF akademisk forlag},
URL = {https://sintef.brage.unit.no/sintef-xmlui/bitstream/handle/11250/2641011/SFag\%2062_rettet\%20navn\%20(1).pdf?sequence=1}
}
@article{zorro,
title = {Something},
author = {Zorro, Diego},
year={2019},
journal={De La Vega publishing}
}
\end{filecontents}
\usepackage[backend = biber,
style = authoryear-comp,
urldate = long,
maxcitenames = 3,
]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
A citation \textcite{aasly2019forundersokelser}
another citation \textcite{zorro}
\printbibliography
\end{document}
使用不带的默认行为sortkey
:
\documentclass{book}
\usepackage[danish]{babel}
\usepackage{csquotes}
\begin{filecontents}[overwrite]{\jobname.bib}
@article{aasly2019forundersokelser,
title = {Forundersøkelser og bruk av kortreist stein. En geologisk veileder},
author = {Aasly, Kari Aslaksen and Margreth, Annina and Erichsen, Eyolf and Rise, Torun and Alnæs, Lisbeth-Ingrid},
year={2019},
journal={SINTEF akademisk forlag},
URL = {https://sintef.brage.unit.no/sintef-xmlui/bitstream/handle/11250/2641011/SFag\%2062_rettet\%20navn\%20(1).pdf?sequence=1}
}
@article{zorro,
title = {Something},
author = {Zorro, Diego},
year={2019},
journal={De La Vega publishing}
}
\end{filecontents}
\usepackage[backend = biber,
style = authoryear-comp,
urldate = long,
maxcitenames = 3,
]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
A citation \textcite{aasly2019forundersokelser}
another citation \textcite{zorro}
\printbibliography
\end{document}