A function to print the text spec.
The print function will print the text spec in summary
form. To view all parameters, set the verbose parameter to TRUE.
# S3 method for class 'text_spec'
print(x, ..., verbose = FALSE)The text spec, invisibly.
create_text function to create a text specification.
Other text:
create_text()
txt <- create_text("Lorem ipsum dolor sit amet, consectetur...",
align = "left", width = 3)
txt
# A text specification: 6 words
# - text: Lorem ipsum dolor sit amet, consectetur...
# - width: 3
# - align: left