RStudio,knitr,pandoc,Word:如何在docx中获得“新页面"? [英] RStudio, knitr, pandoc, Word: how do I get a 'new page' in my docx?

查看:116
本文介绍了RStudio,knitr,pandoc,Word:如何在docx中获得“新页面"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用RStudio,knitr,pandoc,MS Word组合,以在docx文档中获得最终结果.

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.

从我搜索过的内容来看,CSS似乎有可能.我不知道HTMLCSS,但是如果是解决方案,我将学习.只是不想走错路...

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...

推荐答案

尝试使用LaTeX命令\ newpage. Pandoc可以识别它,并且可能(现在不在计算机上)将其转换为Word分页符.

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

这篇关于RStudio,knitr,pandoc,Word:如何在docx中获得“新页面"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆