theme_tntp {tntpr} | R Documentation |
TNTP's ggplot2 theme
Description
This theme is superseded by [tntp_style()]. Ggplot2 theme customized for TNTP aesthetics
Usage
theme_tntp(
show_legend_title = TRUE,
base_size = 12,
base_family = "Segoe UI",
grid_color = "grey93",
title_align = "center",
title_color = "black",
title_size = 12,
subtitle_align = "center",
subtitle_color = "black",
subtitle_size = 12,
caption_align = "right",
caption_color = "black",
caption_size = 12
)
Arguments
show_legend_title |
logical. Should the legend title be shown? Leave as |
base_size |
base font size |
base_family |
base font family |
grid_color |
color for major gridlines |
title_align |
alignment of main title, defaults to "center"; also accepts "left" or "right" |
title_color |
color of title text |
title_size |
size of title text |
subtitle_align |
alignment of sub-title, defaults to "center"; also accepts "left" or "right" |
subtitle_color |
color of subtitle text |
subtitle_size |
size of subtitle text |
caption_align |
alignment of caption, defaults to "right"; also accepts "left" or "center" |
caption_color |
color of caption text |
caption_size |
size of caption text |
Value
a ggplot theme object.
[Package tntpr version 1.0.3 Index]