In every case, you should manage your word template properly for made a page-break with header 6 and I guess you've miss a step (I translate from the French interface of MS word, maybe there is a few differences in the English version) :ġ) First, open your 'reference_docx' in MS word (which is, for you : "./templates/word-styles-reference-01.docx"). There is a few needs for you : first, page break AND unumbered title (see steps 3 & 4), then, maybe you want to adress the size of your titles (see bonus steps) and maybe there is a necessary last stuff to indicate to MS word (see steps 6). an R question: how can I add a page break without using word headings?.a word question: how do I modify the style of Heading 6 so it's not numbered?.I now have my page break but the Heading 6 title is numbered by Word and thus my first title is numbered 2. Now, I want a page break after my table of contents, so I followed this other tutorial and changed my Heading 6 so that it is white, very small, based on the normal style and adds a page break afterwards. Reference_docx: "./templates/word-styles-reference-01.docx" I saved the modified document in a template folder and added it as reference in the markdown header:. I also changed the Table of contents title heading so that it's based on normal text and not another heading, otherwise the table of contents title gets numbered as well. Following this tutorial, I edited the heading styles of the output document in Word to make them numbered. Here is my sample markdown document: -ĭate: "`r format(Sys.time(), '%d/%m/%Y')`" I want a table of contents and numbered headings. I'm creating a RMarkdown document that I want to export in MS Word with RStudio.