Back to functions

Expression.toTeX


toTeX

Gets expression as LaTeX

Usage: nerdamer.toTeX


Parameters

none This function takes no arguments.

Returns

String

EXAMPLES:
var x = nerdamer('(x+1)*cos(x+1)');
console.log(x.toTeX());
x = nerdamer('1/2*x+2*b/5*x^2');
console.log(x.toTeX());
OUTPUT:
Back to functions