LaTeX
Enclosings
enclosing.Rd
It is cumbersome to have to write left
and right
every time a grouping is used in LaTeX
. These functions take care of that.
Examples
al <- lsymb("\\alpha")
pths(al)
#> [1] "\\left( \\alpha \\right)"
br(al)
#> [1] "\\lbrace \\alpha \\rbrace"
sqbr(al)
#> [1] "\\left[ \\alpha \\right]"
ang(al)
#> [1] "\\langle \\alpha \\rangle"