editor
Typst Support
Modern scientific typesetting with Typst — simpler syntax, faster compilation.
Typst is a modern markup language for scientific documents. Clarity supports Typst as a first-class citizen alongside LaTeX.
Why Typst?
- Simpler syntax — no backslashes, no
\begin{}/\end{} - Faster compilation — incremental builds in milliseconds
- Modern features — built-in scripting, styling, and layout primitives
- Growing ecosystem — rapidly expanding package library
Example
typst
#set page(paper: "a4")
#set text(font: "New Computer Modern", size: 11pt)
= Introduction
This is a paragraph with *emphasis* and a citation @einstein1905.
$ E = m c^2 $Live Preview
Typst projects benefit from live preview mode — the PDF updates as you type, with no explicit compile step needed.
Typst Library Docs
The AI assistant has access to built-in Typst documentation. Ask it about any Typst function or syntax, and it will look up the official docs for you.
Was this helpful?
