In this question, I have added a comment:

$(a-p)^2+(4-a-q)^2 = a^2-2ap+p^2+(4-a)^2-2(4-a)q+q^2= a^2-2ap+(4-a)^2-2(4-a)q+1= ...$, does this help?

But is looks like this:

enter image description here

For your information: I'm surfing with Google Chrome in incognito mode, on a Windows $10$ computer.

Edit after Asaf's comment:
As it seems to work on another computer, I thought the issue might be caused by the fact that my window is maximised, so I used a normal window and then it's also bad, but in another sense:

enter image description here

(You clearly see the formula passing out of the intended "column".)

  • 2
    $\begingroup$ Looks absolutely fine on my Android phone with Firefox. $\endgroup$
    – Asaf Karagila Mod
    Dec 8, 2023 at 8:21
  • 2
    $\begingroup$ MathJax has been broken like this ever since SE switched to the responsive design. $\endgroup$ Dec 8, 2023 at 8:33
  • $\begingroup$ @TheAmplitwist: I never heard of responsive design, but apparently there even is such a tag on StackExchange's meta. You might leave this question here or migrate it to StackExchange's meta (meta.stackexchange.com/questions/tagged/responsive-design), I don't know what is best suited for getting this fixed (if there ever are plans for getting such issues fixed). $\endgroup$
    – Dominique
    Dec 8, 2023 at 8:48
  • 3
    $\begingroup$ This has been reported in a bunch of places at Meta SE itself (for example, MathJax not rendering properly in comment on mobile-sized screen). I don't have any hope that this will get fixed anytime soon. $\endgroup$ Dec 8, 2023 at 9:22
  • 1
    $\begingroup$ I used to face this problem in past, but as of now it looks fine on my Android phone with Firefox browser. $\endgroup$
    – Paramanand Singh Mod
    Dec 8, 2023 at 11:02
  • 7
    $\begingroup$ FYI, you can use display mode (double \$\$) inside comments. Maybe that's a better option when sticking a big chunk of LaTeX in the comments? $\endgroup$
    – JonathanZ
    Dec 8, 2023 at 14:58
  • 2
    $\begingroup$ You might be interested in using the {align} environment or one of its variants in MathJax to explicitly tell how a run-on equation should be split across lines. See this section of the MathJax Basic Tutorial and Quick Reference. $\endgroup$
    – hardmath
    Dec 10, 2023 at 20:05
  • 2
    $\begingroup$ @TheAmplitwist According to this post, the MathJax wrapping bug has finally be marked as "status-review." The post incorrectly states that the recent color changes brought back the bug. The bug is over 2 years old. $\endgroup$ Dec 18, 2023 at 15:08


You must log in to answer this question.

Browse other questions tagged .