-
Notifications
You must be signed in to change notification settings - Fork 7
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
\transn breaks vertical spacing inside of a square root #19
Comments
After looking at #16, I inspected the DOM and found that if I added the .mar class to the surrounding element, it fixed the display. See image below illustrating what I mean: The top square root in the above image renders incorrectly, while the bottom one displays properly thanks to the CSS giving the span I'm not super familiar with the code, but it kind of looks like the issue here is that when you use one of the |
@barillax this PR #20 should solve your issue. Please wait for it to be merged and pushed to npm CC: @OmarIthawi |
Thank you @shadinaif ! |
As shown below, when you put a decimal number into a square root, wrapped in
\transn
, it displays incorrectly. E.g.:\sqrt{\transn{0.04}}
https://codepen.io/barillax/pen/BvVQBX
I wonder if the fix for this might be similar to #16 ?
EDIT: this also happens for
\transt{}{}
inside of a square root, i.e.:%% \sqrt{{\transt{speed}{السرعة}}} %%
The text was updated successfully, but these errors were encountered: