Using the File Outline in Overleaf
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.
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.
Related to this, please note that the file outline does not 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}
\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
Use the arrow to the left of the file outline to expand or collapse the tree. You can also resize the file outline by clicking and dragging the handle up or down.
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.
If you use the optional argument of the command to supply a short title for the table of contents, the short title will be displayed in the file outline. For example, if your file contains
\section[Short title for TOC]{A very long title with lots of descriptive text for the main text}
the file outline will display "Short title for TOC".
Not all .tex
files will use every heading level.
If your file doesn't contain all these levels, that's no problem.
The file outline area will display your file's structure according to the heading levels that we detect within the file.
The File Outline feature does not run a full LaTeX engine, so not all LaTeX commands within section headings are supported.
In particular, the expansion of custom macros and math mode content will not be rendered in the File Outline list.
Other non-standard usages, like multiple \label
s following a sectioning command, or sectioning commands broken across multiple source lines, also will not be detected by the file outline in all situations.
Overleaf guides
- Creating a document in Overleaf
- Uploading a project
- Copying a project
- Creating a project from a template
- Using the Overleaf project menu
- Including images in Overleaf
- Exporting your work from Overleaf
- Working offline in Overleaf
- Using Track Changes in Overleaf
- Using bibliographies in Overleaf
- Sharing your work with others
- Using the History feature
- Debugging Compilation timeout errors
- How-to guides
- Guide to Overleaf’s premium features
LaTeX Basics
- Creating your first LaTeX document
- Choosing a LaTeX Compiler
- Paragraphs and new lines
- Bold, italics and underlining
- Lists
- Errors
Mathematics
- Mathematical expressions
- Subscripts and superscripts
- Brackets and Parentheses
- Matrices
- Fractions and Binomials
- Aligning equations
- Operators
- Spacing in math mode
- Integrals, sums and limits
- Display style in math mode
- List of Greek letters and math symbols
- Mathematical fonts
- Using the Symbol Palette in Overleaf
Figures and tables
- Inserting Images
- Tables
- Positioning Images and Tables
- Lists of Tables and Figures
- Drawing Diagrams Directly in LaTeX
- TikZ package
References and Citations
- Bibliography management with bibtex
- Bibliography management with natbib
- Bibliography management with biblatex
- Bibtex bibliography styles
- Natbib bibliography styles
- Natbib citation styles
- Biblatex bibliography styles
- Biblatex citation styles
Languages
- Multilingual typesetting on Overleaf using polyglossia and fontspec
- Multilingual typesetting on Overleaf using babel and fontspec
- International language support
- Quotations and quotation marks
- Arabic
- Chinese
- French
- German
- Greek
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
Document structure
- Sections and chapters
- Table of contents
- Cross referencing sections, equations and floats
- Indices
- Glossaries
- Nomenclatures
- Management in a large project
- Multi-file LaTeX projects
- Hyperlinks
Formatting
- Lengths in LaTeX
- Headers and footers
- Page numbering
- Paragraph formatting
- Line breaks and blank spaces
- Text alignment
- Page size and margins
- Single sided and double sided documents
- Multiple columns
- Counters
- Code listing
- Code Highlighting with minted
- Using colours in LaTeX
- Footnotes
- Margin notes
Fonts
Presentations
Commands
Field specific
- Theorems and proofs
- Chemistry formulae
- Feynman diagrams
- Molecular orbital diagrams
- Chess notation
- Knitting patterns
- CircuiTikz package
- Pgfplots package
- Typesetting exams in LaTeX
- Knitr
- Attribute Value Matrices
Class files
- Understanding packages and class files
- List of packages and class files
- Writing your own package
- Writing your own class