Typst
Open-source typesetting system
From Wikipedia, the free encyclopedia
Typst (/ˈtaɪpst/)[3] is an open-source typesetting system and corresponding markup language.[4][5] The Typst compiler is free software and is distributed under the Apache License 2.0 license.[4][6][7][8]
| Typst | |
|---|---|
| Original authors | Martin Haug, Laurenz Mädje[1] |
| Developer | Typst GmbH |
| Initial release | March 21, 2023 |
| Stable release | |
| Written in | Rust |
| Platform | Cross-platform |
| Type | Typesetting |
| License | Apache-2.0 |
| Website | typst |
| Repository | github |
The system is designed for writing and formatting scientific texts and mathematical formulas. Typst supports simple formatting for common formatting applications, customizable functions, an integrated scripting language, and mathematical typesetting. It is designed to be an alternative to LaTeX.[4][9][10]
The compiler is developed by Typst GmbH,[11] which maintains and supports the software's development, and operates a proprietary[12] collaborative cloud-based editor, offering both free and paid services[10] in a manner similar to Overleaf, which allows users to preview their work while writing and includes a collaboration feature.[13]
.typtext/vnd.typst[14]| Typst | |
|---|---|
| Filename extension | .typ |
| Internet media type | text/vnd.typst[14] |
| Developed by | Typst GmbH |
| Type of format | Typesetting |
| Open format? | Yes |
| Free format? | Yes |
| Website | typst |
History
Typst has been developed since 2019[4] and was first published in 2022 by Laurenz Mädje and Martin Haug for their master's theses at Technische Universität Berlin.[15][16] In March 2023, the Typst compiler was released as open-source, and the beta version of its web app was simultaneously announced.[17] As of 2025, the web app is out of beta.[citation needed]
According to GitHub, Typst was the second fastest-growing programming language by percentage in 2025.[18]
Typesetting system
Typst is a markup language, similar to Markdown, "designed to be as powerful as LaTeX while being much easier to learn and use."[9] Its compiler is incremental and function calls are memoized for quick update of the document preview.[10][4]
Typst has three modes, for markup, math, and code. By default, the user is in markup mode, which is used primarily for prose. Math mode is applied to text enclosed between dollar signs ($) and is designed for writing mathematical formulas.[10][4] Typst's native scripting language is executed in code mode and marked with a hash symbol (#) in front of the command or block.[19] Markup mode uses dedicated syntax for common formatting elements such as headings (=), emphasis (__), strong emphasis (**), and lists (+, -, /), while markup lacking dedicated syntax can be accessed by calling functions through code mode.[4]
Unlike LaTeX, there are no minimum requirements for the structure of a document. A preamble is not needed, and document properties need not be set if not modified from their defaults. Furthermore, many features which need external packages in LaTeX (such as bibliography support) are implemented natively in Typst.[10] Typst supports community-provided packages and templates, however compared with LaTeX, Typst has relatively fewer specialized packages available.[4]
As of April 2026, Ijimai and JUTI are the only journals that accept manuscripts written in Typst.[12][20][21]
Compatibility and converters
Typst has native document export for PDF, PNG and SVG formats, with PDF/A[4] and PDF/UA-1 output available.[22]
Typst documents are written in plain text and compiled to produce output files (such as PDFs). A language server has been developed for Typst that can be installed for supported text editors (such as VS Code and Neovim) providing live previews, error information, and enabling users to compile documents directly within the editor,[13][23] akin to the official web interface. Typst has also been integrated into other software, notably Quarto,[24] and is supported as an input and output format in Pandoc.[4][25]
Zerodha adopted Typst for generating transactions records citing its ease of use and performance, transitioning from LuaLaTeX.[26] Scientists working on SciPy conference proceedings adopted Typst for PDF generation.[27]
Example
The example below shows the input to Typst and the corresponding output from the system: