editor
File Management
Organize your project with files, folders, and multi-file documents.
File Tree
The sidebar file tree shows all files in your project. The main entry file (usually main.tex or main.typ) is detected automatically.
Creating Files
Click the + icon in the file tree header to create:
- New file — specify the filename and extension
- New folder — organize related files together
The AI assistant can also create files for you via the create_file and create_folder tools.
Supported File Types
| Extension | Purpose |
|---|---|
.tex | LaTeX source files |
.typ | Typst source files |
.bib | Bibliography databases |
.sty | LaTeX style files |
.cls | LaTeX class files |
.png, .jpg, .pdf | Images and figures |
Multi-file Projects
For larger documents, split your work across multiple files:
- Use
\input{chapter1.tex}in LaTeX - Use
#include "chapter1.typ"in Typst
Clarity compiles from the main entry file and resolves all includes automatically.
Was this helpful?
