In order to write equations in a nice way you press the sigma button in the lower right corner of the panel:

Then an equation editor window pops up and you can simply insert what ever expression you want to write:

The last step isto press the insert button and finally we have our equation or expression as a picture in our message:
