This function can only be used inside s_paragraph.
Examples
if (FALSE) { # \dontrun{
spec <- create_text() |>
add_style("my_style",
s_paragraph(
alignment = "center",
spacing = s_spacing(before = "12pt", after = "6pt")
)
)
} # }