Cinji18
Cinji18

Reputation: 629

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.

Upvotes: 0

Views: 815

Answers (1)

hrbrmstr
hrbrmstr

Reputation: 78792

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
---

Upvotes: 1

Related Questions