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.

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.

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