R slidy_presentation 中的两列幻灯片 [英] Two-column slide in R slidy_presentation

查看:52
本文介绍了R slidy_presentation 中的两列幻灯片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我习惯于在 R ioslides_presentation 文档中制作两列幻灯片,但我找不到任何可以使用 R slidy_presentations 将幻灯片分成两列的方法,这是我在使用 ioslides 后第一次尝试的、投影仪和 Rpres.一定有办法吗?

解决方案

这比我想象的要容易 - 从 滑动自定义页面,而不是创建列布局文件,只需添加

幻灯片左侧的代码或图像

<div class='right' style='float:right;width:48%'>正确的代码或图像

到我的 slidy_presentation markdown 文件中的幻灯片效果很好.

I'm used to making two column slides in R ioslides_presentation documents, but I can't find any method that works to split a slide into two columns using R slidy_presentations which I'm trying for the first time after having used ioslides, beamer, and Rpres. There must be a way?

解决方案

It was easier than I realized - taking the column information from the slidify customization page, rather than creating a column layout file, simply adding

<div class='left' style='float:left;width:48%'>
code or image for left of slide
</div>
<div class='right' style='float:right;width:48%'>
code or image for right
</div>

to the slide in my slidy_presentation markdown file worked perfectly.

这篇关于R slidy_presentation 中的两列幻灯片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆