It's called Latex go on google for the commands. Then when you type a message press the LazTex button to type the commands.
Yes it is LaTex (pronounced as Lae Tec)
and you can learn it a little at a time.
I will start you off.
say you want square root 2
the command is
\sqrt{2} or just \sqrt2
Open up the Latex box above.
Delete the function that is already there
type in
\sqrt{2}
and see what you get :)