theme_jk: My ggplot2 theme heavy credits for influencing the theme...

Description Usage Arguments Details

View source: R/themesjk.R

Description

It requires installing Oswald fonts unless you change the font parameters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
theme_jk(
  base_family = "DIN Next W1G Medium",
  base_size = 11,
  strip_text_family = base_family,
  strip_text_size = 12,
  plot_title_family = "DIN Next W1G Medium",
  plot_title_size = 18,
  plot_title_margin = 10,
  subtitle_family = "Quadraat OT",
  subtitle_size = 12,
  subtitle_margin = 15,
  caption_family = "Quadraat OT",
  caption_size = 9,
  caption_margin = 10,
  axis_title_family = "DIN Next W1G Medium",
  axis_title_size = 11,
  axis_title_just = "mm",
  dark = FALSE,
  grid = TRUE,
  axis = FALSE,
  ticks = FALSE,
  markdown = FALSE
)

Arguments

base_family

base font family

base_size

base font size

strip_text_family

facet label font family

strip_text_size

facet label text size

plot_title_family

plot tilte family

plot_title_size

plot title font size

plot_title_margin

plot title margin

subtitle_family

plot subtitle family

subtitle_size

plot subtitle size

subtitle_margin

plot subtitle margin

caption_family

plot caption family

caption_size

plot caption size

caption_margin

plot caption margin

axis_title_family

axis title font family

axis_title_size

axis title font size

axis_title_just

axis title font justification blmcrt

dark

dark mode TRUE, FALSE

grid

panel grid (TRUE, FALSE, or a combination of X, x, Y, y)

axis

axis TRUE, FALSE, [xy]

ticks

ticks TRUE, FALSE

markdown

enabled ggtext markdown styling TRUE, FALSE

Details

https://www.google.com/fonts


barthelmes/jenshelper documentation built on June 15, 2020, 4:09 p.m.