Biblatex APA6 在文内引用年份中没有括号

Biblatex APA6 在文内引用年份中没有括号

我使用 Biblatex 软件包,在文内引用时,它\cite{...}会在作者姓氏后面显示年份,但不显示年份中的括号,例如\cite{einstein}显示为“Einstein 1905”。据我所知,APA 第 6 版规定文内引用必须带括号,即应为“Einstein (1905)”。

如果您能指导我 Biblatex 中 apa6 设置中缺少什么,以及这个提到的包在使用 APA 引用期刊文章方面是否可靠,我将不胜感激。

谢谢!

我附加了我的 main.tex 和 sample.bib 文件和输出:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

% Sets-up bibtex for APA 6th
\usepackage[backend=biber, style=apa,]{biblatex}
\addbibresource{sample.bib} % Imports bibliography file

\title{Template}
\author{Author}
\begin{document}
\maketitle
\section{First section}

Items that are cited: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, The Einstein's journal paper \cite{einstein} and the Dirac's book \cite{dirac} are physics related items. Next, a citation about \textit{The \LaTeX\ Companion} book \cite{latexcompanion}.

\medskip

\printbibliography
\end{document}
@article{einstein,
  author =       "Albert Einstein",
  title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
                 [{On} the electrodynamics of moving bodies]",
  journal =      "Annalen der Physik",
  volume =       "322",
  number =       "10",
  pages =        "891--921",
  year =         "1905",
  DOI =          "http://dx.doi.org/10.1002/andp.19053221004",
  keywords =     "physics"
}

@book{dirac,
  title={The Principles of Quantum Mechanics},
  author={Paul Adrien Maurice Dirac},
  isbn={9780198520115},
  series={International series of monographs on physics},
  year={1981},
  publisher={Clarendon Press},
  keywords = {physics}
}

@book{latexcompanion,
    author    = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
    title     = "The \LaTeX\ Companion",
    year      = "1993",
    publisher = "Addison-Wesley",
    address   = "Reading, Massachusetts",
    keywords  = "latex"
}
 
@online{knuthwebsite,
    author    = "Donald Knuth",
    title     = "Knuth: Computers and Typesetting",
    url       = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
    keywords  = "latex,knuth"
}

@inbook{knuth-fa,
   author = "Donald E. Knuth",
   title = "Fundamental Algorithms",
   publisher = "Addison-Wesley",
   year = "1973",
   chapter = "1.2",
   keywords  = "knuth,programming"
}

@book{knuth-acp,
   author = "Donald E. Knuth",
   publisher = "Addison-Wesley",
   title = "The Art of Computer Programming",
   series = "Four volumes",
   year = "1968",
   note = "Seven volumes planned",
   keywords  = "knuth,programming"
}

@article{ctan,
    author  = "George D. Greenwade",
    title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
    year    = "1993",
    journal = "TUGBoat",
    volume  = "14",
    number  = "3",
    pages   = "342--351",
    keywords  = "latex"
}

输出

答案1

作者/年份格式的标准引用命令biblatex如下\textcite作者(年份)\parencite得出(作者、年份)。取决于样式\cite是否受支持,但别名为其他引用命令之一。在 的情况下,apa它的别名为 的版本,\parencite但没有括号。

因此,\cite您应该使用而不是\textcite。对于括号内的参考文献字符串,您应该使用\parencite,当引用本身位于括号内时,这将正确删除年份周围的括号。

此外,在撰写此答案时,style=apa采用了 APA 第 7 版;为了获得符合 APA 第 6 版风格的格式,请使用style=apa6

相关内容