TRUE to include a table of contents in the output (only
level 1 headers will be included in the table of contents).
slide_level
The heading level which defines individual slides. By
default this is the highest header level in the hierarchy that is followed
immediately by content, and not another header, somewhere in the document.
This default can be overridden by specifying an explicit
slide_level.
incremental
TRUE to render slide bullets incrementally. Note
that if you want to reverse the default incremental behavior for an
individual bullet you can precede it with >. For example:
> - Bullet Text
fig_width
Default width (in inches) for figures
fig_height
Default width (in inches) for figures
fig_crop
TRUE to automatically apply the pdfcrop utility
(if available) to pdf figures
fig_caption
TRUE to render figures with captions
dev
Graphics device to use for figure output (defaults to pdf)
theme
Beamer theme (e.g. "AnnArbor").
colortheme
Beamer color theme (e.g. "dolphin").
fonttheme
Beamer font theme (e.g. "structurebold").
highlight
Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso",
"zenburn", and "haddock". Pass NULL to prevent syntax highlighting.
template
Pandoc template to use for rendering. Pass "default" to use
the rmarkdown package default template; pass NULL to use pandoc's
built-in template; pass a path to use a custom template that you've
created. See the documentation on
pandoc online documentation
for details on creating custom templates.
keep_tex
Keep the intermediate tex file used in the conversion to PDF
latex_engine
LaTeX engine for producing PDF output. Options are
"pdflatex", "lualatex", and "xelatex".
citation_package
The LaTeX package to process citations, natbib
or biblatex. Use none if neither package is to be used.
includes
Named list of additional content to include within the
document (typically created using the includes function).
md_extensions
Markdown extensions to be added or removed from the
default definition or R Markdown. See the rmarkdown_format for
additional details.
pandoc_args
Additional command line options to pass to pandoc
Details
See the online
documentation for additional details on using the beamer_presentation format.
Creating Beamer output from R Markdown requires that LaTeX be installed.
R Markdown documents can have optional metadata that is used to generate a
document header that includes the title, author, and date. For more details
see the documentation on R Markdown metadata.
R Markdown documents also support citations. You can find more information on
the markdown syntax for citations in the
Bibliographies
and Citations article in the online documentation.
Value
R Markdown output format to pass to render
Examples
## Not run:
library(rmarkdown)
# simple invocation
render("pres.Rmd", beamer_presentation())
# specify an option for incremental rendering
render("pres.Rmd", beamer_presentation(incremental = TRUE))
## End(Not run)