如何解决通过 Bookdown (gitbook) 中的“参考书目”更改“参考”
我想将“参考”部分的名称更改为其他名称。我正在使用 R Studio Bookdown 模板:
# Introduction {#intro}
You can label chapter and section titles using `{#label}` after them,e.g.,we can reference Chapter \@ref(intro). If you do not manually label them,there will be automatic labels anyway,Chapter \@ref(methods).
Figures and tables with captions will be placed in `figure` and `table` environments,respectively.
```{r nice-fig,fig.cap='Here is a nice figure!',out.width='80%',fig.asp=.75,fig.align='center'}
par(mar = c(4,4,.1,.1))
plot(pressure,type = 'b',pch = 19)
```
Reference a figure by its code chunk label with the `fig:` prefix,see Figure \@ref(fig:nice-fig). Similarly,you can reference tables generated from `knitr::kable()`,see Table \@ref(tab:nice-tab).
```{r nice-tab,tidy=FALSE}
knitr::kable(
head(iris,20),caption = 'Here is a nice table!',booktabs = TRUE
)
```
You can write citations,too. For example,we are using the **bookdown** package [@R-bookdown] in this sample book,which was built on top of R Markdown and **knitr** [@xie2015].
这会在本章末尾生成一个名为“参考资料”的小节。我试图改变这一点,例如通过添加
language:
label:
refs: 'Bibliography'
到 _bookdown.yml - 没有成功。我在 stackoverflow 上找不到答案。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。