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

MathJax / Katex Problem #464

Closed
zmonoid opened this issue Sep 15, 2017 · 5 comments
Closed

MathJax / Katex Problem #464

zmonoid opened this issue Sep 15, 2017 · 5 comments

Comments

@zmonoid
Copy link

zmonoid commented Sep 15, 2017

When using with MathJax, it has problem when there is second underscore bracket:
For example, this one will not show normally:

$$ Q_{t+1}(s_i, u) = r + \gamma \max_{u'} Q_t (s_j, u') $$

However this one will show normally:

$$ Q_{t+1}(s_i, u) = r + \gamma \max Q_t (s_j, u') $$

@zmonoid
Copy link
Author

zmonoid commented Oct 8, 2017

I got it. It is the problem of underscore. Change all '_' to '_' will fix the problem.

For example:

$$ Q\_{t+1}(s\_i, u) = r + \gamma \max\_{u'} Q_t (s\_j, u') $$

Will have no problem

@RoyiAvital
Copy link

RoyiAvital commented Jun 9, 2018

This is a bug. Text within $$ ... $$ and $ ... $ should be protected.

@yuekai
Copy link

yuekai commented Aug 28, 2019

See my comment on #336

@abelards
Copy link
Collaborator

Closing this as "duplicate" of #336
I'm doing the easy triage right now and I'll get back to looking at @yuekai's PRs later.
Feel free to send them if it's not done already, we have new "assistant-maintainers" and you could benefit from the motivation boost and the holiday period ;)

@jonathanlilly
Copy link
Contributor

Thanks for the escape solution, I was having the same problem with second underscore brackets and this fixed it

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

5 participants