R-Markdown,重启和编辑章节编号
Posted
技术标签:
【中文标题】R-Markdown,重启和编辑章节编号【英文标题】:R-Markdown, restart and edit the numbering of sections 【发布时间】:2022-01-14 11:01:05 【问题描述】:我有一个 PDF 降价文件。在论文的最后,我有一个附录。我想重新计算附录中的部分,并可能在附录部分前面引入“A”。像“A1”、“A2”、“A3”等。
有人知道怎么做吗?
非常感谢您的帮助
这是一个例子。
---
title: "My paper with an appendix"
output:
pdf_document:
number_sections: yes
---
# my normally numbered section
text
## another normally numbered section
text
\newpage
# Appendix -
this section should not be numbered
## This is a new section that I would like to be numbered "A1"
text
## Every other section should be numbered "A..."
starting from A1 to AN
【问题讨论】:
【参考方案1】:快速破解:
---
title: "My paper with an appendix"
output:
pdf_document:
number_sections: yes
---
# my normally numbered section
text
## another normally numbered section
text
\newpage
\appendix
\renewcommand\thesectionA
# Appendix -
this section should not be numbered
## This is a new section that I would like to be numbered "A1"
text
## Every other section should be numbered "A..."
starting from A1 to AN
【讨论】:
以上是关于R-Markdown,重启和编辑章节编号的主要内容,如果未能解决你的问题,请参考以下文章
word2010中,用mathtype编辑公式,分章节编号,但目录的最前面总是显示Equation Chapter 2 Section 1