The look of a printed statistical abstract. A slab body, narrow condensed labels, tight rows, and row banding to walk the eye across a wide table.
Usage
gt_theme_almanac(
gt_object,
accent = "#8C2F1E",
density = c("compact", "comfortable", "social"),
stripe = "#F1F1EF",
...
)Arguments
- gt_object
A
gttable object to modify.- accent
Character. A hex color for the row-group labels and the rule above the table. Defaults to
"#8C2F1E".- density
Character. The type and padding scale. One of
"comfortable","compact", or"social". See Density. Defaults to"compact".- stripe
Character. A hex color for the banded rows. Pass
NAto switch banding off and keep the rest of the theme. Defaults to"#F1F1EF".- ...
Additional arguments passed to
gt::tab_options, applied last so they override anything the theme sets.
Density
density sets the type and padding scale together. "comfortable" uses a
14px body with roomy rows, "compact" a 12px body with tight rows, and
"social" a 17px body with generous rows and a larger title, at the scale
gt_save_crop() and gt_social_crop() export at.

