STACK Documentation

Documentation home | Category index | 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^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 \)


Documentation home | Category index | Site map

Creative Commons LicenseThe STACK documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.