# Inserting symbols

LaTeX provides many commands for mathematical and non-mathematical symbols. Please see [this article](https://www.overleaf.com/learn/latex/List_of_Greek_letters_and_math_symbols) for an overview of how you can insert symbols directly using LaTeX commands. To make it easier to find and insert the right LaTeX symbol command, Overleaf provides a Symbol Palette that allows you to choose from an array of commonly used symbols to insert.

## Using the Symbol Palette

The Symbol Palette is a [premium feature](https://docs.overleaf.com/getting-started/free-and-premium-plans/premium-features). To open the Symbol Palette, click the **Ω** button, which is visible when using the Code Editor or Visual Editor:

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/2qyaqQ52d5wuRI2yfMjV2p/b0e08dc0549845254a53f98273b33a11/SymbolPalleteEditor.mp4>" fullWidth="false" %}

The Symbol Palette will open at the bottom of the editor window.

<figure><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FKgCNVCWg79uEx0Upv6Jr%2FNewOLSymbolPalette.png?alt=media&#x26;token=9c327fff-dfcc-4bae-95b1-3e65cc8e2ebd" alt="Symbol Palette" width="337"><figcaption><p>The Overleaf Symbol Palette</p></figcaption></figure>

To close the Symbol Palette, click the Ω button again, or use the X symbol located on the palette.

### Video demonstration

The Symbol Palette has a selection of commonly-used mathematical symbols you can browse or search by typing their name or an alias into the Search box. All symbols contained in the Symbol Palette are designed for use within mathematical content, which means they need to be inserted at a point where the LaTeX document compiler will be in *math mode.*

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/3G3xXK2HVCsZ509ITaYthE/b1d85d061208304259a1c62ad49b982f/SymbolPalette.mp4>" %}

## Math mode

Symbols shown in the Symbol Palette should only be inserted into your document when LaTeX is in math mode, which means they must be enclosed within special math markup:

* To put your equation in *inline* mode, enclose it within the delimiters: `\( \)` or `$ $`. You can also place it within the `math` environment: `\begin{math} \end{math}`.
* To put your equation in *display* math mode, use either `\[ \]` or `\begin{equation} \end{equation}`.

This also applies to symbols such as subscripts (\_), integrals (`\int`), Greek letters (`\alpha`, `\beta`, `\delta`) and modifiers (`\vec{x}`, `\tilde{x}`).

If you’d like to learn more about math mode, we have a short explanation [here](https://www.overleaf.com/learn/latex/Mathematical_expressions#Mathematical_modes). For a more general overview of writing math in LaTeX , check out [Learn LaTeX in 30 minutes](https://www.overleaf.com/learn/latex/Learn_LaTeX_in_30_minutes)—in particular, the section [Adding math to LaTeX](https://www.overleaf.com/learn/latex/Learn_LaTeX_in_30_minutes#Adding_math_to_LaTeX).

If you add one of these symbols *outside* of math mode, you will see some errors when compiling your document. The error you will see depends on what else is in your document, but a common error triggered by math symbols used outside of math mode is [`Missing $ inserted`](https://www.overleaf.com/learn/latex/Errors/Missing_$_inserted).

## Required packages

Some symbols require you to use extra packages—if you hover on the symbol, the tooltip will tell you which package you need:

<figure><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FZb80nHzkzd1NdX3gJKCG%2FOLSymbolPaletteHover.png?alt=media&#x26;token=4558f211-00f1-42b1-8ab1-2fed6c14c5f8" alt="The package requirement tooltip" width="261"><figcaption><p>Symbol Palette advising need of a <span class="math">\LaTeX</span> package</p></figcaption></figure>

For example, in this case, to use the `\iint` symbol you need to make sure you have `\usepackage{amsmath}` in your document preamble, i.e., before the `\begin{document}` statement.
