theme_beamer: A ggplot2 theme for Beamer presentations

Description Usage Arguments Examples

View source: R/themes.R

Description

Similar to vmisc::theme_vmisc(), but colors match Beamer's Madrid theme with the default color scheme, and sizes are adjusted.

Usage

1
theme_beamer(base_size = 8, base_family = "Helvetica", ...)

Arguments

base_size

Text size (defaults to 8).

base_family

Text font family (defaults to Helvetica).

...

Passed to theme_vmisc().

Examples

1
2
3
4
5
library(ggplot2)
library(vmisc)
p <- ggplot(mtcars, aes(x = mpg, y = wt)) +
     geom_point()
p + theme_beamer()

mvuorre/vmisc documentation built on May 23, 2019, 10:56 a.m.