大家好!
我目前使用带有 style=authoryear 的 biblatex。当我使用 \parencite 引用时,它看起来与 apa 非常相似。但不完全一样。作者和年份之间仍然有一个逗号,我需要将其删除:(Hemingway, 1980, 45) --> (Hemingway 1980, 45)。我尝试了 style=apa 但出现错误。我做错了什么?非常感谢!
\documentclass[11pt, oneside]{report}
\usepackage[ngerman]{babel}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\usepackage{acronym}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage{chngcntr}
\usepackage[style=apa]{biblatex}
\usepackage{nameref}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\addbibresource{refrences3.bib}
\renewcommand*{\nameyeardelim}{\addcomma\space}
\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}
\begin{document}
Text text text text \parencite[S. 265]{Diepen}
\newpage \defbibheading{bibliography}{%
\chapter*{Literaturverzeichnis}}
\printbibliography \setlength{\bibitemsep}{\baselineskip}
\end{document}
当我更改 style=apa 时遇到的一些错误:
\iffieldundef {endyear}{...
l.745 \setlength
{\bibitemsep}{\baselineskip}
./Introduction.tex:745: Undefined control sequence.
<argument> \mkbibdateapalongextra
{year}{month}{day}
Package biblatex Warning: Bibliography string 'retrieved' undefined
(biblatex) at entry 'Byrum' on input line 744.
答案1
已移除\addcome
\renewcommand*{\nameyeardelim}{\addspace}