12/20/2023 0 Comments Markdown table of contents![]() The last thing is to left align the caption and add a margin: How to create table outputs for PDF using R-Markdown-stack?įirst, create a tableHTML with specific column-widths, the caption, and ‘scientific’ theme (The default text align for that theme is ‘center’, this is why it needs to be changed to ‘right’ using add_css_conditional_column () and add_css_header () ). It puts the table of contents right after the document title, author and date–because it is in yaml. If you are using pdf_document, you might want to add table of contents in a new page, which toc: true does not allow. How to add table of contents in Rmarkdown?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |