我使用biblatex
with apa
style 来制作参考书目。使用 LibreOffice 可获得以下结果:
我biblatex
得到:
如您所见,结果没有逗号。
我该怎么做才能摆脱这个问题?
我的MWE
\documentclass[man,a4paper,nolmodern,babel,american,french]{apa6}
\usepackage[utf8]{inputenc}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{french}{french-apa}
\usepackage{filecontents}
\begin{filecontents}{\jobname1.bib}
@Article{Hoppe2016,
Title = {Learning rational temporal eye movement strategies.},
Author= {Hoppe, David and Rothkopf, Constantin A.},
Journal= {PNAS Proceedings of the National Academy of Sciences of the United States of America},
Year= {2016},
Number = {29},
Pages = {8332 - 8337},
Volume= {113},
}
\end{filecontents}
\addbibresource{\jobname1.bib}
\title{Étude du potentiel évoqué dans l'apprentissage du vocabulaire d'une première langue étrangère }
\author{Some one}
\date{}
\AtBeginBibliography{%
\renewcommand*{\finalnamedelim}{%
\finalandcomma
\addspace
\bibstring{and}%
\space
}}
\begin{document}
\maketitle
\section{Méthode}
Bla bla
Blah blah blah~ \cite{Hoppe2016}
\printbibliography
\end{document}
答案1
请参阅以下 MWE(重要变化以 标记<=======
):
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{Hoppe2016,
Title = {Learning rational temporal eye movement strategies.},
Author = {Hoppe, David and Rothkopf, Constantin A.},
Journal = {PNAS Proceedings of the National Academy of Sciences of
the United States of America},
Year = {2016},
Number = {29},
Pages = {8332 - 8337},
Volume = {113},
}
\end{filecontents}
\documentclass[man,a4paper,nolmodern,babel,american,french]{apa6}
\usepackage[utf8]{inputenc}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{french}{french-apa}
\DeclareLanguageMapping{american}{american-apa} % <=====================
\addbibresource{\jobname.bib}
\title{Étude du potentiel évoqué dans l'apprentissage du vocabulaire
d'une première langue étrangère}
\author{Some one}
\date{}
\AtBeginBibliography{%
\renewcommand*{\finalnamedelim}{%
\finalandcomma % language dependent
\addspace
\&%\bibstring{and}% & instead of and
\space
}%
}
\begin{document}
\maketitle
\section{Méthode}
Bla bla
Blah blah blah~\cite{Hoppe2016}
\selectlanguage{american} % <===========================================
\printbibliography
\end{document}
为您提供美国书目,包括, and
: