0

I am making a beamer presentation in RStudio, using the Metropolis theme. I would like to use some options, say sectionpage = none, but I don't know where to put the option in the YAML header.

I just have the basics:

---
title: "TemplatePresentation"
author: "MightyMauz"
output: 
  beamer_presentation: 
    theme: metropolis
---

How can I pass metropolis theme options?

Anthon
  • 69,918
  • 32
  • 186
  • 246
MightyMauz
  • 65
  • 5

1 Answers1

1

Use header-includes instead to declare what theme you want to use:

---
title: "TemplatePresentation"
author: "MightyMauz"
classoption: "portrait"
output: beamer_presentation
header-includes:
  - \usetheme[sectionpage = none]{metropolis}
---
Martin Schmelzer
  • 23,283
  • 6
  • 73
  • 98