Print all built-in style atoms to the console
Source:R/addin_tfl_spec_preview.R
tfl_print_style_atoms.RdIterates over every atom in the internal .const_options_styles registry
and prints a coloured, grouped summary using cli.
tfl_style_atoms_catalog() is a convenience alias for tfl_print_style_atoms().
Examples
# Print the full catalog of built-in style atoms (console output, no return)
tfl_print_style_atoms()
#> ── Font — decoration ───────────────────────────────────────────────────────────
#> b font.bold = TRUE
#> i font.italic = TRUE
#> u font.underline = TRUE
#> font_bold (alias) font.bold = TRUE
#> font_italic (alias) font.italic = TRUE
#> font_underline (alias) font.underline = TRUE
#> ── Font — family ───────────────────────────────────────────────────────────────
#> font_arial font.font_name = "Arial"
#> font_courier_new font.font_name = "Courier New"
#> font_times_new_roman font.font_name = "Times New Roman"
#> font_georgia font.font_name = "Georgia"
#> font_verdana font.font_name = "Verdana"
#> font_trebuchet_ms font.font_name = "Trebuchet MS"
#> ── Font — size ─────────────────────────────────────────────────────────────────
#> fs_7 font.font_size = "7pt"
#> fs_8 font.font_size = "8pt"
#> fs_9 font.font_size = "9pt"
#> fs_10 font.font_size = "10pt"
#> fs_11 font.font_size = "11pt"
#> fs_12 font.font_size = "12pt"
#> ── Font — colour ───────────────────────────────────────────────────────────────
#> fc_black font.color = "#000000" ██
#> fc_red font.color = "#FF0000" ██
#> fc_blue font.color = "#0000FF" ██
#> fc_green font.color = "#008000" ██
#> fc_gray font.color = "#595959" ██
#> fc_grey (alias) font.color = "#595959" ██
#> fc_navy font.color = "#1F3864" ██
#> fc_teal font.color = "#2E75B6" ██
#> fc_olive font.color = "#5C7A29" ██
#> fc_rust font.color = "#C0392B" ██
#> fc_plum font.color = "#7B2D8B" ██
#> fc_slate font.color = "#44546A" ██
#> ── Text highlight ──────────────────────────────────────────────────────────────
#> hl_yellow font.highlight = "#FFFF00" ██
#> hl_red font.highlight = "#FF0000" ██
#> hl_green font.highlight = "#90EE90" ██
#> hl_gray font.highlight = "#EEEEEE" ██
#> hl_grey (alias) font.highlight = "#EEEEEE" ██
#> hl_peach font.highlight = "#FADADD" ██
#> hl_mint font.highlight = "#D5F5E3" ██
#> hl_sky font.highlight = "#D6EAF8" ██
#> hl_lemon font.highlight = "#FEFBD8" ██
#> hl_lilac font.highlight = "#E8DAEF" ██
#> ── Paragraph — alignment ───────────────────────────────────────────────────────
#> al paragraph.alignment = "left"
#> ar paragraph.alignment = "right"
#> ac paragraph.alignment = "center"
#> text_left (alias) paragraph.alignment = "left"
#> text_right (alias) paragraph.alignment = "right"
#> text_center (alias) paragraph.alignment = "center"
#> ── Paragraph — left indentation ────────────────────────────────────────────────
#> ind0 paragraph.indents.left = "0cm"
#> ind1 paragraph.indents.left = "0.5cm"
#> ind2 paragraph.indents.left = "1.0cm"
#> ind3 paragraph.indents.left = "1.5cm"
#> ind4 paragraph.indents.left = "2.0cm"
#> indent_0 (alias) paragraph.indents.left = "0cm"
#> indent_1 (alias) paragraph.indents.left = "0.5cm"
#> indent_2 (alias) paragraph.indents.left = "1.0cm"
#> indent_3 (alias) paragraph.indents.left = "1.5cm"
#> indent_4 (alias) paragraph.indents.left = "2.0cm"
#> ── Paragraph — right indentation ───────────────────────────────────────────────
#> rind0 paragraph.indents.right = "0cm"
#> rind1 paragraph.indents.right = "0.5cm"
#> rind2 paragraph.indents.right = "1.0cm"
#> rind3 paragraph.indents.right = "1.5cm"
#> rind4 paragraph.indents.right = "2.0cm"
#> rindent_0 (alias) paragraph.indents.right = "0cm"
#> rindent_1 (alias) paragraph.indents.right = "0.5cm"
#> rindent_2 (alias) paragraph.indents.right = "1.0cm"
#> rindent_3 (alias) paragraph.indents.right = "1.5cm"
#> rindent_4 (alias) paragraph.indents.right = "2.0cm"
#> ── Paragraph — table-width shrink ──────────────────────────────────────────────
#> tw_95 paragraph.indents.left = "0.68cm", paragraph.indents.right = "0.68cm"
#> tw_90 paragraph.indents.left = "1.36cm", paragraph.indents.right = "1.36cm"
#> tw_85 paragraph.indents.left = "2.04cm", paragraph.indents.right = "2.04cm"
#> tw_80 paragraph.indents.left = "2.72cm", paragraph.indents.right = "2.72cm"
#> tw_75 paragraph.indents.left = "3.40cm", paragraph.indents.right = "3.40cm"
#> tw_70 paragraph.indents.left = "4.07cm", paragraph.indents.right = "4.07cm"
#> tw_65 paragraph.indents.left = "4.75cm", paragraph.indents.right = "4.75cm"
#> tw_60 paragraph.indents.left = "5.43cm", paragraph.indents.right = "5.43cm"
#> tw_55 paragraph.indents.left = "6.11cm", paragraph.indents.right = "6.11cm"
#> tw_50 paragraph.indents.left = "6.79cm", paragraph.indents.right = "6.79cm"
#> ── Paragraph — spacing ─────────────────────────────────────────────────────────
#> sp_0 paragraph.spacing.before = "0pt", paragraph.spacing.after = "0pt",
#> paragraph.spacing.line_spacing = "1"
#> sp_2 paragraph.spacing.before = "2pt", paragraph.spacing.after = "2pt",
#> paragraph.spacing.line_spacing = "1"
#> sp_4 paragraph.spacing.before = "4pt", paragraph.spacing.after = "4pt",
#> paragraph.spacing.line_spacing = "1"
#> ── Paragraph — pagination ──────────────────────────────────────────────────────
#> kl paragraph.keep_lines = TRUE
#> kn paragraph.keep_next = TRUE
#> ── Group header composites ─────────────────────────────────────────────────────
#> grp_hdr font.bold = TRUE, paragraph.indents.left = "0cm",
#> paragraph.spacing.before = "4pt", paragraph.spacing.after = "0pt"
#> grp_hdr_i font.bold = TRUE, font.italic = TRUE, paragraph.indents.left = "0cm",
#> paragraph.spacing.before = "4pt", paragraph.spacing.after = "0pt"
#> ── Cell — vertical alignment ───────────────────────────────────────────────────
#> va_t table_style.vertical_alignment = "top"
#> va_m table_style.vertical_alignment = "center"
#> va_b table_style.vertical_alignment = "bottom"
#> va_top (alias) table_style.vertical_alignment = "top"
#> va_center (alias) table_style.vertical_alignment = "center"
#> va_bottom (alias) table_style.vertical_alignment = "bottom"
#> ── Cell — text orientation ─────────────────────────────────────────────────────
#> to_h table_style.text_orientation = "horizontal"
#> to_90 table_style.text_orientation = "vertical_90"
#> to_270 table_style.text_orientation = "vertical_270"
#> text_horizontal (alias) table_style.text_orientation = "horizontal"
#> text_vertical_90 (alias) table_style.text_orientation = "vertical_90"
#> text_vertical_270 (alias) table_style.text_orientation = "vertical_270"
#> ── Cell — background ───────────────────────────────────────────────────────────
#> bg_blue table_style.background_color = "#D9E1F2" ██
#> bg_gray table_style.background_color = "#F2F2F2" ██
#> bg_grey (alias) table_style.background_color = "#F2F2F2" ██
#> bg_peach table_style.background_color = "#FADADD" ██
#> bg_mint table_style.background_color = "#D5F5E3" ██
#> bg_sky table_style.background_color = "#D6EAF8" ██
#> bg_lemon table_style.background_color = "#FEFBD8" ██
#> bg_lilac table_style.background_color = "#E8DAEF" ██
#> bg_navy table_style.background_color = "#1F3864" ██
#> bg_slate table_style.background_color = "#44546A" ██
#> bg_steel table_style.background_color = "#BDD7EE" ██
#> ── Row height ──────────────────────────────────────────────────────────────────
#> row_h2 table_style.row_height = "2pt"
#> row_h4 table_style.row_height = "4pt"
#> row_h6 table_style.row_height = "6pt"
#> ── Border — sides (1 pt) ───────────────────────────────────────────────────────
#> bt table_style.borders.top.width = "1pt", table_style.borders.top.line_style =
#> "single", table_style.borders.top.color = "#000000"
#> bb table_style.borders.bottom.width = "1pt",
#> table_style.borders.bottom.line_style = "single",
#> table_style.borders.bottom.color = "#000000"
#> bl table_style.borders.left.width = "1pt", table_style.borders.left.line_style
#> = "single", table_style.borders.left.color = "#000000"
#> br table_style.borders.right.width = "1pt",
#> table_style.borders.right.line_style = "single",
#> table_style.borders.right.color = "#000000"
#> ── Border — thin (0.5 pt) ──────────────────────────────────────────────────────
#> bt_th table_style.borders.top.width = "0.5pt",
#> table_style.borders.top.line_style = "single", table_style.borders.top.color =
#> "#000000"
#> bb_th table_style.borders.bottom.width = "0.5pt",
#> table_style.borders.bottom.line_style = "single",
#> table_style.borders.bottom.color = "#000000"
#> ── Border — colour override ────────────────────────────────────────────────────
#> bc_gray table_style.borders.top.color = "#AAAAAA",
#> table_style.borders.bottom.color = "#AAAAAA", table_style.borders.left.color =
#> "#AAAAAA", table_style.borders.right.color = "#AAAAAA"
#> bc_grey (alias) table_style.borders.top.color = "#AAAAAA",
#> table_style.borders.bottom.color = "#AAAAAA", table_style.borders.left.color =
#> "#AAAAAA", table_style.borders.right.color = "#AAAAAA"
#> bc_white table_style.borders.top.width = "0pt",
#> table_style.borders.top.line_style = "none", table_style.borders.top.color =
#> "#FFFFFF", table_style.borders.bottom.width = "0pt",
#> table_style.borders.bottom.line_style = "none",
#> table_style.borders.bottom.color = "#FFFFFF", table_style.borders.left.width =
#> "0pt", table_style.borders.left.line_style = "none",
#> table_style.borders.left.color = "#FFFFFF", table_style.borders.right.width =
#> "0pt", table_style.borders.right.line_style = "none",
#> table_style.borders.right.color = "#FFFFFF"
#> ── Other ───────────────────────────────────────────────────────────────────────
#> brw_thick table_style.borders.right.width = "4pt",
#> table_style.borders.right.line_style = "single",
#> table_style.borders.right.color = "#FFFFFF"
#> blw_thick table_style.borders.left.width = "4pt",
#> table_style.borders.left.line_style = "single", table_style.borders.left.color
#> = "#FFFFFF"
#> pb paragraph.borders.bottom.width = "1pt", paragraph.borders.bottom.line_style
#> = "single", paragraph.borders.bottom.color = "#000000"
#> pb_th paragraph.borders.bottom.width = "0.5pt",
#> paragraph.borders.bottom.line_style = "single", paragraph.borders.bottom.color
#> = "#000000"
#>
#> ℹ 122 style atoms in 20 categories (26 aliases)
# Same output via the alias
tfl_style_atoms_catalog()
#> ── Font — decoration ───────────────────────────────────────────────────────────
#> b font.bold = TRUE
#> i font.italic = TRUE
#> u font.underline = TRUE
#> font_bold (alias) font.bold = TRUE
#> font_italic (alias) font.italic = TRUE
#> font_underline (alias) font.underline = TRUE
#> ── Font — family ───────────────────────────────────────────────────────────────
#> font_arial font.font_name = "Arial"
#> font_courier_new font.font_name = "Courier New"
#> font_times_new_roman font.font_name = "Times New Roman"
#> font_georgia font.font_name = "Georgia"
#> font_verdana font.font_name = "Verdana"
#> font_trebuchet_ms font.font_name = "Trebuchet MS"
#> ── Font — size ─────────────────────────────────────────────────────────────────
#> fs_7 font.font_size = "7pt"
#> fs_8 font.font_size = "8pt"
#> fs_9 font.font_size = "9pt"
#> fs_10 font.font_size = "10pt"
#> fs_11 font.font_size = "11pt"
#> fs_12 font.font_size = "12pt"
#> ── Font — colour ───────────────────────────────────────────────────────────────
#> fc_black font.color = "#000000" ██
#> fc_red font.color = "#FF0000" ██
#> fc_blue font.color = "#0000FF" ██
#> fc_green font.color = "#008000" ██
#> fc_gray font.color = "#595959" ██
#> fc_grey (alias) font.color = "#595959" ██
#> fc_navy font.color = "#1F3864" ██
#> fc_teal font.color = "#2E75B6" ██
#> fc_olive font.color = "#5C7A29" ██
#> fc_rust font.color = "#C0392B" ██
#> fc_plum font.color = "#7B2D8B" ██
#> fc_slate font.color = "#44546A" ██
#> ── Text highlight ──────────────────────────────────────────────────────────────
#> hl_yellow font.highlight = "#FFFF00" ██
#> hl_red font.highlight = "#FF0000" ██
#> hl_green font.highlight = "#90EE90" ██
#> hl_gray font.highlight = "#EEEEEE" ██
#> hl_grey (alias) font.highlight = "#EEEEEE" ██
#> hl_peach font.highlight = "#FADADD" ██
#> hl_mint font.highlight = "#D5F5E3" ██
#> hl_sky font.highlight = "#D6EAF8" ██
#> hl_lemon font.highlight = "#FEFBD8" ██
#> hl_lilac font.highlight = "#E8DAEF" ██
#> ── Paragraph — alignment ───────────────────────────────────────────────────────
#> al paragraph.alignment = "left"
#> ar paragraph.alignment = "right"
#> ac paragraph.alignment = "center"
#> text_left (alias) paragraph.alignment = "left"
#> text_right (alias) paragraph.alignment = "right"
#> text_center (alias) paragraph.alignment = "center"
#> ── Paragraph — left indentation ────────────────────────────────────────────────
#> ind0 paragraph.indents.left = "0cm"
#> ind1 paragraph.indents.left = "0.5cm"
#> ind2 paragraph.indents.left = "1.0cm"
#> ind3 paragraph.indents.left = "1.5cm"
#> ind4 paragraph.indents.left = "2.0cm"
#> indent_0 (alias) paragraph.indents.left = "0cm"
#> indent_1 (alias) paragraph.indents.left = "0.5cm"
#> indent_2 (alias) paragraph.indents.left = "1.0cm"
#> indent_3 (alias) paragraph.indents.left = "1.5cm"
#> indent_4 (alias) paragraph.indents.left = "2.0cm"
#> ── Paragraph — right indentation ───────────────────────────────────────────────
#> rind0 paragraph.indents.right = "0cm"
#> rind1 paragraph.indents.right = "0.5cm"
#> rind2 paragraph.indents.right = "1.0cm"
#> rind3 paragraph.indents.right = "1.5cm"
#> rind4 paragraph.indents.right = "2.0cm"
#> rindent_0 (alias) paragraph.indents.right = "0cm"
#> rindent_1 (alias) paragraph.indents.right = "0.5cm"
#> rindent_2 (alias) paragraph.indents.right = "1.0cm"
#> rindent_3 (alias) paragraph.indents.right = "1.5cm"
#> rindent_4 (alias) paragraph.indents.right = "2.0cm"
#> ── Paragraph — table-width shrink ──────────────────────────────────────────────
#> tw_95 paragraph.indents.left = "0.68cm", paragraph.indents.right = "0.68cm"
#> tw_90 paragraph.indents.left = "1.36cm", paragraph.indents.right = "1.36cm"
#> tw_85 paragraph.indents.left = "2.04cm", paragraph.indents.right = "2.04cm"
#> tw_80 paragraph.indents.left = "2.72cm", paragraph.indents.right = "2.72cm"
#> tw_75 paragraph.indents.left = "3.40cm", paragraph.indents.right = "3.40cm"
#> tw_70 paragraph.indents.left = "4.07cm", paragraph.indents.right = "4.07cm"
#> tw_65 paragraph.indents.left = "4.75cm", paragraph.indents.right = "4.75cm"
#> tw_60 paragraph.indents.left = "5.43cm", paragraph.indents.right = "5.43cm"
#> tw_55 paragraph.indents.left = "6.11cm", paragraph.indents.right = "6.11cm"
#> tw_50 paragraph.indents.left = "6.79cm", paragraph.indents.right = "6.79cm"
#> ── Paragraph — spacing ─────────────────────────────────────────────────────────
#> sp_0 paragraph.spacing.before = "0pt", paragraph.spacing.after = "0pt",
#> paragraph.spacing.line_spacing = "1"
#> sp_2 paragraph.spacing.before = "2pt", paragraph.spacing.after = "2pt",
#> paragraph.spacing.line_spacing = "1"
#> sp_4 paragraph.spacing.before = "4pt", paragraph.spacing.after = "4pt",
#> paragraph.spacing.line_spacing = "1"
#> ── Paragraph — pagination ──────────────────────────────────────────────────────
#> kl paragraph.keep_lines = TRUE
#> kn paragraph.keep_next = TRUE
#> ── Group header composites ─────────────────────────────────────────────────────
#> grp_hdr font.bold = TRUE, paragraph.indents.left = "0cm",
#> paragraph.spacing.before = "4pt", paragraph.spacing.after = "0pt"
#> grp_hdr_i font.bold = TRUE, font.italic = TRUE, paragraph.indents.left = "0cm",
#> paragraph.spacing.before = "4pt", paragraph.spacing.after = "0pt"
#> ── Cell — vertical alignment ───────────────────────────────────────────────────
#> va_t table_style.vertical_alignment = "top"
#> va_m table_style.vertical_alignment = "center"
#> va_b table_style.vertical_alignment = "bottom"
#> va_top (alias) table_style.vertical_alignment = "top"
#> va_center (alias) table_style.vertical_alignment = "center"
#> va_bottom (alias) table_style.vertical_alignment = "bottom"
#> ── Cell — text orientation ─────────────────────────────────────────────────────
#> to_h table_style.text_orientation = "horizontal"
#> to_90 table_style.text_orientation = "vertical_90"
#> to_270 table_style.text_orientation = "vertical_270"
#> text_horizontal (alias) table_style.text_orientation = "horizontal"
#> text_vertical_90 (alias) table_style.text_orientation = "vertical_90"
#> text_vertical_270 (alias) table_style.text_orientation = "vertical_270"
#> ── Cell — background ───────────────────────────────────────────────────────────
#> bg_blue table_style.background_color = "#D9E1F2" ██
#> bg_gray table_style.background_color = "#F2F2F2" ██
#> bg_grey (alias) table_style.background_color = "#F2F2F2" ██
#> bg_peach table_style.background_color = "#FADADD" ██
#> bg_mint table_style.background_color = "#D5F5E3" ██
#> bg_sky table_style.background_color = "#D6EAF8" ██
#> bg_lemon table_style.background_color = "#FEFBD8" ██
#> bg_lilac table_style.background_color = "#E8DAEF" ██
#> bg_navy table_style.background_color = "#1F3864" ██
#> bg_slate table_style.background_color = "#44546A" ██
#> bg_steel table_style.background_color = "#BDD7EE" ██
#> ── Row height ──────────────────────────────────────────────────────────────────
#> row_h2 table_style.row_height = "2pt"
#> row_h4 table_style.row_height = "4pt"
#> row_h6 table_style.row_height = "6pt"
#> ── Border — sides (1 pt) ───────────────────────────────────────────────────────
#> bt table_style.borders.top.width = "1pt", table_style.borders.top.line_style =
#> "single", table_style.borders.top.color = "#000000"
#> bb table_style.borders.bottom.width = "1pt",
#> table_style.borders.bottom.line_style = "single",
#> table_style.borders.bottom.color = "#000000"
#> bl table_style.borders.left.width = "1pt", table_style.borders.left.line_style
#> = "single", table_style.borders.left.color = "#000000"
#> br table_style.borders.right.width = "1pt",
#> table_style.borders.right.line_style = "single",
#> table_style.borders.right.color = "#000000"
#> ── Border — thin (0.5 pt) ──────────────────────────────────────────────────────
#> bt_th table_style.borders.top.width = "0.5pt",
#> table_style.borders.top.line_style = "single", table_style.borders.top.color =
#> "#000000"
#> bb_th table_style.borders.bottom.width = "0.5pt",
#> table_style.borders.bottom.line_style = "single",
#> table_style.borders.bottom.color = "#000000"
#> ── Border — colour override ────────────────────────────────────────────────────
#> bc_gray table_style.borders.top.color = "#AAAAAA",
#> table_style.borders.bottom.color = "#AAAAAA", table_style.borders.left.color =
#> "#AAAAAA", table_style.borders.right.color = "#AAAAAA"
#> bc_grey (alias) table_style.borders.top.color = "#AAAAAA",
#> table_style.borders.bottom.color = "#AAAAAA", table_style.borders.left.color =
#> "#AAAAAA", table_style.borders.right.color = "#AAAAAA"
#> bc_white table_style.borders.top.width = "0pt",
#> table_style.borders.top.line_style = "none", table_style.borders.top.color =
#> "#FFFFFF", table_style.borders.bottom.width = "0pt",
#> table_style.borders.bottom.line_style = "none",
#> table_style.borders.bottom.color = "#FFFFFF", table_style.borders.left.width =
#> "0pt", table_style.borders.left.line_style = "none",
#> table_style.borders.left.color = "#FFFFFF", table_style.borders.right.width =
#> "0pt", table_style.borders.right.line_style = "none",
#> table_style.borders.right.color = "#FFFFFF"
#> ── Other ───────────────────────────────────────────────────────────────────────
#> brw_thick table_style.borders.right.width = "4pt",
#> table_style.borders.right.line_style = "single",
#> table_style.borders.right.color = "#FFFFFF"
#> blw_thick table_style.borders.left.width = "4pt",
#> table_style.borders.left.line_style = "single", table_style.borders.left.color
#> = "#FFFFFF"
#> pb paragraph.borders.bottom.width = "1pt", paragraph.borders.bottom.line_style
#> = "single", paragraph.borders.bottom.color = "#000000"
#> pb_th paragraph.borders.bottom.width = "0.5pt",
#> paragraph.borders.bottom.line_style = "single", paragraph.borders.bottom.color
#> = "#000000"
#>
#> ℹ 122 style atoms in 20 categories (26 aliases)