Real-Time Collaborative LaTeX Editor (and Word) in Mitra

The Mitra team · · Updated · 5 min read

Most real-time collaborative LaTeX editors are websites. Your project lives on their server, compiles on their server, and stops when the Wi-Fi does.

Mitra is a real-time collaborative LaTeX editor that runs on your own computer: co-authors in a Mitra lab see each other’s named cursors as they type, each person compiles with TeX Live locally, and edits made offline merge when they reconnect. The same live co-writing works in Mitra’s Word editor, with the same comments and citations. It’s part of Labs, free while it’s being built (download Mitra).

Two laptops, one LaTeX project

Here’s a project a PI and a student are writing together. On the PI’s laptop, the student’s cursor sits at the end of the sentence they’re typing in Results, right after “colder”. The words they’re working on are highlighted because the PI commented on them a minute earlier:

Mitra's LaTeX editor on the PI Alex Morgan's laptop, project Wall heat flux in lean hydrogen flames, written together in the Hydrogen flame stability paper library. Line 30 in the Results section reads Thermodiffusive instabilities raise the mean wall heat flux and shorten the quenching distance, and the effect grows with pressure and as the mixture gets leaner and colder, with a blue remote cursor after colder and the words the effect grows with pressure highlighted as commented. The PI's own cursor is on line 27, after and pressure. The compiled PDF on the right shows the title, Introduction, Method, Results with the same sentence, Conclusion and one reference
The PI's laptop: the student's cursor (blue) at the end of their Results sentence, while the PI's own sits on line 27.

And the student’s laptop at the same moment. The PI’s cursor (purple) is on line 27, where they had just added “and pressure”:

The same LaTeX project on the student Sam Rivera's laptop in Editor only view. Line 27 reads We compare the peak wall heat flux at each equivalence ratio and pressure, with a purple remote cursor after pressure. The student's own cursor is at the end of line 30, after leaner and colder. Line 22 shows the introduction sentence ending in cite fruzza2024flashback
The student's laptop: the PI's cursor (purple) right after the words they added.

Hover a cursor to see whose it is. Edits travel through Mitra’s relay as you type, and the project on disk is written from the shared document, so main.tex on each laptop is always a normal file you can open in anything.

How to start co-writing live

  1. Create a lab in Settings › Lab (PIs, lecturers and group leads; what a lab includes) and invite co-authors by email (how inviting works).
  2. Make a shared library for the paper, or use the one each student shares with their PI.
  3. Open a LaTeX project (new from a template, an existing folder, or an Overleaf .zip) or a Word draft, and press Write together. Pick the shared library.
  4. Your co-authors see it under Shared with you on their Write page. Open it, and you’re both in.

No server to run, and no invitation per document: one lab invite covers every project you share.

What happens when someone goes offline

Each member’s Mitra keeps the draft on their own computer. If you lose the connection, you keep typing, and compiling still works because TeX Live is local. When you’re back, your edits and your co-authors’ edits merge. Nobody’s paragraph gets replaced by a stale copy.

That’s the property I’d look for first in any collaborative editor, and the one browser tools struggle with most. Overleaf, for comparison, allows 2 minutes of offline editing on its free plan and 10 on paid plans, without compiling (Overleaf: working offline, as of December 2026).

The same thing in Word

Plenty of labs have one student in LaTeX and another who’d rather not. Mitra’s Word-style editor co-writes live in the same way: shared draft, cursors, offline edits merged, and a .docx written from the shared document. Supervisors get Suggesting, whose changes the author accepts or rejects and which are saved as tracked changes in the .docx.

The Word editor keeps the same signed history as LaTeX. This is a Word draft from the same lab, after a morning of back-and-forth:

Mitra's Word editor on the student's laptop, draft Hydrogen flame stability (draft), with the Version history panel open on the Project tab and filters Everyone, Sam Rivera and Alex Morgan. Under Today: Sam Rivera edited, Sam Rivera accepted a suggestion, Alex Morgan edited +9 words, Sam Rivera edited +45 and 20 words removed. Under Yesterday: Alex Morgan edited +45, Sam Rivera edited +47. A note says the history is shared with co-authors and each person's AI use stays in their own history
The Word draft's project history: each change signed by who made it, including the suggestion the student accepted.

Every entry can be restored, and you can filter by person. The note at the bottom matters to students: AI use stays in each person’s own history. Co-authors see the edit, not which tool helped.

What a collaborative editor should do that most don’t

Live cursors get the attention, but the citations matter more. In Mitra, a citation stores the page and the sentences from the paper that support the claim, in Word (kept in the .docx) and in LaTeX (kept in the project’s .mitra/evidence.json). Hover a \cite and you see the quote. Check citations lists every cited sentence with its passage and a Checked box; when one co-author ticks a citation as checked, the others see the tick, so two people don’t verify the same reference twice (checking citations).

Who sees your draft

The draft and every live edit are sealed with your lab’s key on your computer before they reach Mitra’s relay, and Mitra’s server never holds the key. What the server can see: names of labs and libraries, who’s in them, that a draft exists, its size, and who changed it when. Ask an AI about a shared paper and the passages it needs go to the AI you chose. Mitra’s security page has the specifics. Drafts you haven’t shared stay only on your computer.

When someone leaves

A student who leaves the lab keeps copies of the shared drafts they worked on, and the lab keeps its own, so neither side loses the paper.

If you’re still deciding between the two formats, LaTeX vs Word for your thesis compares them.

Download Mitra, share the paper you’re writing with one co-author, and type into the same paragraph together before your next meeting.

Questions people ask

Is there a real-time collaborative LaTeX editor that works offline?

Yes. In a Mitra lab, co-authors edit the same LaTeX project live with named cursors, each compiling with TeX Live on their own computer. The project is kept on every computer, so you can keep writing offline, and your edits merge when you reconnect.

Can we co-write in Word and LaTeX in the same app?

Yes. Mitra's Word-style editor and its LaTeX editor both support live co-writing in a lab, with comments, a signed history, and citations that store their supporting passage. A Word draft is saved as a real .docx.

Do my co-authors see when I use AI?

No. In a shared project's history, an edit you made with your own AI shows as yours. Your AI use stays in your own history and AI-use record.

How much does Mitra's live co-writing cost?

Nothing for now. Live co-writing is part of Labs, which is free while it is being built, and Mitra is free on one computer.

Keep reading