RStudio, knitr, pandoc, Word: how do I get a '

2019-04-21 15:29发布

问题:

I am using the RStudio, knitr, pandoc, MS Word combo to get my final results in a docx document.

Occasionally, I would like the report to continue on a new page. I can't find the way to achieve this.

From what I have Googled, it seems to be possible with CSS. I don't know HTML or CSS, but if it is the solution I will learn. Just don't want to take the wrong road...

回答1:

Try the LaTeX command \newpage. Pandoc recognizes it and might (not on a computer right now) translate it to a Word page break.