Rmarkdown word文档中的文本对齐
Text Justification in Rmarkdown word document
当我在 Rmarkdown 中创建 word 文档时,文本总是左对齐:
是否可以(以及如何)证明 Rmarkdown 中的文本合理?
可以在 Word(或 LibreOffice / OpenOffice)中创建一个模板(即像自定义样式 sheet),包含您想要的任何页面格式和文档样式,并从 rmarkdown 文件中引用,即,
---
title: "My Document"
output:
word_document:
reference_docx: mystyles.docx
---
...rest of your rmarkdown here...
参见:
当我在 Rmarkdown 中创建 word 文档时,文本总是左对齐:
是否可以(以及如何)证明 Rmarkdown 中的文本合理?
可以在 Word(或 LibreOffice / OpenOffice)中创建一个模板(即像自定义样式 sheet),包含您想要的任何页面格式和文档样式,并从 rmarkdown 文件中引用,即,
---
title: "My Document"
output:
word_document:
reference_docx: mystyles.docx
---
...rest of your rmarkdown here...
参见: