Typst: A Modern Alternative to LaTeX for Typesetting

Learn about Typst, the modern markup-based typesetting system. Free browser-based Typst compiler with WASM included.

Typst is a modern typesetting language designed as a more intuitive alternative to LaTeX. It compiles to high-quality PDFs and runs entirely in the browser via WebAssembly.


Typst vs LaTeX

Feature Typst LaTeX
Syntax Clean, modern Verbose, many \begin{}
Compile speed Instant (Rust) Slow (TeX)
Built-in math $x^2$ \(x^2\) or $$x^2$$
Error messages Clear, line-numbered Cryptic
Package system Built-in CTAN, MiKTeX
Learning curve Gentle Steep

Basic Typst Syntax

Headings

= Level 1 Heading
== Level 2 Heading
=== Level 3 Heading

Formatting

*bold*
_italic_
`code`
~~strike-through~~

Lists

- Bullet item
- Another item

+ Ordered item
+ Another

Math

Inline: $x^2 + y^2 = z^2$
Display: $ sum_(i=1)^n i = (n(n+1))/2 $

Why Use Typst?

  • No setup — runs in the browser, no installation needed
  • Version control friendly — plain text, easy to diff
  • Modern features — colors, layouts, opacity, gradients
  • Scripting — built-in programming constructs (#let, #if, #for)
  • Bibliographies — native .bib support with CSL styles

Ready to try it? Use our free Typst compiler to write and compile Typst documents in your browser. All processing happens locally via WebAssembly.


Try our Typst Compiler

Learn about Typst, the modern markup-based typesetting system. Free browser-based Typst compiler with WASM included.

ENDOFFILE