Simple, Inline Equations
You can do a simple inline equation by using $an equation here$
.
For example, you might do
$\lim\limits_{n \to \infty} \frac{1}{2^n} i\bar z$
which, if we put a little fake text around it, gives
Numbered, Centered Equations
When writing papers or other documents, it is sometimes preferable to have your equations centered and numbered, as opposed to in-line. Then, use the \begin{equation}
and \end{equation}
commands.
For example, if we use the code
\begin{equation}
\lim\limits_{n \to \infty} \frac{1}{2^n} i\bar z
\end{equation}
And add a little text around it, we get
You can remove the numbering of the equation by using \begin{equation*}
and \end{equation*}
.
For example, if we use the code
\begin{equation*}
\lim\limits_{n \to \infty} \frac{1}{2^n} i\bar z
\end{equation*}
and add a little text around it, we get
(though it should be noted you have to use the amsmath
package for this).