我正在使用 R Markdown
创建幻灯片,并希望更改其中一张幻灯片的字体颜色。我想知道是否有可能?它只适用于单个幻灯片,因此无法在 PowerPoint 模板中更改。到目前为止,我找到的所有解决方案似乎都是针对 HTML
和 PDF
文档。
- HTML文档使用CSS
---
title: "Example"
author: ""
date: "09/07/2020"
output:
powerpoint_presentation
---
## R Markdown
<span style="color: red;">
This is an R Markdown presentation.
I would like this text in red.
</span>
- 将LaTeX转换为PDF格式
---
title: "Example"
author: ""
date: "09/07/2020"
output:
powerpoint_presentation
---
## R Markdown
\textcolor{red}{
This is an R Markdown presentation.
I would like this text in red.}