1. The short answer
Use LaTeX when someone else sets the rules: a journal, a conference or a university with its own class file. Use Typst when the document is yours, such as notes, reports, slides or a CV, and you want to write quickly and see the result at once.
| LaTeX | Typst | |
|---|---|---|
| First released | 1984, on top of TeX (1978) | 2023, as open source |
| Syntax | Commands with backslashes and environments | Light markup, with functions for the rest |
| Compiling | Several passes over the whole document | Incremental: the PDF follows while you type |
| Error messages | Often far from the cause | Point to the place, in plain words |
| Packages | Thousands on CTAN, shipped with TeX Live | A growing collection on Typst Universe |
| Journals and conferences | Accepted almost everywhere, often required | Accepted by few so far |
| Styling the document | Macros and packages in the preamble | set and show rules, in the same language |
| Learning curve | Steep, with a great deal of documentation | Gentle, with less material available |
2. The same document in both
Here is a title, a section, some formatting and a list. In LaTeX everything is a command or an environment, and the document needs a class and a preamble before the text starts.
In Typst the common things have a short markup: = for a heading, asterisks for bold, underscores for emphasis, a hyphen for a list item. Anything else is a function call that starts with #.
3. Math
LaTeX math is the notation most scientists already know, and many other tools accept it. Fractions, sums and accents are commands.
Typst math reads closer to how you would say it: a slash makes a fraction, names such as sigma and sum need no backslash, and a space after the opening dollar sign turns an inline formula into a display one.
4. Figures, references and bibliography
Both systems number figures, resolve references and format the bibliography from a .bib file. LaTeX does it with floats, labels and a separate bibliography program.
Typst attaches the label to the figure and uses the same @ for references and citations. The bibliography is one function, with no extra program to run.
- Typst reads the BibTeX files you already have, so a bibliography moves from one system to the other unchanged.
- For drawings in the source, LaTeX has TikZ and pgfplots, with decades of examples; the Typst equivalents are younger.
- For tables, both have a grid of cells: tabular in LaTeX, the table function in Typst.
5. Compiling and errors
LaTeX reads the whole document on every run, and needs more than one run, plus BibTeX or Biber, before references and bibliography are right. A long document takes seconds to minutes. An error may be reported many lines after its cause.
Typst compiles incrementally: after a change it redoes only what depends on it, so the PDF is ready in a fraction of a second even for long documents, and references are resolved in the same run. Its errors name the place and say what was expected.
6. Packages, templates and who accepts what
This is where LaTeX is hard to replace. Almost every journal, conference and university publishes a LaTeX class, and many accept only LaTeX or Word sources. CTAN holds thousands of packages, for anything from chemistry to chess.
Typst has a package and template collection, Typst Universe, that grows quickly, but few publishers accept Typst sources yet. Before you start a paper in Typst, check what the venue asks for: if it wants the source files, it almost certainly wants LaTeX.
- Submitting to a journal or a conference: LaTeX, with the venue's template.
- A thesis with an official university class: LaTeX.
- Notes, reports, homework, a CV, slides: either; Typst is quicker to write.
- A document you will hand over as a PDF only: either.
7. How to choose
Answer these questions in order and stop at the first yes.
- Does a publisher or a university require a LaTeX class or LaTeX sources? Use LaTeX.
- Do your co-authors already write LaTeX and not Typst? Use LaTeX.
- Do you rely on a LaTeX package with no Typst counterpart, such as a specific TikZ library? Use LaTeX.
- Is the document yours to format, and would you rather spend the time writing than debugging? Try Typst.
You don't have to pick one for life. Many people keep LaTeX for papers and use Typst for everything around them.