R Markdown font size in word


#1

Hi

Sorry for my english.

First i will change the font size in R Markdown for a matrix print after knit to Word.

How can i change the font size, that it is possible to do the matrix in 1 line. In my example it is in 2 lines...

Thanks


#2

Hi,

The word styles are managed by providing a "template". See Rmarkdown documentation:

You can "extract" the pandoc template including all the covered style. See the documentation for option print-default-template

The command line is:

pandoc --print-default-template=docx -o reference.docx

I can't answer regarding your matrix output question.

Regards,

jm


#3

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.