问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/58243552/two-column-slide-in-r-slidy-presentation