ludzik
ludzik

Reputation: 11

Two side layout by row

RMarkdown: powerpoint presentation.
I want to create two side layout: a plot and a text comment. I know how to put a layout with text commentary on the right of the plot:

---
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....
:::
::::::::::::::

but how put the comment below the plot?

Upvotes: 1

Views: 212

Answers (1)

Scipione Sarlo
Scipione Sarlo

Reputation: 1508

Try the following code:

---
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

:::

Upvotes: 0

Related Questions