简体   繁体   中英

R Markdown: Set Font Size for the Title

I am using R Markdown to create a word document, and trying to increase the font size of the title and author on the cover page. Is there a way to do that?

Thanks.

You can provide a reference Word doc as a parameter in the YAML frontmatter and the styles in the knitted document will be based on them, then:

---
title: "Habits"
output:
  word_document:
    reference_docx: mystyles.docx
---

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM