il | R Documentation |
LaTeX
EnvironmentsEquations and symbols in LaTeX
can be either inline or on their own. il
wraps expressions for the former, lenv
for the latter.
il(x)
lenv(name, rows)
x |
An object of class |
name |
The name of the |
.
rows |
A list of objects that can be passed to |
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
al <- lsymb("\\alpha")
be <- lsymb("\\beta")
il(al)
lenv("align",
c(
lsymb(al^2 - be^2, "&=", 0, "\\\\"),
lsymb(pths(al - be)*pths(al + be), "&=", 0)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.