我在使参考书目显示多位作者的完整姓氏时遇到了问题。以下是我的代码和编译输出的两个示例:
@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]}
}
变成:
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
这是我目前与参考书目相关的所有代码:
\usepackage[sort, numbers]{natbib}
\setlength{\bibsep}{0pt}
\bibliographystyle{IEEEtran}
\bibliography{references.bib}
如果相关的话,那么我正在使用 Overleaf,并且我对 Latex 没有太多经验。
[已解决] 我找到了。我需要在所有作者之间添加“and”而不是“,”
@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]}
}
答案1
将字段括author
在双花括号中,如下所示:
author = {{M. Hardt, E. Price and N. Srebro}}
您可以对其他字段使用相同的技巧 - 例如保留大写字母title
。