How to Write LaTeX on macOS Without Installing a 5 GB MacTeX Distribution
Setting up LaTeX on a Mac usually forces an awkward choice: dedicate gigabytes of SSD space to MacTeX and troubleshoot VS Code build recipes, or stay chained to browser tabs and compile limits on Overleaf.
Why Avoid a Full Local MacTeX Installation?
Most students, researchers, and engineers use only a small fraction of TeX Live's thousands of historical packages. Downloading the full multi-gigabyte installer and wiring up latexmk, xelatex, and SyncTeX takes unnecessary time and storage—especially on 256 GB or 512 GB MacBooks.
Comparing MacTeX, Overleaf, and Lassoly LaTeX
| Criterion | MacTeX + Local Editor | Overleaf (Web) | Lassoly LaTeX Plugin / Web |
|---|---|---|---|
| Local setup | 5 GB+ TeX Live install + editor recipe config | None (browser only) | No TeX Live / MacTeX install needed; packages load on demand |
| File storage & compilation | 100% local files & builds | Files hosted and compiled remotely | Desktop plugin opens, compiles, and saves back to local .tex files |
| Live PDF & errors | Requires SyncTeX configuration | Built-in split preview | Side-by-side live PDF preview; error logs jump straight to the line |
| CJK / Chinese support | Manual XeLaTeX + font tuning | Manual compiler switches | Ready out of the box with ctex document classes |
| AI editing safety | Copy-pasted AI snippets often break syntax | No compile-before-apply guard | AI compiles proposed changes first and shows a diff before writing |
Explore the desktop plugin on the Lassoly LaTeX page or read the LaTeX web guide.
Three Steps From .tex Draft to Exported PDF
1. Open from Finder or launch online
Right-click any
.texfile in Finder and choose Open with Lassoly—or try the browser editor immediately at/latexwith zero install.2. Edit source or visual mode side by side
Watch the PDF refresh beside your editor. Multi-file projects work seamlessly, and error entries link directly to their source lines.
3. Let AI revise without breaking the build
Ask AI to format a booktabs table, refine phrasing, or fix an equation. Lassoly compiles the edit first and waits for your approval on the diff.
Frequently asked questions
Are my .tex source files uploaded just to compile?
No. In the desktop plugin, compilation runs locally on your Mac and saving writes straight back to your file. Source text is only sent to an AI model when you ask the AI assistant to edit.
Does it support multi-file projects and bibliographies?
Yes. You can work on multi-file papers with separate chapter files, figures, and bibliography files, then export the compiled PDF.
What if I only want to write in Markdown and export a clean PDF?
Try the [Lassoly Markdown plugin](/plugins/markdown): side-by-side editing with live A4 pagination where the exported PDF matches the preview page for page.
Continue reading