For the complete documentation index, see llms.txt. This page is also available as Markdown.

Selecting and managing files

The file outline helps you navigate within a selected LaTeX file using the file's headings.

You can view the logical structure of your .tex file using our File Outline feature. This displays most standard LaTeX sectioning elements in a sidebar to allow quick navigation within the open .tex file. The File Outline is displayed at the bottom of the left pane, which also contains the file tree.

The location of the File Outline in the Overleaf Editor (under File Tree)

This feature displays the outline for the file you have open in the editor, not your entire project. If you have a multi-file project, a new outline will be displayed when you open a different file in the editor.

Note that the File Outline doesn't currently display section headings included via \input, \include or \import commands.

One workaround for this is to use these commands after a supported heading command. For example, using \chapter{Chapter One} or \include{chapter1.tex} will display "Chapter One" in the file outline, instead of just using \include{chapter1.tex}, which is not displayed in the File Outline.

Expanding and collapsing the File Outline and File Tree

Use the caret to the left of "File Outline" or "File Tree" to expand or collapse the area. You can also resize the File Outline by clicking and dragging the handle up or down.

Demonstration of how to expand and collapse the File Tree and File Outline

With longer .tex files, you may want to quickly jump to another section heading within the file. The File Outline feature allows you to do this. Click on the heading you'd like to jump to, and the cursor will move to that heading in the editing pane. The selected heading will be highlighted in the file outline list for reference as you're editing the file.

Supported heading commands

The File Outline feature supports the standard LaTeX section heading commands:

  • \book (from the memoir document class)

  • \part (for book and report document classes)

  • \chapter (for book and report document classes)

  • \section

  • \subsection

  • \subsubsection

  • \paragraph

  • \subparagraph

Starred variants of these commands for unnumbered headings are also supported.

Last updated

Was this helpful?