ioslides_presentation(logo = NULL, incremental = FALSE, fig_width = 7.5,
fig_height = 4.5, fig_retina = if (!fig_caption) 2, fig_caption = FALSE,
dev = "png", smart = TRUE, self_contained = TRUE, widescreen = FALSE,
smaller = FALSE, transition = "default", mathjax = "default", css = NULL,
includes = NULL, keep_md = FALSE, lib_dir = NULL, md_extensions = NULL,
pandoc_args = NULL, ...)
TRUE
to render slide bullets
incrementally. Note that if you want to reverse the
default incremental behavior for an individual bullet you
can preceded it with >
. For example: >
- Bullet Text
NULL
to prevent retina
scaling. Note that this will always beNULL
when
keep_md
is specifTRUE
to render figures with
captions.smaller
attribute to the slide header (see
Presentation Size below for details).NULL
to excluincludes
function). If a before_body
include is specified then it will replace the standard
_files
appended to it.rmarkdown_format
for additional details.render
----------
). For example here's a simple slide show:--- title: "Habits" author: John Doe date: March 22, 2005 output: ioslides_presentation ---
# In the morning
## Getting up
- Turn off alarm - Get out of bed
## Breakfast
- Eat eggs - Drink coffee
# In the evening
## Dinner
- Eat spaghetti - Drink wine
----------

## Going to sleep
- Get in bed - Count sheep
You can add a subtitle to a slide or section by including text after the pipe (|) character. For example:
## Getting up | What I like to do first thing
'f'
'w'
'o'
'h'
'p'
Esc
incremental
option:--- output: ioslides_presentation: incremental: true ---
If you want to render bullets incrementally for some slides but not others you can use this syntax:
> - Eat eggs > - Drink coffee
widescreen
option. You can specify that smaller text be used with
the smaller
option. For example:--- output: ioslides_presentation: widescreen: true smaller: true ---
You can also enable the smaller
option on a slide-by-slide basis
by adding the .smaller
attibute to the slide header:
## Getting up {.smaller}
logo
option (the
logo should be square and at least 128x128). For example:--- output: ioslides_presentation: logo: logo.png ---
A 128x128 version of the logo graphic will be added to the title slide and an icon version of the logo will be included in the bottom-left footer of each slide.
.build
attribute that indicate that their
content should be displayed incrementally. For example:## Getting up {.build}
Slide attributes can be combined if you need to specify more than one, for example:
## Getting up {.smaller .build}
### x <- 10 y <- x * 2 ###
The highlighted region will be displayed with a bold font. When you want to
help the audience focus exclusively on the highlighted region press the
'h'
key and the rest of the code will fade away.
.flexbox
and .vcenter
attributes to the slide title. For example:## Dinner {.flexbox .vcenter}
You can horizontally center content by enclosing it in a div
tag
with class centered
. For example:
You can do a two-column layout using the columns-2
class.
For example:
- Bullet 1 - Bullet 2 - Bullet 3
Note that content will flow accross the columns so if you want to have an image on one side and text on the other you should make sure that the image has sufficient height to force the text to the other side of the slide.
?presentme=true
to the URL of the presentation,
for example:mypresentation.html?presentme=true
The presenter mode window will open and will always re-open with the presentation until it's disabled with:
mypresentation.html?presentme=false
To add presenter notes to a slide you include it within a "notes"
div
. For example:
- It can contain markdown - like this list
To create a PDF version of a presentation you can use Print to PDF from Google Chrome.
ioslides_presentation
format.