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

\overline fails #2400

Closed
cebola2 opened this issue Apr 9, 2020 · 4 comments
Closed

\overline fails #2400

cebola2 opened this issue Apr 9, 2020 · 4 comments
Labels
Accepted Issue has been reproduced by MathJax team Test Needed v3

Comments

@cebola2
Copy link

cebola2 commented Apr 9, 2020

Issue Summary

\overline does not produce a line as it should. It is not caused by screen resolution.

Steps to Reproduce:

Try typesetting \overline{B}

Technical details:

  • MathJax Version: 3.0.4
  • Client OS: Linux Mint 19.3 64 bits
  • Browser: Firefox 75.0 (64 bits), Chromium 80.0.3987.163

Supporting information:

@dpvc
Copy link
Member

dpvc commented Apr 9, 2020

Thanks, I can confirm the problem. The extenders aren't be placed properly (and so they fall outside the clipping region). I'll look into it further.

The issue is CHTML-specific, so switching to SVG output would work around the problem for now.

@dpvc
Copy link
Member

dpvc commented Apr 9, 2020

OK, I found it. A change in 3.0.4 caused an element to be display: block that used to be display: inline-block, and that caused horizontal extenders to be misplaced.

You can work around it for now by adding

  mjx-stretchy-h > * > mjx-c::before {display: inline-block}

to your CSS.

@dpvc dpvc added Accepted Issue has been reproduced by MathJax team Ready for Development v3 labels Apr 9, 2020
@cebola2
Copy link
Author

cebola2 commented Apr 9, 2020

Thanks! Your support is amazing.

dpvc added a commit to mathjax/MathJax-src that referenced this issue Apr 10, 2020
dpvc added a commit to mathjax/MathJax-src that referenced this issue Apr 10, 2020
Fix problem with horizontal stretchy extenders.  (mathjax/MathJax#2400).
@dpvc dpvc added Merged Merged into develop branch Test Needed and removed Ready for Development labels Apr 10, 2020
@dpvc
Copy link
Member

dpvc commented Apr 10, 2020

I put out a hit-fix release (3.0.5) that fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Test Needed v3
Projects
None yet
Development

No branches or pull requests

2 participants