I have an rmarkdown document (.Rmd) that I want to link to a PDF document. number_sections was placed in 'yes' and toc in 'true'. How to add sections of the application that appear in the table of contents, but do not have a section number?
Here is an example. Rmd. How can I supplement Appendix A and Appendix B with countless sections and allow them to appear in the table of contents at the same time?
--- 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 ---
source share