TeX - LaTeX Asked by x89 on August 13, 2021
usepackage[style=numeric,language=english, maxbibnames=99]{biblatex}
@article{first,
author = "Michelle Carney and Barron Webster and Irene Alvarado and Kyle Phillips and Noura Howell and Jordan Griffith and Jonas Jongejan and Amit Pitaru",
title = "{Article Name}",
journal = "CHI EA '20: Extended Abstracts of the 2020 CHI Conference on Human Factors in Computing Systems",
year = "2020",
DOI = "https://doi.org/"
}
Currently, my output is something like this:
Michelle Carney, Barron Webster, Irene Alvarado, Kyle Phillips, Noura Howell, Jor-dan Griffith
but I want to shorten it such that names are like
Michelle C., Barron W, Irene A,
etc.
As mentioned here,
Bibliography with only initials of names
I tried this, giveninits=true
but it just reduces my reference to
Michelle Carney et al.
If you want to abbreviate given names, use the giveninits
option (which in older versions of biblatex
was called firstinits
). That option does not influence maxnames
and friends, so has no influence on whether or not a list of names is shortened with "et al.".
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=numeric, maxbibnames=99, giveninits]{biblatex}
addbibresource{biblatex-examples.bib}
begin{document}
Lorem autocite{sigfridsson,worman,geer,nussbaum,aksin}
printbibliography
end{document}
It is quite unusual to abbreviate the family/last names of people in the bibliography, but Biber already provides abbreviated family names, we just have to use them.
For initials of given names there is a simple option called giveninits
and while a similar option exists for the family name it doesn't do anything with the standard styles. So here we just define a new name format and use that.
documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=numeric, maxbibnames=99]{biblatex}
DeclareNameFormat{given-f}{%
usebibmacro{name:given-family}
{namepartfamilyi}
{namepartgiven}
{namepartprefixi}
{namepartsuffix}%
usebibmacro{name:andothers}}
DeclareNameAlias{default}{given-f}
addbibresource{biblatex-examples.bib}
begin{document}
Lorem autocite{sigfridsson,worman,geer,nussbaum,aksin}
printbibliography
end{document}
Answered by moewe on August 13, 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