LaTeX vs Typst — A Practical Comparison
Typst is a modern typesetting system that compiles in milliseconds and uses a cleaner syntax than LaTeX. This page compares the two side by side so you can choose the right tool — or migrate between them.
Key Differences
Syntax. LaTeX uses backslash commands (\alpha,\frac{a}{b}). Typst uses plain identifiers and functions (alpha, a / b). Typst's syntax is more consistent and easier to learn.
Compilation. LaTeX compiles a full document with pdfLaTeX or XeLaTeX, which can take seconds to minutes. Typst compiles in milliseconds and watches your file for live preview, re-rendering the PDF as you type with a browser-like hot-reload workflow.
Error messages. LaTeX error output is famously cryptic and stops compile at the first problem. Typst reports precise line-and-column diagnostics with suggestions, and it often keeps compiling so you can fix errors interactively instead of hunting through logs.
Ecosystem. LaTeX has decades of packages (amsmath, biblatex, tikz) and journal templates. Typst's package system is younger but growing fast, with first-class support for math, tables, and bibliography.
Adoption. Most journals still require LaTeX. Typst is popular for theses, lecture notes, and internal documents. Many people use Typst for drafting and LaTeX for final submission.
When to Use Which
The right choice depends on your destination. If a journal, conference, or university hands you a LaTeX template, use LaTeX — the template already encodes the required formatting and citation style, and fighting it with another tool wastes weeks. If you control the output format, Typst often finishes the job faster thanks to its speed and clarity.
| Scenario | Recommendation | Why |
|---|---|---|
| Journal submission | LaTeX | Nearly every journal imposes a LaTeX (.tex) template and rejects other formats. |
| PhD thesis | Either | Languages and style guides vary. Today both handle theses well; check your university template. |
| Lecture notes & drafts | Typst | Instant live preview and fast compile make iteration effortless, and the cleaner syntax is friendlier for notes. |
| Math-only worksheets | Either | For pure math both are excellent. Typst is faster to start; LaTeX has more prebuilt packages. |
| Markdown + math, or docs-as-code | Typst | Typst is designed around source files and version control (Git), like a richer Markdown. |
| Complex bibliographies / many packages | LaTeX | Decades of mature packages (biblatex, tikz, amsmath) that Typst is still catching up on. |
Syntax Comparison
Math in both systems sits inside dollar signs. The difference is how symbols and structures are expressed: LaTeX uses backslash commands with braces for arguments; Typst uses identifiers and function calls with parentheses.
Greek letters drop the backslash
Lower- and uppercase Greek keep the same pattern
Fractions use natural slash notation
Radicals use function syntax
Superscripts use ^; groups use parentheses
Subscripts use _; multi-char subscripts are grouped
Integrals use `integral`; differentials use `dif`
Sums use the same subscript pattern
Semicolons separate rows, commas separate columns
Blackboard bold uses doubled letters
Bold uses a function rather than a command
Both use the same name without the backslash
Text inside math uses `ut` (unicode text)
Vectors use an arrow function
Tooling, Editors & Ecosystem
Both systems are source-text based, so they fit version control, diffing, and collaborative workflows. LaTeX is supported by every editor — Overleaf pioneered browser-based LaTeX collaboration, while VS Code extensions like LaTeX Workshop provide live preview and building. Typst ships an official web app and VS Code extension with a built-in compiler, so there is less tooling to configure and fewer failure points.
Package management also differs in practice. LaTeX distributions (TeX Live, MiKTeX) install hundreds of packages system-wide, and you select them with \usepackage. Typst downloads packages on demand from its registry when you write #import "@preview/...". For most documents today the practical gap is small; where it matters is niche academic formatting (elkart diagrams, specific citation styles, legacy layouts) where LaTeX's accumulated ecosystem is unmatched.
A Realistic Migration Workflow
Most teams do not migrate a whole corpus at once. A practical pattern: keep LaTeX for documents that must match a journal template or a shared build, and write new internal documents — notes, problem sets, reports, slide decks — in Typst. For each symbol or snippet you need while migrating, look it up in theTypst cheatsheet, which lists every LaTeX symbol next to its Typst equivalent. Symbol-level mapping covers the bulk of any migration; document-level constructs (citations, cross-references, figures) are where manual review is required.
LaTeX vs Typst FAQ
Is Typst better than LaTeX?▼
Neither is universally better. LaTeX has decades of package ecosystem, journal templates, and community knowledge. Typst compiles in milliseconds, has a cleaner syntax, and better error messages, but a smaller package ecosystem. Many researchers use both: LaTeX for journal submissions, Typst for drafts and notes.
How fast is Typst compared to LaTeX?▼
Typst compiles a 100-page document in milliseconds and has a live preview that recompiles while you type. LaTeX with pdfLaTeX or XeLaTeX typically takes tens of seconds to minutes for the same document. If you constantly recompile to check your layout, the difference is immediately noticeable.
Can I convert LaTeX to Typst automatically?▼
There is no perfect automatic converter because the two systems have different semantics. The LaTeXTool symbol directory shows the Typst equivalent for every symbol, which helps with manual migration. For full documents, tools like pandoc handle basic conversion but often need manual cleanup.
Does Typst replace LaTeX for academic papers?▼
Not yet. Most journals still require LaTeX submissions. Typst is gaining adoption for theses, lecture notes, and preprints because it is faster and easier to learn. Check your target journal's submission guidelines before committing to Typst.
How do I write math in Typst?▼
In Typst, math mode uses dollar signs like LaTeX: $x^2$. Greek letters are written without backslashes ($alpha$), fractions use slashes ($a / b$), and functions use parentheses ($sqrt(x)$). Spaces inside math are ignored, so write explicit grouping for multiplication: $a b$ is a single variable sequence.
Is Typst free and open source?▼
Yes. Typst is open source (MIT-licensed) and free to use. The Typst web app is free for personal use. LaTeX is free too, so cost is not a deciding factor between them.
How do Typst and LaTeX handle references and citations?▼
LaTeX uses BibTeX/BibLaTeX with .bib files and mature citation styles for every journal. Typst has a built-in bibliography system (BibLaTeX and CSL support) that is simpler but less extensive. For a single document, Typst's approach is much easier; for journal styles, LaTeX wins.
Which should a beginner learn first?▼
If your goal is to submit to journals, learn LaTeX, because it is required. If you want to typeset homework, notes, or reports quickly, Typst has a gentler learning curve and better error messages. Many beginners start with Typst to learn the concepts, then pick up LaTeX when a venue requires it.