Back to functions

nerdamer.convertToLaTeX


convertToLaTeX

Converts and expression to LaTeX without evaluating expression.

Usage: nerdamer.convertToLaTeX(expression)


Parameters

String expression The expression being converted

Returns

String

EXAMPLES:
var x = nerdamer.convertToLaTeX('x^2/y-x');
console.log(x.toString());
x = nerdamer.convertToLaTeX('integrate(x+x,x)+cos(y+y)')
console.log(x.toString())
OUTPUT:
Back to functions