r-markdown - 在 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, e.g., 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, e.g., see Figure \@ref(fig:nice-fig). Similarly, you can reference tables generated from `knitr::kable()`, e.g., 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上找不到这个答案。
解决方案
推荐阅读
- sqlite - 使用本地数据库值初始化变量
- ios - 带 AM/PM 的 DateFormatter 返回 nil
- javascript - Javascript - 来自用点分隔的字符串数组的嵌套字典
- c++ - 如何将元素从 STL 队列传递给函数?
- wpf - WPF - 从模式绑定到 MainViewModel 属性
- swift - 如何处理内置的 AlertController / 电子邮件提示出现在我的视图后面
- r - 有没有办法让ggplot2图例显示所有独特的美学组合?
- html - 如何为 HTML 表格中的每一列设置不同的宽度?
- arrays - Mongodb位置更新所有$ []似乎不起作用
- postgresql - Postgresql:查询一个字段是模糊匹配而另一个精确匹配的对列表