![](/img/trans.png)
[英]In RMarkdown PDF, change section numbering from “X Section” to “Section X”
[英]How to make part of rmarkdown document without section numbering?
我有一个rmarkdown文档(.Rmd),我想将其编织为pdf文档。 number_sections已设置为“ yes”,toc已设置为“ true”。 如何添加出现在目录中但没有节号的附录节?
这是一个示例.Rmd代码。 如何让附录A和附录B为无数部分,并使它们同时出现在目录中?
---
title: "Test"
author: "test test"
geometry: margin=1in
output:
pdf_document:
keep_tex: yes
latex_engine: xelatex
number_sections: yes
toc: yes
toc_depth: 3
header-includes:
- \usepackage[dutch]{babel}
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \fancyfoot[LE,RO]{this is a fancy foot}
- \usepackage{dcolumn}
- \usepackage{here}
- \usepackage{longtable}
- \usepackage{caption}
- \captionsetup{skip=2pt,labelsep=space,justification=justified,singlelinecheck=off}
subtitle: test test test
fontsize: 12pt
---
# start
# second
```{r results="asis",eval=TRUE,echo=FALSE,message=FALSE, error=FALSE, warning=FALSE, comment = NA,fig.height=4}
cat("and here some R")
```
# appendix A
# appandix B
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.