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

Some math symbols not rendered correctly #126

Open
2 tasks done
opusforlife2 opened this issue May 31, 2024 · 3 comments
Open
2 tasks done

Some math symbols not rendered correctly #126

opusforlife2 opened this issue May 31, 2024 · 3 comments

Comments

@opusforlife2
Copy link

What's Happening?

As seen here https://overflow.smnz.de/exchange/astronomy/questions/2422/how-many-earths-fit-in-the-observable-universe, the answer has two paras. The math in the second para renders properly, but the one in the first para doesn't. They both render correctly on the original site.

Affected Platforms:

  • All

Version: 1.12.1

Browser:

  • All
@httpjamesm
Copy link
Owner

Looks like a variance in latex interpretation. Katex doesn't like the \mbox. But using \space works just fine.
image

Not sure if fixing this is in the scope of this project since it's an external library

@opusforlife2
Copy link
Author

Oh. Might be worth it to forward this bug to them? No need to change libraries then. Since AO is designed for Stack websites, which happen to use this syntax, it does seem like an important bug to fix.

@sgvictorino
Copy link
Contributor

KaTeX/KaTeX#2050 mentions \mbox support, but I don't think there's a standalone issue.

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

No branches or pull requests

3 participants