-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
Math in RTL #621
Comments
The 2.36.2 version has been updated. |
The issue persists. I suspect that the fixes in the CSS do not address the elements inside the katex containers (i.e. with a " *" selector) so it remains rtl |
The 2.36.5 version has been updated. |
It is resolved in the editor itself. But the behavior persists in the formula editor. |
The 2.37.0 version has been updated. |
When you write math notation in RTL mode the direction should be LTR. There is a case use for mirrored notation (used in Arabic classrooms for example), but since KaTeX cannot output mirrored symbols anyway and most Arabic/Hebrew/Farsi/Urdu speakers write math in the Latin script from left to right, the equation mode should be entirely from left to right.
As it is now, if you write a^2 the "2" will be displayed on the left of the "a". It should be the opposite.
Probably it can be done with a rule like
The text was updated successfully, but these errors were encountered: