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

Examples

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