是否可以从 R 中的文本引用中删除括号?
Is it possible to remove parentheses from in-text citations in R?
我正在尝试从已经在括号内的引文中删除括号。目前我的降价文本如下所示:
The questionnaire Patient Health Questionnaire 9-Item Scale (PHQ-9; [@Kroenke2010]) was used to assess symptoms of depression.
结果是这样的:
The questionnaire Patient Health Questionnaire 9Item Scale (PHQ9; (Kroenke, Spitzer, Williams, & Löwe, 2010)) was used to assess symptoms of depression.
我尝试将降价文本更改为(也就是删除引用周围的括号):
The questionnaire Patient Health Questionnaire 9-Item Scale (PHQ-9; @Kroenke2010) was used to assess symptoms of depression.
这略微改善了它的外观:
The questionnaire Patient Health Questionnaire 9Item Scale (PHQ9; Kroenke, Spitzer, Williams, & Löwe, (2010)) was used to assess symptoms of depression.
我希望它看起来像这样:
The questionnaire Patient Health Questionnaire 9Item Scale (PHQ9; Kroenke, Spitzer, Williams, & Löwe, 2010) was used to assess symptoms of depression.
知道我会怎么做吗?
编辑: 因为我对这些东西很陌生,所以我不知道它是否是有价值的信息,但我也会把它放在这里:
bibliography : ["r-references.bib", "library.bib"]
documentclass : "apa6"
编辑: 我试图四处寻找解决方案,但我唯一找到的是 this thread,它或多或少有同样的问题。大约 1 & 1/2 年前被问及没有答案。
对我来说,它适用于这种格式:
[PHQ-9; @Kroenke2010] was used to assess symptoms
您可以在此处阅读有关 pandoc-citeproc
格式的更多信息:https://pandoc.org/MANUAL.html#citations。
我正在尝试从已经在括号内的引文中删除括号。目前我的降价文本如下所示:
The questionnaire Patient Health Questionnaire 9-Item Scale (PHQ-9; [@Kroenke2010]) was used to assess symptoms of depression.
结果是这样的:
The questionnaire Patient Health Questionnaire 9Item Scale (PHQ9; (Kroenke, Spitzer, Williams, & Löwe, 2010)) was used to assess symptoms of depression.
我尝试将降价文本更改为(也就是删除引用周围的括号):
The questionnaire Patient Health Questionnaire 9-Item Scale (PHQ-9; @Kroenke2010) was used to assess symptoms of depression.
这略微改善了它的外观:
The questionnaire Patient Health Questionnaire 9Item Scale (PHQ9; Kroenke, Spitzer, Williams, & Löwe, (2010)) was used to assess symptoms of depression.
我希望它看起来像这样:
The questionnaire Patient Health Questionnaire 9Item Scale (PHQ9; Kroenke, Spitzer, Williams, & Löwe, 2010) was used to assess symptoms of depression.
知道我会怎么做吗?
编辑: 因为我对这些东西很陌生,所以我不知道它是否是有价值的信息,但我也会把它放在这里:
bibliography : ["r-references.bib", "library.bib"]
documentclass : "apa6"
编辑: 我试图四处寻找解决方案,但我唯一找到的是 this thread,它或多或少有同样的问题。大约 1 & 1/2 年前被问及没有答案。
对我来说,它适用于这种格式:
[PHQ-9; @Kroenke2010] was used to assess symptoms
您可以在此处阅读有关 pandoc-citeproc
格式的更多信息:https://pandoc.org/MANUAL.html#citations。