One of the biggest advantages of LaTeX is its skill in typesetting equations. Here, the fundamentals of typesetting equations, some of the various packages that can be used, as well as common symbols, are described.

- \begin{equation} ... \end{equation}
- text $ ... $ text
- \usepackage{amsmath} ... \begin{equation*} ... \end{equation*}

Here are some basic ideas to make sure your code doesn't break on you and your equations look better:

- Make sure all brackets, curly braces, dollar signs, and
`\begin{}`

`\end{}`

commands are matching. This is something where one small mistake can mess your whole piece of code up in a big way. - If you get errors, make sure you have the proper package loaded (for example, don't use the
`\begin{equation*}`

command without the`amsmath`

package). - Never, ever,
*ever*use double dollar signs (`$$an equation here$$`

) instead of`\begin{equation}`

. - Never use math mode as a way to make your text italic.
- Completely stuck? Try TeX.SX, a site for answering questions about TeX, LaTeX, and related languages.

Good luck!