rmd_equations: Format as LaTeX equation.

rmd_equationsR Documentation

Format as LaTeX equation.

Description

Select a piece of text with a cursor and call these functions as an add-in to enclose the text with special symbols. Text between ⁠$.$⁠ is interpreted as an inline equation and between ⁠$$.$$⁠ or ⁠\[.\]⁠ as a block equation in R Markdown.

Usage

rmd_equation_a_inline(context = rs_get_context())

rmd_equation_b_block(context = rs_get_context())

rmd_equation_b_block2(context = rs_get_context())

Arguments

context

(class document_context)
Object with context of active RStudio document.

See Also

Other R Markdown formatting add-ins: format_rmd, rmd_code_block(), rmd_list()


GegznaV/addins.rmd documentation built on Aug. 25, 2023, 4:43 p.m.