在 Bookdown 指定 csl 后自定义或删除引用的 header

Customize or remove the header of reference after specify csl on Bookdown

我指定了 描述的 csl 参考书目样式 共 bookdown Chinese example, and found the header for the Reference was incorrect, it should be "参考文献(Reference) instead of "附录(Appendix)" for the second page of Section Reference.

如何将其自定义为 'Reference' 或直接将其删除。

您可以使用 LaTeX 命令 \markboth{left page}{right page} 设置页面标题,即像这样的东西

# 参考文献 {#references .unnumbered}
\markboth{参考文献}{参考文献}

```{r include=FALSE}
# 自动生成 R 包的参考文献
knitr::write_bib(c(
  .packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')
```