如何在R Markdown Powerpoint中更改字体颜色

时间:2020-07-10 17:20:20

标签: r markdown powerpoint

我正在使用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>


和LaTex for 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.}

0 个答案:

没有答案