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 and print (cat) brackets around the word "example".

Author(s)

Yangzhuoran Yang

Examples

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

FinYang/lazytype documentation built on Sept. 3, 2020, 9:32 p.m.