LateX Coding

Example 1: exponents
5^2

Example 2: two digit exponents
5^{-1}

Example 3: Fractions
\frac{3}{4}    2\frac{3}{4}
*mixed number: put number in front of \

Example 4: change size
\frac{5^2}{3^2}

Example 5: adding trig functions (sin, cos, tan)
\tan\theta=\frac{9}{12}

Example 6: Degrees
\sin30^\circ=\frac{x}{2}

Example 7: Brackets
\cos^{-1}(\frac{3}{4})

Example 8: change text colour
\frac{2}{4}

Example 9: change background colour

\frac{2}{4}