Skip to content

MathML alignment Left or Right

Davide P. Cervone edited this page May 27, 2013 · 2 revisions

From https://groups.google.com/d/msg/mathjax-users/yPRnSGxFIfI/WP19jjczB6QJ


I using Open Office Math 3.4 for writing MathML and render it in browser using MathJax. I am facing issue with MathML Align left or right command. The alignment works fine in Open Office Math but when i render it in browser, it place all the elements at the centre.

Any suggestion or work around to solve this issue.

Thankx


You can set the displayAlign and displayIndent parameters in your configuration to control the positioning of displayed equations. E.g., put

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  displayAlign: "left",
  displayIndent: "2em"
});
</script>

somewhere before the script tag that loads MathJax.js to get left alignment with a 2em indent.

Clone this wiki locally