stext

0th

Percentile

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).

Aliases
  • stext
Examples
# NOT RUN {
doc <- read_docx()
stext("hello", "strong", doc)
# }
Documentation reproduced from package officer, version 0.3.5, License: GPL-3

Community examples

Looks like there are no examples yet.