阅读背景:

在不影响R代码块输出的情况下,我可以使用RMarkdown和knitr改变MSWord的正常风格吗?

来源:互联网 

I am attempting to write a document using RMarkdown v2 (see below) and then knit this to MSWord using "Knit Word" within RStudio (v 0.8.1091) (knitr v1.8). I have modified the normal style in a docx document that was created through knitting such that text with the normal style will be double-spaced and the first line of the paragraph will be indented. I included this docx file in reference_docx in the YAML header. This works fine except that the R code is also double-spaced with the first line indented (see below). I had assumed that the code chunk was a different style that I could alter but I have not yet determined what that style is.I am attempting to write a document using RMark




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: