The lark backend of parse_latex(), with the readings of constants and
functions given in locals.
Arguments
- s
A character string holding LaTeX.
- locals
A named list: names are commands as written in
s(the constants\\pi,\\mathrm{e},\\infty,\\imaginaryunit, the trigonometric and hyperbolic functions,\\exp,\\ln,\\log,\\lg, or\\operatorname{name}); values are expressions for constants and functions (such asFunction()results) for functions.