# 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](/getting-started/free-and-premium-plans/premium-features.md). 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="/files/O2kATa0to4W2aOMKi905" 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="/files/OGZk8qMqn2BvoTnYB2In" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overleaf.com/writing-and-editing/inserting-symbols.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
