TeX - LaTeX Asked on January 23, 2021
I want to get the following style for my bibliography:
Where I get the name of a maximum of six authors and if there are more I get six plus et al.
When there are less than 6 authors (1) I have not problem using
usepackage[maxbibnames=6, maxcitenames=6]{biblatex}
However if there are more than 6 authors (2) it only displays the first one plus “et al.” I have not been able to find out any solution for this.
How can I solve it?
My actual code is as follows
documentclass[a4paper, 12pt,spanish]{article}
usepackage[utf8]{inputenc}
usepackage[spanish,es-tabla]{babel}
usepackage[T1]{fontenc}
%usepackage{biblatex}
usepackage[maxbibnames=6, maxcitenames=6]{biblatex}
addbibresource{bibliography2.bib}
DefineBibliographyStrings{spanish}{%
andothers = {etaddabbrvspace aladddot}
}
begin{document}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,cite{1}
vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida
mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.cite{2}
newpage
printbibliography[title={Referencias bibliográficas}]
end{document}
I get this
Thanks in advance.
When a name list hits the max(bib|cite)names
limit, it is automatically truncated to min(bib|cite)names
. So if you want to see up to six names in the bibliography you need to set
minbibnames=6, maxbibnames=6,
You can combine maxbibnames=6, maxcitenames=6,
into
maxnames=6,
and if desired you can do the same for min(bib|cite)names
.
documentclass[a4paper, 12pt,spanish]{article}
usepackage[utf8]{inputenc}
usepackage[spanish,es-tabla]{babel}
usepackage[T1]{fontenc}
usepackage[style=numeric,
maxnames=6, minbibnames=6,
giveninits=true, terseinits=true]{biblatex}
addbibresource{biblatex-examples.bib}
DeclareNameAlias{author}{sortname}
DeclareNameAlias{editor}{sortname}
DeclareNameAlias{translator}{sortname}
DeclareNameAlias{sortname}{family-given}
renewcommand*{revsdnamepunct}{}
DeclareDelimAlias*{finalnamedelim}{multinamedelim}
makeatletter
DefineBibliographyExtras{spanish}{%
restorecommandlbx@finalnamedelim
restorecommandlbx@finallistdelim
}
makeatother
DefineBibliographyStrings{spanish}{%
andothers = {etaddabbrvspace aladddot},
}
begin{document}
Lorem ipsum dolor sit amet autocite{aksin}
vestibulum ut autocite{companion}
printbibliography
end{document}
Answered by moewe on January 23, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP