Search code examples
jquerywebmathjax

mathjax / mchem aligning


i would like to ask how to align the text in to the one line? When I use

 $$\ce{H+}$$

it makes this: on new line, centered

I would like to have the H+ in the same line. Does anyone have experiences with it?


Solution

  • Solved. I have in script:

    <script n:syntax="off" type="text/x-mathjax-config">
        MathJax.Hub.Config({
            extensions: ["[Contrib]/mhchem/mhchem.js"],
            tex2jax: {inlineMath: [["`","`"]]},
            showMathMenu: false,
            displayAlign: "left",
    
        });
    </script>
    

    So I should use `` :) My bad, I'm sorry.