# Why the bracket(s) disappear? [closed]

I tried all the ways before asking the question here. I've tried all the ways I know. I'm having a problem like this. I'm looking for a way to transform equations written in MathJax into pictures in high resolution. I found this site:

The problem is exactly:( a similar example)

F(x):= \begin{cases} \frac 12 \left[A_1(x)+B_1(x)+C_1(x)+D_1(x)+E_1(x)+ \\ +M_1(x)+N_1(x)+K_1(x)+P_1(x)+Q_1(x)\right], x \geq 0 \\ \\ \frac 12 \left[A_2(x)+B_2(x)+C_2(x)+D_2(x)+E_2(x)+ \\+M_2(x)+N_2(x)+K_2(x)+P_2(x)+Q_2(x) \right], x < 0 \end{cases}

$$F(x):= \begin{cases} \frac 12 \left[A_1(x)+B_1(x)+C_1(x)+D_1(x)+E_1(x)+ \\ +M_1(x)+N_1(x)+K_1(x)+P_1(x)+Q_1(x)\right], x \geq 0 \\ \\ \frac 12 \left[A_2(x)+B_2(x)+C_2(x)+D_2(x)+E_2(x)+ \\+M_2(x)+N_2(x)+K_2(x)+P_2(x)+Q_2(x) \right], x < 0 \end{cases}$$

My first problem is: the symbol +slightly to the left. I couldn't fix it.

My main problem is : The closing brackets disappear during conversion to image. I can't fix it. Why is this happening? Is it possible to write this equation MathJax syntax in a different way?

• By closing bracket you mean the one after $Q_1(x)$ and after $Q_2(x)$? To me, it is displayed fine here on meta: i.stack.imgur.com/TrOd7.png – Martin Sleziak Dec 6 '19 at 22:56
• @MartinSleziak Thank you comment. When you press the Disappear (in my post) button, you can see the codes and the picture. I'm having trouble converting. I don't know what it's about. Codes, but it works right here. – Elementary Dec 6 '19 at 23:10
• On the Roger Cortesi page, if I change the "\right]" to "\left]" after the $Q_1(x)$ it works. Quite why the one works and the other doesn't is a mystery which you might persue with the people at the Roger Cortesi site. – Peter Phipps Dec 7 '19 at 0:51
• @PeterPhipps I was almost very happy with what you said. But my real equation doesn't take brackets. I did what you said. The bracket size is extremely small. I'm talking about the right side. I wish there was other method though – Elementary Dec 7 '19 at 1:03
• Size can be controlled with Bigg etc. – Roddy MacPhee Dec 7 '19 at 1:15
• The web page you are using to create these images does not use MathJax. According to the page itself it "is a PHP implementation of the tex2im bash script created by Andreas Reigber". As such, I don't see what this has to do with Math.SE or Stack Exchange in general. You should contact that page's owner about problems with that page. – sie es er Dec 7 '19 at 9:34
• I guess that your original problem was the question how to convert LaTeX/MathJax to an image. I'd guess that this might be possibly a question for TeX - LaTeX. I left a few short comments in the MathJax chatroom. – Martin Sleziak Dec 7 '19 at 12:28
• @MartinSleziak ghostscript.com should I convert through this site? – Elementary Dec 7 '19 at 12:56
• In the discussion in chat we figured out that the problem might be in unpaired \left[ and \right]. (The first \left[ has corresponding \right] in the next line of the cases command.) Adding \left. and \right. where needed seems to help. – Martin Sleziak Dec 7 '19 at 14:06
• Here is a link with the result. – Martin Sleziak Dec 7 '19 at 14:07
• Sign $+$ to the left. When you break a line using \\, then the resulting lines are both centered. Your second line is longer, so its starting point is further left, its ending point is further right. – GEdgar Dec 7 '19 at 14:21
• @MartinSleziak Yes it works! – Elementary Dec 7 '19 at 14:32
• simply use a \phantom{\hspace{}} to start the new lines, then the phantom hspace replaces the + and it looks normal. – Roddy MacPhee Dec 8 '19 at 16:09