Latex Testing

All of the following works –


$$E=mc^2$$
\(E=mc^2\)

$$a^{x} + a^{y} = a^{x+y}$$

\(a^{x} + a^{y} = a^{x+y}\)