How to properly number headings in Word from a RMarkdown document

前端 未结 3 1798
感动是毒
感动是毒 2021-01-05 08:14

I\'m creating a RMarkdown document that I want to export in MS Word with RStudio.

I want a table of contents and numbered headings. Here is my sample markdown docume

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-05 09:17

    Following on from the Blockquote debate. I found the following solution:

    R Markdown

    add a block quote with a space

    >  

    Word template

    The block quote is formatted as Block Text style in Word.

    Edit the Block Text style

    • small font (I use size 3)
    • change the paragraph settings
      • no space before/after
      • tick "page break before"

提交回复
热议问题