Learn R Programming

latexSymb (version 0.4.2)

pths: LaTeX Enclosings

Description

It is cumbersome to have to write left and right every time a grouping is used in LaTeX. These functions take care of that.

Usage

pths(x)
br(x)
sqbr(x)
ang(x)

Value

An object of class latex_symb whose repr is x's repr enclosed by the corresponding symbols.

Arguments

x

An object that can be passed to as.character.

Examples

Run this code
al <- lsymb("\\alpha")
pths(al)
br(al)
sqbr(al)
ang(al)

Run the code above in your browser using DataLab