10
$\begingroup$

The old HTML-CSS renderer was configured to allow automatic line breaks in long formulas:

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({"HTML-CSS": [...], linebreaks: { automatic:true }, [...]
    [...]
});
</script>        

However, the new CommonHTML renderer is not configured as such, and so long formulas overflow the width of the post. I guess it's an oversight (that would be rather easy to fix). The MathJaX docs recommends these options for automatic line breaking:

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  CommonHTML: { linebreaks: { automatic: true } },
  "HTML-CSS": { linebreaks: { automatic: true } },
         SVG: { linebreaks: { automatic: true } }
});
</script>

(This was previously reported in the MathJaX 2.6 beta thread, but since it seems to be a configuration error on SE's end rather than a bug in MathJaX, I thought it would be best to report it in its own thread.)

$\endgroup$

1 Answer 1

3
$\begingroup$

I've added the options for CommonHTML and SVG. Let us know if anything breaks.

The change will be deployed in rev 2016.1.6.3152.

$\endgroup$
2
  • $\begingroup$ Something broke. meta.math.stackexchange.com/questions/22539/… $\endgroup$
    – Asaf Karagila Mod
    Commented Jan 30, 2016 at 21:12
  • 1
    $\begingroup$ The configuration doesn't seem to be in place any longer. This page only configures HTML-CSS, not CommonHTML or SVG output. for example. Did something change? $\endgroup$ Commented Jun 20, 2016 at 13:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .