When I create the word document in Rmarkdown, text is always left-aligned:
Is it possible (and how) to justify the text in Rmarkdown?
A template (i.e., like a custom style sheet) can be created in Word (or LibreOffice / OpenOffice), containing whatever page formatting and document styles you wish, and referenced from the rmarkdown file, i.e.,
---
title: "My Document"
output:
word_document:
reference_docx: mystyles.docx
---
...rest of your rmarkdown here...
See:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With