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

the fraction and the equal sign have visible overlap #3165

Open
hbghlyj opened this issue Jan 23, 2024 · 3 comments
Open

the fraction and the equal sign have visible overlap #3165

hbghlyj opened this issue Jan 23, 2024 · 3 comments
Milestone

Comments

@hbghlyj
Copy link

hbghlyj commented Jan 23, 2024

Issue Summary

I tested the inline formula

\(\frac{1}{ξ^2+1}=∫_0^{∞} 𝖾^{-\left(1+ξ^2\right) t} 𝖽 t\)

on Chrome and Firefox with the following HTML page

<!DOCTYPE html>
<html lang="en">

<head>
  <script async src="https://cdn.jsdelivr.net/npm/mathjax-modern-font@4.0.0-beta.4/tex-mml-svg-mathjax-modern.js"></script>
</head>

<body>
<h1>SVG with MathJax-Modern fonts</h1>

\(\frac{1}{ξ^2+1}=∫_0^{∞} 𝖾^{-\left(1+ξ^2\right) t} 𝖽 t\)
</body>

</html>

the fraction and the equal sign have visible overlap:
image

Then I increased font-size by <font size="+5">\(\frac{1}{ξ^2+1}=∫_0^{∞} 𝖾^{-\left(1+ξ^2\right) t} 𝖽 t\)</font>
They still overlap
Screenshot:
image

Technical details:

  • MathJax Version: 4.0.0-beta.4
  • Client OS: Windows 11
  • Browser: Chrome and Firefox
@dpvc
Copy link
Member

dpvc commented Jan 23, 2024

This is a duplicate of #3135. It has been fixed in the develop branch, and will be resolved in the next beta release. The linked issue includes a work-around you can use until then.

@hbghlyj
Copy link
Author

hbghlyj commented Jan 24, 2024

<html>
<script src="https://cdn.jsdelivr.net/npm/mathjax@4.0.0-beta.4/tex-svg.js"></script>
\(\frac{1}{N} \sum_{n=1}^{N-1} U^n x=x\)
</html>

image

@dpvc
Copy link
Member

dpvc commented Jan 24, 2024

Yes, this is the same issue, and is resolved by the same patch.

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

No branches or pull requests

2 participants