This is LaTeX code:
[latex]
\frac{\sqrt{2}}{2}e_1 - \frac{1}{2}e_2
[/latex]