I want to be able to create a PowerPoint output in R
(using quarto
, qmd
) but I've been having some difficulties in the actual format of the powerpoint.
When I execute the following code:
---
title: "My presentation"
subtitle: "January 2023"
author: "Me"
format: pptx
reference-doc: template6.pptx
mainfont: Open Sans
sansfont: Open Sans
---
# Title
## Subtitle
I receive a pptx output with two separate slides, as shown:
What I am looking for is something like in the picture bellow:
A title, in a certain color (and larger size) and bellow a subtitle with another color (with a smaller size).
I've tried messing around with the template, but I didn't find anything close to it. I know adding it manually would solve the problem, but I'm really adamant about keeping this process as most "automatic" as possible.
Can anyone help?