gpt4 book ai didi

Rmarkdown ioslides allowframebreaks 替代

转载 作者:行者123 更新时间:2023-12-03 23:58:08 26 4
gpt4 key购买 nike

在 Rmarkdown ioslides 中是否有 Beamer 的 allowframebreaks 等价物?这是自动生成的 BibTex 书目的关键,它会从分配的一张幻灯片中溢出。

以下 MWE 说明了我试图解决的问题。文本在页面之外运行,我正在寻找一种方法来自动将其分解为许多幻灯片以适应内容。

---
title: "Allowframebreaks in ioslides?"
output: ioslides_presentation
---

##

Duis diam ultricies mauris aptent enim velit consequat dolor Vivamus Praesent Nam. Duis Ut convallis leo sodales lacus blandit aliquam penatibus sed netus Ut. Dis id sed fringilla Praesent Suspendisse velit erat imperdiet vehicula ultricies eget adipiscing tellus. Montes maximus semper pulvinar Vivamus mollis non accumsan lacinia scelerisque efficitur ut dictum.

Vivamus euismod ultrices amet dis Aliquam Suspendisse sit faucibus nec nisi aptent orci aliquam. Porta arcu luctus tempor tempor facilisis Phasellus iaculis orci tincidunt faucibus tristique ad Morbi orci. Rhoncus Quisque ipsum Vivamus conubia purus adipiscing bibendum parturient parturient interdum egestas a. Blandit consequat volutpat hendrerit himenaeos Quisque Ut et non neque sagittis tincidunt augue In nascetur.

Nibh euismod consectetur augue feugiat adipiscing turpis sodales purus consequat iaculis diam sollicitudin. Luctus eget mollis pharetra dolor Cum eleifend vitae ligula suscipit Morbi efficitur Duis. Eget Nam eget dis dapibus himenaeos Pellentesque sed fermentum varius Lorem Donec. Malesuada nostra litora ante augue ligula mollis elementum Pellentesque at sociosqu lobortis sociis.

Taciti imperdiet est habitant mus in et nulla tincidunt venenatis Class Sed. Egestas ad Maecenas turpis interdum nulla enim felis Integer tortor nascetur ullamcorper cursus Curabitur. Nascetur auctor Vestibulum tincidunt augue efficitur justo posuere dictum nunc auctor pellentesque ex facilisis. Convallis montes Lorem aptent elementum consectetur enim non ante nascetur sit nulla. Posuere consequat rutrum Aenean libero Aliquam laoreet consectetur Cras ipsum Donec eget Morbi. Consectetur vehicula sociosqu massa Lorem mollis Duis fames hendrerit Praesent dignissim Proin enim.

Odio at Nam placerat parturient euismod Morbi facilisis enim Phasellus Maecenas aliquam ultrices condimentum. Sem metus massa lacinia rutrum pulvinar vel a eu purus scelerisque suscipit. Feugiat mi natoque imperdiet lectus egestas mi Etiam ullamcorper Vestibulum sit euismod. Vestibulum mus Praesent eleifend faucibus torquent vitae Etiam fermentum Nullam Cras et interdum amet. Fringilla tortor aptent Cum senectus Quisque auctor nunc nascetur arcu nec Lorem.

最佳答案

事实证明,这个问题有点重复。一个答案在这里:

References page truncated in RMarkdown ioslides presentation

引用答案:

This isn't exactly what you're asking for, but it might be the best you can do. Insert the following inline CSS at the end of your document (i.e. just before where the references will be inserted), and instead of truncating them, it will add a scroll bar (the first part) and suppress the page number (the second part).


<style>
slides > slide { overflow: scroll; }
slides > slide:not(.nobackground):after {
content: '';
}
</style>

You won't be able to see all references at once, but at least you can scroll through them. (You can add this after the header on any long slide for the same effect.)



原答案由 user2554330 发布

关于Rmarkdown ioslides allowframebreaks 替代,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33287556/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com