Debian Codegraph @

man/powerpoint_presentation.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/powerpoint_presentation.R
3 \name{powerpoint_presentation}
4 \alias{powerpoint_presentation}
5 \title{Convert to a PowerPoint presentation}
6 \usage{
7 powerpoint_presentation(
8 toc = FALSE,
9 toc_depth = 2,
10 number_sections = FALSE,
11 incremental = FALSE,
12 fig_width = 5,
13 fig_height = 4,
14 fig_caption = TRUE,
15 df_print = "default",
16 keep_md = FALSE,
17 md_extensions = NULL,
18 slide_level = NULL,
19 reference_doc = "default",
20 pandoc_args = NULL
21 )
22 }
23 \arguments{
24 \item{toc}{\code{TRUE} to include a table of contents in the output}
25
26 \item{toc_depth}{Depth of headers to include in table of contents}
27
28 \item{number_sections}{\code{TRUE} to number section headings}
29
30 \item{incremental}{\code{TRUE} to render slide bullets incrementally. Note
31 that if you want to reverse the default incremental behavior for an
32 individual bullet you can precede it with \code{>}. For example:
33 \emph{\verb{> - Bullet Text}}. See more in
34 \href{https://pandoc.org/MANUAL.html#incremental-lists}{Pandoc's Manual}}
35
36 \item{fig_width}{Default width (in inches) for figures}
37
38 \item{fig_height}{Default height (in inches) for figures}
39
40 \item{fig_caption}{\code{TRUE} to render figures with captions}
41
42 \item{df_print}{Method to be used for printing data frames. Valid values
43 include "default", "kable", "tibble", and "paged". The "default" method
44 uses a corresponding S3 method of \code{print}, typically
45 \code{print.data.frame}. The "kable" method uses the
46 \code{\link[knitr:kable]{knitr::kable}} function. The "tibble" method uses
47 the \pkg{tibble} package to print a summary of the data frame. The "paged"
48 method creates a paginated HTML table (note that this method is only valid
49 for formats that produce HTML). In addition to the named methods you can
50 also pass an arbitrary function to be used for printing data frames. You
51 can disable the \code{df_print} behavior entirely by setting the option
52 \code{rmarkdown.df_print} to \code{FALSE}. See
53 \href{https://yihui.org/rmarkdown/html-document.html#data-frame-printing}{Data
54 frame printing section} in bookdown book for examples.}
55
56 \item{keep_md}{Keep the markdown file generated by knitting.}
57
58 \item{md_extensions}{Markdown extensions to be added or removed from the
59 default definition of R Markdown. See the \code{\link{rmarkdown_format}} for
60 additional details.}
61
62 \item{slide_level}{The heading level which defines individual slides. By
63 default this is the highest header level in the hierarchy that is followed
64 immediately by content, and not another header, somewhere in the document.
65 This default can be overridden by specifying an explicit
66 \code{slide_level}.}
67
68 \item{reference_doc}{Path to a PowerPoint template.}
69
70 \item{pandoc_args}{Additional command line options to pass to pandoc}
71 }
72 \value{
73 R Markdown output format to pass to \code{\link[=render]{render()}}
74 }
75 \description{
76 Format for converting from R Markdown to a PowerPoint presentation. Pandoc
77 v2.0.5 or above is required.
78 }