Closed smaxx73 closed 1 year ago
+1 - Also hoping this feature could be added.
I would love to be able to work on this myself, but it's way beyond my skill level .
const expr = ce.parse('x^2').json;
const calculintegrale = ce.box([
'Integrate',
expr,
['Tuple', 'x', 0, 1],
]).latex;
console.log(calculintegrale);
// -> \int^{1}_{0}\!x^2\,\mathrm{d}x
Works now. Note that the second argument of "Integrate"
is a Tuple
of the index variable, the lower bound and the upper bound.
This code :
returns
\mathrm{Integrate}(x^{2}, x\in )