【发布时间】:2020-07-10 17:20:20
【问题描述】:
我正在使用R Markdown 创建一个 PowerPoint 演示文稿,并想更改其中一张幻灯片的字体颜色。我想知道这是否可能?它仅适用于一张幻灯片,因此不能在 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>
- 用于 pdf 的 LaTex
---
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.}
【问题讨论】:
标签: r markdown powerpoint