You can also try pressing Ctrl+4 in a text cell to open a latex empty field, and copy a tex code in it H_2O, then press Enter
H
2
O