xb | R Documentation |
xb
will begin, xb
will end a math environment.
xb(e = NA, label = NULL)
xe(e = 1)
e |
Math environment to use (numeric or string).
If |
label |
Optional LaTeX equation label |
The available math environments are
1=$$, 2=$, 3=equation, 4=equation*, 5=align, 6=align*,
7=gather, 8=gather*, 9=multiline, 10=multiline*, 11=split
.
You can either supply the corresponding numeric or the name of
the math environment in argument e
.
For Rmd
file only math environment (argument e
) 1 and 2 are relevant.
When using Rnw
files make sure to include the amsmath
package
the document preamble as most environments are defined in it.
Object of class texcode.
Mark Heckmann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.