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

Display math not centred in XHTML. #650

Closed
jdh8 opened this issue Nov 3, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@jdh8
Copy link
Contributor

commented Nov 3, 2013

jax/output/NativeMML/config.js:

styles: {
  "DIV.MathJax_MathML": {
    "text-align": "center",
    margin: ".75em 0px"
  }
}

The DIV is capital, so it breaks in XHTML.

@fred-wang

This comment has been minimized.

Copy link
Contributor

commented Nov 5, 2013

Thanks, I think you are right.

Feel free to submit a GitHub pull request to the develop branch to fix that:
https://github.com/mathjax/MathJax/tree/develop

fred-wang added a commit that referenced this issue Nov 5, 2013

Merge pull request #655 from jdh8/develop
Center display math in XHTML (#650)
@fred-wang

This comment has been minimized.

Copy link
Contributor

commented Nov 5, 2013

Thanks, I've merged that and this will be integrated in MathJax v2.3.

(note: it seems that I can not assign the issue to you)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.