Skip to contents

Create a representation of a reference

Usage

run_reference(id, prop = NULL)

Arguments

id

reference id, a string

prop

formatting text properties returned by fp_text.

usage

You can use this function in conjunction with fpar to create paragraphs consisting of differently formatted text parts. You can also use this function as an r chunk in an R Markdown document made with package officedown.

See also

Other run functions for reporting: external_img(), ftext(), hyperlink_ftext(), run_autonum(), run_bookmark(), run_columnbreak(), run_footnoteref(), run_footnote(), run_linebreak(), run_pagebreak(), run_word_field(), run_wordtext()

Other Word computed fields: run_autonum(), run_word_field()

Examples

run_reference('a_ref')
#> $id
#> [1] "a_ref"
#> 
#> $pr
#> NULL
#> 
#> attr(,"class")
#> [1] "run_reference" "run"