簡體   English   中英

如何在 apa_table() 中更改表格注釋的默認名稱?

[英]How to change default name for table note in apa_table()?

我正在嘗試使用papaja r 包編寫 .pdf 報告。 它不是英文的,所以我需要將一些固定的部分翻譯成波蘭語。 由於這個問題,我設法翻譯了圖形和表格名稱,使用:

\renewcommand{\figurename}{Rysunek}
\renewcommand{\tablename}{Tabela}

但是我不知道如何從“注釋”中翻譯來自apa_table()的表格注釋。 到“Adnotacja”。 解決方法是保留 .tex 文件,在 RStudio 之外查找和替換並渲染。 是否可以在 RMarkdown 文件中設置它?

其中一些詞是在名為papaja.terms的全局選項中定義的,您甚至可能想要更改的不僅僅是這里的注釋,以避免一起使用乳膠快速修復。 請參閱此處的選項:

> getOption("papaja.terms")

$author_note
[1] "Author note"

$abstract
[1] "Abstract"

$keywords
[1] "Keywords"

$word_count
[1] "Word count"

$table
[1] "Table"

$figure
[1] "Figure"

$note
[1] "Note"

$correspondence
[1] "Correspondence concerning this article should be addressed to "

$email
[1] "E-mail"

為了改變'note'對應的單詞的語言。

例如

polish_terms <- getOption("papaja.terms")
polish_terms$note <- "Adnotacja"
options("papaja.terms" = polish_terms) 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM