apa7 引用参考文献需要 tex studio+ 尝试使用 biblatex 和 biber 编译器 + 问题 圆括号围绕参考文献未生成

apa7 引用参考文献需要 tex studio+ 尝试使用 biblatex 和 biber 编译器 + 问题 圆括号围绕参考文献未生成
\documentclass[a4paper, 12pt]{report}
%=========================Preamble===================================

\usepackage{setspace} %for line spacing
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa, backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}

\addbibresource{ots.bib}
\begin{document}
    \chapter{Introduction} Worldwide Artificial Insemination (AI) is the most common method for genetic upgradation of herds for economic characters. The success of AI depends upon many factors \cite{Sztein2018}. 
\printbibliography
\end{document}

输出中缺少引用周围的圆括号。它应该是这样的:

...取决于许多因素 (Sztein et al., 2018)...

但输出是这样的:

...取决于许多因素 Sztein et al., 2018 ...

答案1

使用biblatex \cite给出简单的引用。使用 APA 样式,您可能希望使用(由样式\autocite设置为)或。\parencite\textcite

\documentclass[a4paper, 12pt]{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa, backend=biber]{biblatex}

\addbibresource{biblatex-examples.bib}

\begin{document}
  Lorem \autocite{sigfridsson}
  
  Later it was shown by \textcite{sigfridsson} that

  Lorem \parencite{sigfridsson}

  Lorem \cite{sigfridsson}

  \printbibliography
\end{document}

Lorem (Sigfridsson & Ryde, 1998)//后来 Sigfridsson 和 Ryde (1998) 证明//Lorem (Sigfridsson & Ryde, 1998)//Lorem Sigfridsson 和 Ryde, 1998

相关内容