theme_foundation: Theme foundation

View source: R/theme_foundation.R

theme_foundationR Documentation

Theme foundation

Description

This theme is designed to be a foundation from which to build new themes, and not meant to be used directly. theme_foundation() is a complete theme with only minimal number of elements defined. It is easier to create new themes by extending this one rather than theme_gray() or theme_bw(), because those themes define elements deep in the hierarchy.

Usage

theme_foundation(une_base_size = 12, base_family = "")

Arguments

base_family

base font family

Details

This theme takes theme_gray() and sets all colour and fill values to NULL, except for the top-level elements (line, rect, and title), which have colour = "black", and fill = "white". This leaves the spacing and-non colour defaults of the default ggplot2 themes in place.

Value

un thème qui peut être utilisé dans ggplot

See Also

Other themes: theme_ofce(), theme_ofce.2(), theme_ofce_void()


OFCE/ofce documentation built on June 2, 2025, 12:20 a.m.