Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scientific notation #223

Open
Deseux opened this issue Dec 13, 2024 · 0 comments
Open

scientific notation #223

Deseux opened this issue Dec 13, 2024 · 0 comments

Comments

@Deseux
Copy link

Deseux commented Dec 13, 2024

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant