TL;DR — Quick Summary

Typst is a modern markup-based typesetting system for academic papers, reports, and documents. Faster compilation, simpler syntax, and real-time preview compared to LaTeX.

Typst is what document typesetting looks like when designed from scratch for the modern era. Where LaTeX requires arcane incantations for basic formatting, Typst uses clean, readable markup that compiles to PDF in milliseconds.

Installation

# macOS
brew install typst

# Arch Linux
sudo pacman -S typst

# Cargo
cargo install --locked typst-cli

# Verify
typst --version

Quick Start

Create document.typ:

= My First Document

This is a paragraph with *bold* and _italic_ text.

== Section One

A numbered list:
+ First item
+ Second item
+ Third item

A bullet list:
- Item A
- Item B

== Math

The quadratic formula: $ x = (-b plus.minus sqrt(b^2 - 4a c)) / (2a) $

An inline equation: $E = m c^2$ is famous.

== Table

#table(
  columns: 3,
  [*Name*], [*Age*], [*City*],
  [Alice], [30], [NYC],
  [Bob], [25], [London],
)

Compile:

typst compile document.typ    # → document.pdf
typst watch document.typ      # Auto-recompile on save

Key Syntax

SyntaxResult
= HeadingLevel 1 heading
== SubheadingLevel 2 heading
*bold*bold
_italic_italic
`code`code
$ math $Inline math
$ math $ (block)Display math
@labelCitation/reference
#function()Scripting

Academic Features

// Bibliography
#bibliography("refs.bib")

// Citation
As shown by @author2024, the results...

// Figure with caption
#figure(
  image("plot.png", width: 80%),
  caption: [Experimental results],
) <fig:results>

// Cross-reference
See @fig:results for details.

// Footnote
This needs clarification#footnote[See appendix A].

Comparison

FeatureTypstLaTeXWordMarkdown
Compile speed~msseconds-minN/A~ms
Math supportExcellentExcellentGoodLimited
BibliographyBuilt-inBibTeX/BiberBuilt-inPandoc
TemplatesGrowingMassiveManyLimited
Learning curveLowHighLowLow
ScriptingBuilt-inTeX macrosVBANone
OutputPDFPDF/DVIDOCXHTML
Web editortypst.appOverleafOffice 365Various

Summary

  • Typst is a modern LaTeX alternative with millisecond compilation
  • Clean markup syntax: = headings, *bold*, $math$, #functions()
  • Built-in bibliography, citations, figures, tables, and cross-references
  • Scripting language for dynamic content and custom templates
  • Free open-source compiler + free web editor at typst.app