参考文献格式略有错误

参考文献格式略有错误

我正在写一份提案文件,必须使用哈佛参考文献格式来引用。在大多数情况下,标准作者年份语法没有问题,但是我注意到在有两位作者的论文中,第一位作者的姓氏格式正确,而第二位作者的姓氏格式不正确。例如,它看起来像“Yan, Jeff and Brian Randell”,而不是“Yan, J. and Randell, B.”。有办法改变这种情况吗?

编辑:添加了一个我所指的工作示例

TeX 部分:

\documentclass{article}

\usepackage[backend=bibtex,style=authoryear]{biblatex}
\addbibresource{references}

\title{Example For TeX StackExchange}
\author{IBRice101}
\date{14/10/2022}

\begin{document}

\maketitle

This concern is, in fact, not unfounded. The kernel-level anti-cheat used in the popular role-playing game Genshin Impact, \texttt{mhyprot2.sys}, has been found to be used by ransomware actors in the wild to disable antivirus software prior to malware deployment (\cite{solivenRansomwareActorAbuses2022}).

\medskip

\printbibliography

\end{document}

参考文献.bib:

@online{solivenRansomwareActorAbuses2022,
  title = {Ransomware {{Actor Abuses Genshin Impact Anti-Cheat Driver}} to {{Kill Antivirus}}},
  author = {Soliven, Ryan and Kimura, Hitomi},
  date = {2022-08-24},
  url = {https://www.trendmicro.com/en_us/research/22/h/ransomware-actor-abuses-genshin-impact-anti-cheat-driver-to-kill-antivirus.html},
  urldate = {2022-10-01},
  abstract = {We investigate mhyprot2.sys, a vulnerable anti-cheat driver for the popular role-playing game Genshin Impact. The driver is currently being abused by a ransomware actor to kill antivirus processes and services for mass-deploying ransomware.},
  langid = {american},
  organization = {{Trend Micro}},
}

答案1

添加 giveninits=true你得到

A

\documentclass{article}

\begin{filecontents*}{references.bib}
@online{solivenRansomwareActorAbuses2022,
    title = {Ransomware {{Actor Abuses Genshin Impact Anti-Cheat Driver}} to {{Kill Antivirus}}},
    author = {Soliven, Ryan and Kimura, Hitomi},
    date = {2022-08-24},
    url = {https://www.trendmicro.com/en_us/research/22/h/ransomware-actor-abuses-genshin-impact-anti-cheat-driver-to-kill-antivirus.html},
    urldate = {2022-10-01},
    abstract = {We investigate mhyprot2.sys, a vulnerable anti-cheat driver for the popular role-playing game Genshin Impact. The driver is currently being abused by a ransomware actor to kill antivirus processes and services for mass-deploying ransomware.},
    langid = {american},
    organization = {{Trend Micro}},
}
\end{filecontents*}

\usepackage[backend=bibtex,style=authoryear, giveninits=true]{biblatex} % changed <<<<<<<<<<<<<<<
\addbibresource{references.bib}

\title{Example For TeX StackExchange}
\author{IBRice101}
\date{14/10/2022}

\begin{document}
    
    \maketitle
    
    This concern is, in fact, not unfounded. The kernel-level anti-cheat used in the popular role-playing game Genshin Impact, \texttt{mhyprot2.sys}, has been found to be used by ransomware actors in the wild to disable antivirus software prior to malware deployment (\cite{solivenRansomwareActorAbuses2022}).
    
    \medskip        
    
    \printbibliography

\end{document}

相关内容