STACK Documentation
Documentation home | Category index | Site map | English site map
Useful LaTeX
LaTeX notation can specify inline or display mode for maths by delimiting with \( or \[ respectively. Here are some simple examples:
x^2gives \(x^2\)x_ngives \(x_n\)x^{2x}gives \(x^{2x}\)\alpha\betagives \(\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\ dxgives \(\int_a^b x^2\ dx\) when inline. In display mode it gives:
\[ \int_a^b x^2\ dx \]
Documentation home | Category index | Site map | English site map
The STACK documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.