I have the following Chemistry equation:
2LiOH(s) + CO2(g) -> Li2CO3(s) + H2O
And I have the following LaTeX code:
\ce{2LiOH_{(s)} + CO_{2(g)} -> Li_{2}CO_{3(s)}+ H_{2}O_{(g)}}
But I can't get it to render properly. It displays like this:

Look at the arrow. What other parameters do I need?
