Rmarkdown ioslides allowframebreaks alternative

后端 未结 1 1949
悲哀的现实
悲哀的现实 2021-01-04 06:30

Is there an equivalent of Beamer\'s allowframebreaks in Rmarkdown ioslides? This is key for automatically-generated BibTex bibliographies, which spill off the one slide allo

相关标签:
1条回答
  • 2021-01-04 07:18

    As it turns out, this question is a bit of a duplicate. One answer is here:

    References page truncated in RMarkdown ioslides presentation

    To quote the answer:

    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.)

    Original answer posted by user2554330

    0 讨论(0)
提交回复
热议问题