Learn R Programming

latex2exp (version 0.9.6)

Use LaTeX Expressions in Plots

Description

Parses and converts LaTeX math formulas to R's plotmath expressions, used to enter mathematical formulas and symbols to be rendered as text, axis labels, etc. throughout R's plotting system.

Copy Link

Version

Install

install.packages('latex2exp')

Monthly Downloads

11,199

Version

0.9.6

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Stefano Meschiari

Last Published

November 28th, 2022

Functions in latex2exp (0.9.6)

latex2exp_supported

Returns the list of supported LaTeX commands.
latex2exp_examples

latex2exp Examples
print.latextoken2

Prints out a parsed LaTeX object, as returned by TeX(..., output='ast'). This is primarily used for debugging.
print.latexexpression

Print an expression returned by TeX()
TeX

plot.expression

Previews a LaTeX equation
render_latex

Renders a LaTeX tree
latex2exp

Deprecated; use TeX instead.