LaCorTeX
DocsFiles and git

Project layout

What LaCorTeX expects to find in a folder, and the one thing it adds.

3 min readUpdated 22 November 2026

There is no project format to learn. Any folder of LaTeX sources is a project, arranged however you already arrange it.

1A project is a folder

paper/  main.tex  references.bib  neurips.sty  chapters/    intro.tex  figures/    results.pdf
A typical layout. Nothing about it is required.

Subfolders work with \input, \include and \includegraphics as they do anywhere else. Write paths relative to the main document.

2The main document

Compile always builds one file, marked with a star in the explorer, whichever tab you are reading. To change it, right-click another .tex file and choose Set as Main Document.

If the build says a file has no document class
The main document is probably a chapter. Set the file containing \documentclass as main.

3What the explorer hides

Hidden files and folders, including .git, do not appear in the explorer, and neither do dependency folders such as node_modules. They stay on disk, untouched.

4What LaCorTeX adds

One folder, .lacortex/. It holds a small project id, this project’s settings such as the main document, and a short-lived trash so a file deleted from the explorer can be restored with ⌘ Z. Compiled output is not written into your project; use Export PDF when you want a copy.

Previous
← Bring an existing project
Next
Using git →