Let's say I want to create this numbered list:
In R Markdown, the documentation suggests that to continue such a list after an interruption, one should prepend each list item with (@)
as follows:
(@) Sed ut perspiciatis unde omnis iste natus error...
(@) Nemo enim ipsam voluptatem quia voluptas sit...
This is an interrupting block of text...
(@) Neque porro quisquam est, qui dolorem ipsum quia..
(@) Quis autem vel eum iure reprehenderit qui in ea voluptate...
and this will continue the numbering after the interruption.
However, I tried, without success, to use this approach in continuing a numbered list in an ioslides presentation generated from R Markdown i.e.
(@) Nemo enim ipsam voluptatem quia voluptas sit...
***
(@) Neque porro quisquam est, qui dolorem ipsum quia..
where ***
represents the slide break.
Is there a way I can achieve number continuation across the slide break?
We can insert Bullet and Numbering in PowerPoint slides, however, the Numbering can't be continuous in the next text box no matter in the same slide or next slide. If you need to let the numbering starts from 5 or 6 after last slide, you can click Bullet and Numbering->enter the number in Start at.
You can use the HTML <ol>
tag (ol
is for ordered list) which has an optional start
argument.
Here is minimal example:
---
title: "Untitled"
output: ioslides_presentation
---
## Slide
<ol>
<li> Sed ut perspiciatis unde omnis iste natus error...
<li> Nemo enim ipsam voluptatem quia voluptas sit...
</ol>
This is an interrupting block of text...
<ol start=3>
<li> Neque porro quisquam est, qui dolorem ipsum quia..
<li> Quis autem vel eum iure reprehenderit qui in ea voluptate...
</ol>
This also works across slides.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With