Skip to end of banner
Go to start of banner

How to write LaTeX

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

LaTeX's math mode makes it simple to write arithmetic in plain text. To enter math mode in LaTeX, you must use one of several commands:

For example:

"$$ E = mc2 $$"

The LaTeX Math macro handles this for you. You only need to enter the math; the equation is rendered automatically.

To help you started, here are a few LaTeX math examples.

LaTeX

Output

E = mc^2

\pi = \frac c d

\frac{a + b}{2}

e = \lim_{x\to\infty} \left(1+\dfrac{1}{n}\right)^n

\begin{matrix}
a & b & c \\
d & e & f \\
g & h & i
\end{matrix}

\begin{align*}
 f(x) &= (x+a)(x+b) \\
      &= x^2 + (a+b)x + ab
\end{align*}

Filter by label

There are no items with the selected labels at this time.


  • No labels