algebra-latex
algebra-latex copied to clipboard
Processing Integrals and Derivate
What should I pass into the parseMath function to get back the latex of an integral?
const integral = new AlgebraLatex().parseMath("\\\\int dx").toLatex();
console.log(integral); // should output: \int dx
The above code fails with the error: Error at line: 1 col: 1, Unknown symbol: \
Any help would be much appreciated. Thank you!