bracket_selection: Add customised brackets around selection

View source: R/bracket_selection.R

bracket_selectionR Documentation

Add customised brackets around selection

Description

Add customised brackets around selection by setting addin using bracket_selection. Set brackets and get currently set brackets. Use two backslash "\\" when input backslash. See Examples.

Usage

bracket_selection()

set_brackets(left = "{", right = "}")

get_brackets()

Arguments

left

left of the bracket

right

right of the bracket

Value

Return current brackets

Author(s)

Yangzhuoran Yang

Examples

set_brackets(left = "\\boldsymbol{", right = "}")

FinYang/lazytype documentation built on Aug. 22, 2024, 7:55 p.m.