Corollary
Corollary is an Overleaf-style LaTeX editor for Mac with a PDF preview that compiles with TeX Live (installing TeX if needed). AI features run on Apple's on-device Foundation Models: select text and press Cmd-K to edit with an accept/reject diff, and drop in a photo of a handwritten formula which local GLM-OCR converts to LaTeX since Apple's OCR doesn't handle math. It can also be pointed at Ollama or the user's own API key. It requires an Apple silicon Mac, and the AI features require macOS 26 with Apple Intelligence.
What it addresses
The LaTeX editor Prism is shutting down on January 1, and the author never enjoyed typing LaTeX by hand for long periods.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Corollary
Corollary is an Overleaf-style LaTeX editor for Mac with a PDF preview that compiles with TeX Live (installing TeX if needed). AI features run on Apple's on-device Foundation Models: select text and press Cmd-K to edit with an accept/reject diff, and drop in a photo of a handwritten formula which local GLM-OCR converts to LaTeX since Apple's OCR doesn't handle math. It can also be pointed at Ollama or the user's own API key. It requires an Apple silicon Mac, and the AI features require macOS 26 with Apple Intelligence.
Problem: The LaTeX editor Prism is shutting down on January 1, and the author never enjoyed typing LaTeX by hand for long periods.
Posted by @calvinyz · Original source ↗
Story title · @calvinyz · · Source ↗
Show HN: Corollary, LaTeX Editor for Mac with On-Device Apple Foundation Models
Submitted URL · @calvinyz · · Source ↗
https://calvinyz.github.io/corollary/
Source text · @calvinyz · · Source ↗
A few days ago, I got OpenAI's email that Prism will be officially shutting down on January 1. Having written my last paper in it, I was quite disappointed since I've never really enjoyed typing LaTeX by hand for long periods.
Source text · @calvinyz · · Source ↗
my weekend project was going to be building a local version of Prism that used on-device Apple FMs
Source text · @calvinyz · · Source ↗
It's an Overleaf-style editor with a PDF preview that compiles with TeX Live, and it installs TeX for you if you don't have it.
Source text · @calvinyz · · Source ↗
To use the AI features, select text and press Cmd-K, and you can accept or reject the diff.
Source text · @calvinyz · · Source ↗
If you have a handwritten formula that you want to insert, you can place your cursor where you want to insert and drop in a photo, which GLM-OCR turns into LaTeX locally since Apple's OCR doesn't handle math.
Source text · @calvinyz · · Source ↗
While this limits capabilities like full document edits, you can already point it at Ollama or your own API key, and I'm sure the models will catch up soon.
Source text · @calvinyz · · Source ↗
Also, it needs an Apple silicon Mac, and the AI needs macOS 26 with Apple Intelligence.
Source text · @calvinyz · · Source ↗
Github: https://github.com/calvinyz/corollary