How do I, correctly, change the format of a plot caption in a qmd
file? With a pptx
output.
I'll provide my MWE:
---
title: "My Work"
subtitle: "2023"
author: "Me"
format: pptx
reference-doc: template.pptx
mainfont: Open Sans
sansfont: Open Sans
slide-level: 1
---
# Slide 1
```{r, fig.align = "center", fig.cap="Caption"}
# code for the graph
```
The only command that I found that can help me modify it, is obviously, the fig.caption
. But besides that, I have no control over the way the caption is presented, in terms of style, and I would like to know other alternatives.
With simply fig.caption = "Caption"
I get something like this:
When what I was looking for, is the following:
In case the changes aren't obvious, the part "Figure 1" has a style bold, with a darkblue color, and the rest "Overlaying Graphs" has a normal lettering style, and the color is lightgray.
Can anyone help?