I am having a problem with getting my bibliography to show full last name for multiple authors. Here are two examples of my code and the compiled output:
@article{12_equility,
author = {M. Hardt, E. Price and N. Srebro},
title={Equality of Opportunity in Supervised Learning},
journal = "arXiv",
year = "2016",
url={https://arxiv.org/abs/1610.02413 },
note = {[accessed: 14.11.2020]}
}
@article{10_FutureCriminals,
author = {J. Angwin, J. Larson, S. Mattu and L Kirchner},
title={Machine Bias: There’s software used across the country to predict future criminals. And it’s biased against blacks.},
journal = {ProPublica},
year = {2016},
url={https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing},
note = {[accessed: 15.11.2020]}
}
becomes:
E. P. M.Hardt and N.Srebro, “Equality of opportunity in supervised learning,”arXiv, 2016,[accessed: 14.11.2020]. [Online]. Available: https://arxiv.org/abs/1610.02413
S. M. J. Angwin, J. Larson and L. Kirchner, “Machine bias: There’s software usedacross the country to predict future criminals. and it’s biased against blacks.”ProPublica,2016, [accessed: 15.11.2020]. [Online]. Available: https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing
This is all the code I have currently related to the bibliography:
\usepackage[sort, numbers]{natbib}
\setlength{\bibsep}{0pt}
\bibliographystyle{IEEEtran}
\bibliography{references.bib}
If it is related then I am using Overleaf and I do not have much experience with Latex.
[Solved] I found it out. I need to put "and" instead of "," between all authors.
@article{12_equility,
author = {M. Hardt and E. Price and N. Srebro},
title={Equality of Opportunity in Supervised Learning},
journal = "arXiv",
year = "2016",
url={https://arxiv.org/abs/1610.02413 },
note = {[accessed: 14.11.2020]}
}
and. If the name field is wrapped in curly braces it will always appear as is. This will go horribly wrong with author-year citations and may cause issues with styles that prefer "Family, Given" name order. – moewe Jan 16 '21 at 21:54<field> = {{<content>}},unconditionally in either setting, but it is usually worse if wrongly applied in name fields than in title-like fields. – moewe Jan 17 '21 at 12:24