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/lazytex documentation built on May 5, 2023, 6:48 p.m.