use_banner {xaringanExtra} | R Documentation |
Add a banner to the top or bottom of your slides.
Description
Adds a banner to all the slides in your deck at the top or the bottom of the slide. You can place content in the left, center, or right portion of the banner.
Usage
use_banner(
...,
bottom_left = NULL,
bottom_center = NULL,
bottom_right = NULL,
top_left = NULL,
top_center = NULL,
top_right = NULL,
exclude = NULL
)
Arguments
... |
Banner styles created with |
bottom_left , top_left |
Text or HTML to place in the left column of the top or bottom of the slide. |
bottom_center , top_center |
Text or HTML to place in the center column at the top or the bottom of the slide. |
bottom_right , top_right |
Text or HTML to place in the right column of the top or bottom of the slide. |
exclude |
A vector of slide classes where the banner should not be
applied. By default all slides are included, but you might want to exclude
the title and inverse slides with |
Value
An htmltools::tagList()
with the banner dependencies, or an
htmltools::htmlDependency.
See Also
Examples
use_banner(bottom_left = "bit.ly/my-awesome-slides")
use_banner(
bottom_left = "bit.ly/my-awesome-slides",
top_center = "My Presentation",
exclude = c("title-slide", "inverse"),
style_banner(text_color = "grey")
)