theme_beamer: Theme for Beamer Presentations

View source: R/themes.R

theme_beamerR Documentation

Theme for Beamer Presentations

Description

Creates a minimal theme optimized for Beamer presentations with scaled text sizes and minimal space between panels

Usage

theme_beamer(scale = 1)

Arguments

scale

Numeric scaling factor for text sizes, default is 1

Details

The theme is based on theme_minimal with:

  • Base text size of 18 (scaled)

  • Axis and strip text size of 16 (scaled)

  • Legend at bottom

  • Minimal panel spacing

  • Light gray panel borders

Value

A ggplot2 theme object

Examples

## Not run: 
library(ggplot2)

# Basic usage
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  theme_beamer()
  
# With larger text
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  theme_beamer(scale =1.2)

## End(Not run)


laurieKell/FLCandy documentation built on April 17, 2025, 5:23 p.m.