R 按行双面布局

R 按行双面布局,r,r-markdown,powerpoint,R,R Markdown,Powerpoint,r标记:powerpoint演示文稿。 我想创建双面布局:一个绘图和一个文本注释。我知道如何在情节右侧放置带有文字注释的布局: --- title: My Presentation output: powerpoint_presentation: slide_level: 3 --- ### My Slide Title. :::::::::::::: {.columns} ::: {.column} ```{r, eval=T, echo=F} plot(cars) \``

r标记:powerpoint演示文稿。
我想创建双面布局:一个绘图和一个文本注释。我知道如何在情节右侧放置带有文字注释的布局:

---
title: My Presentation
output: 
  powerpoint_presentation:
    slide_level: 3

---

### My Slide Title.

:::::::::::::: {.columns}
::: {.column}
```{r, eval=T, echo=F}
plot(cars)
\``` # delete those tick "\" to run
:::
::: {.column}
here is my comment bout the plot blabla....
:::
::::::::::::::

但是如何将注释放在绘图下方?

请尝试以下代码:

---
title: "Slides"
author: Scipione Sarlo
date: May 21, 2019
output: powerpoint_presentation
---

# First slide

## test

- first comment
- second comment

# Second slide


:::::::::::::: {.columns}
::: {.column}

```{r, eval = T, echo = F,fig.cap = "comment below the plot here it is",fig.height = 4}
plot(cars)
``` 
:::
::: {.column}

This is an example.

- first plot comment
- second plot comment

:::

请尝试以下代码:

---
title: "Slides"
author: Scipione Sarlo
date: May 21, 2019
output: powerpoint_presentation
---

# First slide

## test

- first comment
- second comment

# Second slide


:::::::::::::: {.columns}
::: {.column}

```{r, eval = T, echo = F,fig.cap = "comment below the plot here it is",fig.height = 4}
plot(cars)
``` 
:::
::: {.column}

This is an example.

- first plot comment
- second plot comment

:::

在区块选项中,尝试使用
fig.cap
(图标题),例如
fig.cap=“绘图下方的注释在此处”
在区块选项中,尝试使用
fig.cap
(图标题),例如
fig.cap=“绘图下方的注释在此处”