Description Usage Arguments Note
Translates particular items in character strings to LaTeX
format, e.g., makes a^2 = a\$^2\$ for superscript within
variable labels. LaTeX names of greek letters (e.g.,
"alpha") will have backslashes added if greek==TRUE. Math
mode is inserted as needed. latexTranslate
assumes
that input text always has matches, e.g. [) [] (] (), and
that surrounding by \$\$ is OK.
1 2 |
object |
A string containing question text |
inn |
specify additional input strings over the usual defaults |
out |
specify additional translated strings over the usual defaults |
pb |
If pb=TRUE, latexTranslate also translates [()] to math mode using \left, \right. |
greek |
set to TRUE to have latexTranslate put names for greek letters in math mode and add backslashes |
... |
ignored |
This code is copied from Hmisc. Hmisc used to export this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.