run_reference: Cross reference

View source: R/ooxml_run_objects.R

run_referenceR Documentation

Cross reference

Description

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_comment(), 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')

officer documentation built on Oct. 22, 2023, 5:06 p.m.