问题描述
使用.pull-left[]
和.pull-right[]
编写xaringan幻灯片时,左侧将使用增量幻灯片--
更改对象的位置。如果您想讨论添加文本时左侧内容的移动情况,这看起来很糟糕(请参阅所附图片)。有没有一种在线或CSS方式阻止这种情况的发生,因此,例如,在这种情况下,当在右侧添加文本时,shiny.png仍停留在左列的中心:
class: middle
.pull-left[
\```{r Shiny,echo=FALSE,out.width="100%",fig.align='center'}
knitr::include_graphics("img/Shinyexample.png")
\```
]
--
.pull-right[
### Shiny
- Shiny is an R package that makes it easy to build interactive web apps straight from R.
- You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards.
- You can also extend your Shiny apps with CSS themes,htmlwidgets,and JavaScript actions.
]
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)