0
votes

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?

1
I think the classoption is for passing something to \documentclass, not to pass an option to a themeMightyMauz
Ah I misread your question. Anyhow, the answer posted solves the problem.Martin Schmelzer

1 Answers

1
votes

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