Skip to contents

This function can only be used inside s_paragraph.

Usage

s_indents(left = NULL, right = NULL, first_line = NULL)

Arguments

left

Left indent, e.g. "10mm"

right

Right indent, e.g. "10mm"

first_line

First line indent (negative for hanging), e.g. "-5mm"

Value

An indents specification object

Examples

if (FALSE) { # \dontrun{
spec <- create_text() |>
  add_style("my_style",
    s_paragraph(
      indents = s_indents(left = "10mm", first_line = "-5mm")
    )
  )
} # }