This function sets the font family for all customizable parts of a gt
table
including title, table body, labels, label spanners, and more. This is a convenience
function if you want to quickly apply a font to your table.
Usage
gt_set_font(gt_table, font_family, from_google_font = TRUE)
Arguments
- gt_table
A gt table object.
- font_family
The font family to apply to the entire table.
- from_goog_font
Should the font be pulled from Google Fonts (TRUE;
default) or from your local machine (FALSE)
Value
A gt
table with the specified font family applied to all customizable parts.