tales_alencar
tales_alencar

Reputation: 141

How add a blank line between title and authors in YAML output - Rmarkdown?

I have a code like this in rmarkdown:

---
title: "title"
author: "author"
output: pdf_document
---

How can i add a empty line between the title and author? In default output the author's name is very close to title's name. I think that solution is simple, but i can't see it.

Thanks in advance!

Upvotes: 1

Views: 1063

Answers (1)

filups21
filups21

Reputation: 1917

Following this comment, you can add multiple lines to the title or the author using the | symbol.

---
title: "title"
author: |
   | 
   | author
output: pdf_document
---

Upvotes: 2

Related Questions