# Useful LaTeX 

LaTeX notation can specify inline or display mode for maths by delimiting with `\(` or `\[` respectively.  Here are some simple examples:

* `x^2` gives \(x^2\)
* `x_n` gives \(x_n\)
* `x^{2x}` gives \(x^{2x}\)
* `\alpha\beta` gives \(\alpha\beta\)
* `\sin(3\pi x)` gives \(\sin(3\pi x)\)
* `\frac{1}{1-n^2}` gives \(\frac{1}{1-n^2}\) when inline.  In display mode it gives:

\[ \frac{1}{1-n^2} \]

* `\int_a^b x^2\ dx` gives \(\int_a^b x^2\ dx\) when inline.  In display mode it gives:

\[ \int_a^b x^2\ dx \]
