Typst is a modern typesetting engine that produces print-quality PDFs with proper kerning, ligatures, and page breaking — essentially what LaTeX does, but without the decades of accumulated complexity. It’s what powers Cambric’s formatting output, and it’s the reason a $109 desktop app can produce book interiors that compete with tools costing twice as much. If you’ve ever wondered why some self-published books look typeset and others look like a Word document, the answer is usually the engine doing the work behind the scenes.

Here’s what Typst is, why it matters, and what it means for your books.

The problem Typst solves

For over 40 years, LaTeX has been the gold standard for professional typesetting. Academic papers, technical books, mathematics journals — if the typography needed to be perfect, LaTeX was the tool. Its output quality is genuinely excellent. The kerning is precise, the page breaking is intelligent, and the hyphenation algorithms have been refined across four decades of use.

The problem is that LaTeX is brutal to use. It was created by Donald Knuth in 1978 (as TeX, with LaTeX arriving in 1984), and the interface reflects its era. Setting a font requires arcane package incantations. Debugging errors means deciphering cryptic log files. The learning curve isn’t a curve — it’s a wall. Most LaTeX users report needing 40-100 hours of practice before they can produce documents without constantly consulting documentation.

This created a gap in book formatting. The best typesetting engine was inaccessible to anyone who wasn’t a programmer or academic. So most indie authors ended up with tools built on simpler rendering engines — tools that produce adequate output but can’t match what a proper typesetting system delivers.

Enter Typst

Typst launched in 2023 as a ground-up reimplementation of the typesetting concept. The founders — Laurenz Mager and Martin Haug, both from the Technical University of Berlin — built it as their master’s thesis project, then turned it into a company. The core insight was simple: LaTeX’s output quality comes from its algorithms, not its syntax. You can keep the algorithms and replace everything else.

Since launch, Typst has grown rapidly. The project’s GitHub repository has accumulated over 35,000 stars, making it one of the fastest-growing typesetting projects in history. The compiler is written in Rust, which means it’s fast — compiling a 300-page book takes seconds, not the minutes that complex LaTeX documents sometimes require.

But the real innovation isn’t speed. It’s the typesetting model.

How Typst handles page breaking

Most word processors and simple formatting tools lay out text line by line, top to bottom. When they reach the bottom of a page, they break. This produces acceptable results most of the time, but it creates problems: widows (a single line of a paragraph stranded at the top of a page), orphans (a single line stranded at the bottom), and awkward page breaks that split content in visually jarring places.

Typst treats page breaking as a global optimization problem. Instead of making local decisions (“does this line fit on this page?”), it evaluates the entire document and finds the combination of page breaks that minimizes typographic penalties — things like widows, orphans, short final lines, and uneven page lengths. This is the same approach LaTeX uses, and it’s why both systems produce output that “feels right” even when you can’t articulate why.

The difference matters most in book-length documents. In a 280-page novel, there are hundreds of potential page break points. A line-by-line approach might produce 15-20 problematic breaks. A global optimization approach might produce 2-3, or none. That’s the gap between “looks like it was formatted in Word” and “looks like it was typeset by a professional.”

Kerning, ligatures, and optical margins

Beyond page breaking, Typst handles the fine typography that separates professional output from amateur:

Kerning is the adjustment of space between specific letter pairs. The letters “AV” need to be closer together than “AI” because of how the diagonal strokes interact visually. Proper kerning is built into professional fonts, but the rendering engine has to actually apply it. Word processors sometimes do; sometimes they don’t. Typst always does.

Ligatures are combined letterforms for specific pairs like “fi,” “fl,” “ff,” and “ffi.” In a properly ligated font, the dot on the “i” merges with the overhang of the “f” to create a single, harmonious glyph. Typst applies standard ligatures automatically when the font supports them.

Optical margin alignment (also called hanging punctuation) allows small characters like hyphens and quotation marks to extend slightly past the text margin, creating the illusion of a perfectly straight edge. It’s subtle, but it contributes to the overall impression of quality.

These aren’t esoteric concerns. Open any traditionally published novel and you’ll see all three in action. Readers may not know the terminology, but they register the difference. For a broader look at what separates amateur and professional formatting, see our comparison of formatting software.

Why this matters for indie authors

You don’t need to learn Typst. That’s the key point.

Typst is an engine, not a user interface. In the same way that you don’t need to understand how a car engine works to drive, you don’t need to write Typst markup to benefit from its output. Cambric wraps Typst in an author-friendly GUI — you pick your font, set your margins, choose a template, and the app generates the Typst code, compiles it, and hands you a print-ready PDF. The typesetting quality comes from the engine; the usability comes from the interface.

This is the architectural decision that lets a $109 desktop app produce output quality that rivals tools built on proprietary rendering engines. Vellum built their own formatter over years of development. Atticus uses a web-based renderer. Cambric uses a battle-tested open-source typesetting engine that handles the hard problems — page breaking, kerning, ligatures, hyphenation — at a level that would take years to replicate from scratch.

It also means the output keeps improving. Typst is under active development with a growing contributor community. When the engine improves its hyphenation or page-breaking algorithms, Cambric inherits those improvements automatically. That’s the advantage of building on open-source rather than a proprietary foundation.

The technical differentiator, in plain terms

If someone asks you why one formatting tool produces better-looking output than another, the answer is almost always the typesetting engine. The fonts are the same. The margins are the same. But how the engine arranges text on the page — how it breaks paragraphs, kerns letters, handles hyphenation, and optimizes page breaks — that’s where the difference lives.

Typst brings LaTeX-grade typesetting to a modern, fast, maintainable codebase. Cambric brings Typst to authors who just want their book to look right. If you’re curious about how different tools approach this problem, our formatting software comparison breaks down the technical architecture behind each option, and our piece on why formatting is not the finish line puts the whole process in context.

Your readers won’t know what Typst is. But they’ll see the result on every page.