# MathJax alignment issue

update: this issue is connected with Chrome's text zoom feature - see the bottom of this post.

I quite often see this sort of thing:

Sometimes when I reload the page, the equations will go back to being centred where they should be - but sometimes not. This is with Google Chrome (31.0.1650.57, though it's been an issue for a while) under OS X 10.8.5.

This is with the Math renderer set to "SVG", because I like my equations to be pretty.

The problem is not specific to multiline equations. Here is an example with a single-line one, albeit a rather long one:

It seems not to happen with all equations, but I'm not sure what the pattern is. I'd say it occurs with more than 50% of them though.

I habitually browse with Chrome's zoom level set to one or two, because my eyesight is quite poor. This problem doesn't occur with the zoom set to the default level, and it also immediately disappears if I change the zoom level, so as a workaround I can quickly change the zoom to something else and back again (option-- option-+ on my Mac) to get the correct formatting.

• Try to load that page in another web browser. – user29727 Dec 11 '13 at 13:05
• Do you put the equations inside an environment, like \begin{gather}\end{gather}? – Pulsar Dec 11 '13 at 13:58
• @adobe I tried it in safari and didn't see the issue, but since the problem is intermittent in Chrone anyway I'm not sure how much that really tells us... – Nathaniel Dec 11 '13 at 14:02
• Pulsar in this case I just used \\ to separate the lines. I don't think the problem is specific to multiline equations, but it might be - I'll keep an eye out. – Nathaniel Dec 11 '13 at 14:03
• I've never seen that. I use Opera 12.16 on Scientific Linux 6.4. – Kyle Kanos Dec 11 '13 at 15:32
• Is this only when you use the SVG math renderer? With Chrome v32 on a Windows, it looks fine for me in both SVG and HTML/CSS. Have you tried seeing what happens when you use the zoom trigger? – Abhimanyu Pallavi Sudhir Dec 18 '13 at 7:53
• By right, it should be fixed when you change to HTML/CSS, because the HTML/CSS forces the equation to be squeezed into the width of the question. – Abhimanyu Pallavi Sudhir Dec 18 '13 at 7:54
• @dimension10 I've only observed it with svg, but I don't use the HTML/CSS renderer much. (I find it ugly.) I'm not sure what the "zoom trigger" is, but I do use Chrome's page zoom feature due to poor eyesight - I'll try switching it off next time I'm at my computer and see if that makes a difference. – Nathaniel Dec 18 '13 at 8:29
• @Nathaniel: By zoom trigger, I was talking about MathJaX's inbuilt function (right-click, hover on math settings, and you can find it). I was asking if the same problem persists even in the zoom trigger. – Abhimanyu Pallavi Sudhir Dec 18 '13 at 15:39
• Ha, I just notcied the same thing using the stadnard HTML/CSS renderer: i.stack.imgur.com/SylFe.png – Abhimanyu Pallavi Sudhir Dec 23 '13 at 4:39
• Chrome is full of bugs, try to change it for a better browser. – user29727 Dec 23 '13 at 13:04
• @Adobe: Like? Like IE8? : ) – Abhimanyu Pallavi Sudhir Jan 5 '14 at 12:44
• Again reproduced: i.stack.imgur.com/LVj0k.png – Abhimanyu Pallavi Sudhir Jan 5 '14 at 12:47
• @Dimensio1n0 lol you wont even be able to load mathjax in IE, try firefox with a Chrome design add-on since you're familiar with Chrome. – user29727 Jan 6 '14 at 11:39
• @Adobe: I was joking about IE of course. I've seen only one advantage of firefox, that it is very easy to add MathML. But it is much slower. – Abhimanyu Pallavi Sudhir Jan 6 '14 at 11:47