Clarity

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

ExtensionPurpose
.texLaTeX source files
.typTypst source files
.bibBibliography databases
.styLaTeX style files
.clsLaTeX class files
.png, .jpg, .pdfImages 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?
File Management — Clarity Docs