> ## Documentation Index
> Fetch the complete documentation index at: https://help.milton.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Add figures

1. [Upload](https://help.milton.so/writing/project-files.md#add-files-from-your-device) your figure to the project: PNG, JPG or PDF.
2. In your `.tex` file, put the cursor where the figure goes.
3. In the bar above the editor, open the **Editor options** (**⋯**) menu, choose **Insert figure…** and pick the file. You can also drag the file from the file tree into the text.

   ![The Editor options menu above the editor, with Insert figure…](https://mintcdn.com/milton-help/CQbZfUaauwZBJQyI/images/figures-insert-menu.png?fit=max\&auto=format\&n=CQbZfUaauwZBJQyI\&q=85\&s=5d768a416bcb65b2499bb103f138cfc1)

Milton inserts a `figure` block with `\includegraphics`, a caption and a label. Edit the caption and label as you like.

To update a figure, use **⋯** → **Replace…** on the image file: the new version appears at the next compile.

Other image formats show "Convert to PNG or PDF to use it in LaTeX".


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.