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

心已入冬 提交于 2019-12-11 00:35:50

问题


I specified a csl bibliography style as described by this method of 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.

How can I customize it to 'Reference' or just remove it.


回答1:


You can use the LaTeX command \markboth{left page}{right page} to set the page headings, i.e. something like this

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

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


来源:https://stackoverflow.com/questions/50663004/customize-or-remove-the-header-of-reference-after-specify-csl-on-bookdown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!