When a table with a left-aligned stub is output to RTF, the stub becomes right-aligned.
exibble |>
gt(
rowname_col = "row",
groupname_col = "group",
row_group_as_column = TRUE
) |>
tab_style(
style = list(cell_text(align = "left")),
locations = list(cells_stub(), cells_row_groups())
) |>
gtsave("test.rtf")
Prework
Description
When a table with a left-aligned stub is output to RTF, the stub becomes right-aligned.
Reproducible example