Type two dollar signs to enter math mode. Then you can write LaTeX equations like $f\left(x\right)=\exp\left(\frac{1}{2}\left(\frac{x}{\sigma}\right)^2\right)$.