Equations and symbols in LaTeX can be either inline or on their own. il wraps expressions for the former, lenv for the latter.
Usage
il(x)
lenv(name, rows)
Value
For il, x's repr surrounded by dollar signs.
For lenv, a multiline string whose lines are:
1. A \begin statement for name;
2. The character representation of each row;
3. An \end statement for name
Arguments
x
An object of class latex_symb
name
The name of the LaTeX environment. For instance, align or gather
.
rows
A list of objects that can be passed to as.character.