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

Nested fractions are misaligned #547

Closed
dpvc opened this issue Aug 19, 2013 · 3 comments
Closed

Nested fractions are misaligned #547

dpvc opened this issue Aug 19, 2013 · 3 comments
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Available v2.4
Milestone

Comments

@dpvc
Copy link
Member

dpvc commented Aug 19, 2013

Fractions like \frac{1}{\frac{1}{x}} are not properly aligned. (See report from the math.stackexchange forum.)

It appears that the extra spacing around fractions isn't taken into account when centering the inner fraction in the outer one.

dpvc added a commit to dpvc/MathJax that referenced this issue Feb 20, 2014
dpvc added a commit to dpvc/MathJax that referenced this issue Feb 20, 2014
@dpvc
Copy link
Member Author

dpvc commented Feb 20, 2014

=> Merged.

@dpvc
Copy link
Member Author

dpvc commented Feb 20, 2014

A test case could use \bbox to enclose the inner fraction, which causes it to get the correct width.

@dpvc dpvc closed this as completed Feb 20, 2014
dpvc added a commit to mathjax/MathJax-test that referenced this issue Apr 22, 2014
@dpvc
Copy link
Member Author

dpvc commented Apr 22, 2014

=> In Test Suite.

MathMLToDisplay/Presentation/GeneralLayout/mfrac/issue547.html

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 Fixed Test Available v2.4
Projects
None yet
Development

No branches or pull requests

1 participant