compute-engine
compute-engine copied to clipboard
scientific notation
Description
When serializing powers of 10 to LaTeX using scientific notation, the coefficient 1 is omitted from the result.
Steps to Reproduce
console.log(engine.parse('1000').toLatex({ notation: 'scientific'))
Actual Result
10^{3}
Expected Result
1\cdot10^{3}