stext
From officer v0.3.4
by David Gohel
Word styled text
Format a chunk of text with a referenced style.
Usage
stext(text, style_id = NULL, style, doc)
Arguments
- text
text value
- style_id
style id
- style
style name. Use only when you don't know what is the id associated with a stylename.
- doc
rdocx
object where the text will be inserted. This is only used to get the style id from the style name (use only when you don't know what is the id associated with a stylename).
Examples
# NOT RUN {
doc <- read_docx()
stext("hello", "strong", doc)
# }
Community examples
Looks like there are no examples yet.