bracket_selection: Add customised brackets around selection

Description Usage Arguments Value Author(s) Examples

View source: R/bracket_selection.R

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

1
2
3
4
5
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

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

FinYang/lazytype documentation built on Sept. 15, 2021, 3:59 a.m.