LaCorTeX
DocsGetting started

Your first document

Open a folder, write a paragraph, and read the PDF you just built on your own machine.

5 min readUpdated 22 November 2026

There is no project to create and nothing to import. LaCorTeX opens a directory on your disk and reads what is in it, so an empty folder, a paper you started last year, and a repository you just cloned are all the same thing to it.

1Open a folder

  1. Choose Open Folder and pick any directory. If it already contains .tex files, they appear in the sidebar immediately.
  2. Starting from nothing? Use New Project and pick a template: Article, IEEE Conference, Preprint (arXiv), Thesis or Letter. Each writes a small, complete document that compiles on the first try, which is the point: your first build should succeed so you know the toolchain works.
Nothing is copied
The folder you open is the folder you keep working in. LaCorTeX writes one directory of its own, .lacortex/, for per-project settings, and nothing else that was not already yours.

2Which file is the document

A LaTeX project has one root file and any number of files it pulls in. LaCorTeX finds the root by looking for \documentclass, preferring the conventional names at the top level (main.tex, paper.tex, thesis.tex, document.tex, article.tex) before looking in subdirectories.

That is a guess, and it is occasionally the wrong one: a template file or an old draft can carry a \documentclass too. If the PDF is not the document you expected, set the main file explicitly in project settings.

3Write something

Open the root file and type. The editor is CodeMirror with LaTeX syntax highlighting, bracket matching and the usual find (⌘ F). Nothing about it should surprise you, which is deliberate. The interesting part happens elsewhere.

4Compile

Press ⌘ ↩. The PDF appears in the right pane.

⌘ ↩         compile⌘ S         save⌘ ⌥ B       show or hide the PDF pane⌘ B         show or hide the sidebar
On Windows and Linux, ⌘ is Ctrl.

If the build fails, the compile log opens with the errors parsed out of it rather than the raw TeX firehose. That has its own article, Reading compile errors, worth reading before your first real deadline.

5What the first build was doing

Expect ten to thirty seconds the first time, and typically under two seconds after that. The first build fetches the CTAN packages your preamble asks for and caches them on disk; every later build reads them from there.

Then you can go offline
Once a project's packages are cached, compiling needs no network at all: on a plane, in a basement lab, or on conference wifi. Only the agent reaches out, and only when you ask it to.

6Saving

Edits are saved automatically a moment after you stop typing, and ⌘ S writes immediately. There is no separate LaCorTeX copy of your work to keep in sync: the file on disk is the file you are editing, so git diff tells you the truth at any moment.

  • Deleted a file outside the app? The tab says so rather than silently rewriting it.
  • Changed a file outside the app, with a git pull say? The editor picks it up.
Previous
← Install LaCorTeX
Next
Bring an existing project →