在使用 RMarkdown 的 ioslides 准备演示文稿时,我遇到了一个我无法找到解决方案的问题。这个答案也没有解决这个具体问题。
有时,两列布局最好用一侧的图像和另一侧的文本来解释某些内容。但是,如下例所示,分栏符似乎没有按预期工作。
有没有办法在特定点强制分栏?我曾考虑增加右侧的图像高度,但不幸的是,有时这不是一个选择。
---
title: "Some stange column break"
output:
ioslides_presentation:
widescreen: true
---
## Slide Title {.columns-2 .smaller}
### Slide Subtitle
>- Some bullet points which take up some space space space space space space space
>- on the column on the left
>- which are then wrapped to the right column.
>- *Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.*
>- line break after this longer bullet point but intead it breaks in some strange place even though it would have space at the bottom of the left column!
<!-- the columns should break here -->
```{r, echo = FALSE, out.width = "470px"}
plot(mtcars)
```