问题描述
我是 RMarkdown 和 Latex 的绝对初学者。所以,这是我第一次尝试写论文。我从我的大学获得了一个模板,我使用了它,但引用有问题。我想使用 apa 样式,它在参考书目中效果很好。然而,引文在日期周围有括号,看起来像这样:
(Behrendt 等人(2016),S.1)
如何去掉日期周围的括号?提前致谢!
我的 YAML-Header 如下所示:
---
geometry: "a4paper,top=2cm,bottom=2cm,left=3.5cm,right=2cm"
fontsize: 12pt
linestretch: 1.5
automark: yes
indent: true
toc: false
classoption:
- DIV=calc
- headsepline=true
KOMAoptions:
- headings=standardclasses
- DIV=last
table_caption: true
figure_caption: true
includes:
in_header: figure_placement.tex
link-citations: yes
knit: "bookdown::render_book"
output:
bookdown::pdf_book:
includes:
in_header: tex/praeambel.tex
keep_tex: yes
latex_engine: pdflatex
citation_package: biblatex
bibliography: bib/literatur.bib
biblio-style: apa
---
我的 .bib 条目如下所示:
@techreport{behrendtStrategieanalytischeBetrachtungFuer2016,address = {Berlin},type = {Inputpapier},title = {Strategieanalytische {Betrachtung} für eine {Green} {Economy}},language = {de},institution = {izt - Institut für Zukunftsstudien und Technologiebewertung},author = {Behrendt,Siegfried and Göll,Edgar and Korte,Friederike},year = {2016},pages = {37}
}
编辑:解决方案是使用方括号 [] 而不是圆括号 ()
解决方法
我太关注我的标题了。问题出在我在引文中使用的括号中。我使用 ( ) 而不是 [ ]。这就是问题所在。