因此,我有以下针对在线资源的 APA 样式书目:
[12] Unity Technologies。(2023 年)。Unity 手册https://docs.unity3d.com/Manual/UnityManual.html。
我希望它是这样的:
[12] Unity Technologies (2023)。 Unity 手册。https://docs.unity3d.com/Manual/UnityManual.html
我怎样才能仅针对@online 书目实现这一点?
顺便说一下,我正在使用 biblatex 并采用以下设置:
\usepackage[style=apa, citestyle=numeric, backend=biber, sorting=none]{biblatex}
其他设置包括删除方括号、日期后的字母以及按数字排序:
\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}
\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}}
{\setlength{\labelwidth}{\labelnumberwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\item}
\DeclareFieldFormat{extradate}{\iffieldnums{labelyear}{}{\apashortdash\mknumalph{#1}}}
\renewbibmacro*{addinfo2}{%
%% \printtexte[brackets]{%
\iffieldbibstring{entrysubtype}
{\bibcplstring{\thefield{entrysubtype}}}
{\printfield{entrysubtype}}%
\setunit*{\addsemicolon\addspace}%
\printfield{note}
%% }
}