Typst

Typst ( ) is an open-source typesetting system and corresponding markup language.

Uses your system voice; voice and rate in settings.

≈ 9 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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]

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]

History

edit edit source

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

edit edit source

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

edit edit source

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

edit edit source

The example below shows the input to Typst and the corresponding output from the system:

Input (Source code) Output
#set page(paper: "a4") #set text(lang: "en") #set par(justify: true) // Comments are introduced by a double slash = Fibonacci Sequence // '=' starts a heading In mathematics, the Fibonacci sequence is a sequence in which each element is the sum of the two elements that precede it. @wikipedia-fibonacci // '@' references figures, sections or sources found in the bibliography The Fibonacci sequence is defined through the recurrence relation $F_n = F_(n-1) + F_(n-2)$. It can also be expressed in _closed form:_ // '_' emphasizes the enclosed text $ F_n = lr(floor.l 1 / sqrt(5) phi.alt^n ceil.r), quad phi.alt = (1 + sqrt(5)) / 2 $ //'$' parses the enclosed text as math formulas #let count = 14 #let nums = range(1, count + 1) #let fib(n) = ( if n <= 2 { 1 } else { fib(n - 1) + fib(n - 2) } ) // '#' switches to 'code mode' and 'let' defines variables such as 'count' and functions such as 'fib(n)' The first #count numbers of the infinite sequence are: #align(center, table( columns: count, ..nums.map(n => $F_#n$), ..nums.map(n => str(fib(n))), ) ) #bibliography(bytes(```yaml wikipedia-fibonacci: type: article title: Fibonacci Sequence url: value: https://en.wikipedia.org/wiki/Fibonacci_sequence date: 2026-02-16 ```.text)) // A bibliography may also be created from Hayagriva (a YAML-based format developed for Typst) or BibLaTeX files on disk // Code mode can further be used to embed variables in content, create graphics such as tables, embed information from other files, or set rules

References

edit edit source
  1. ^ "Typst: About us". Typst. Retrieved 2025-11-08. Wikipedia revision 1373695378, retrieved 2026-11-19
  2. ^ "Release 0.15.1". 17 July 2026. Retrieved 18 July 2026. Wikipedia revision 1373695378, retrieved 2026-11-19
  3. ^ "Brand". Typst. Retrieved 2026-04-14. Wikipedia revision 1373695378, retrieved 2026-11-19
  4. ^ a b c d e f g h i j Phillips, Lee (2025-09-17). "Typst: a possible LaTeX replacement". LWN.net. Retrieved 2025-11-01. Wikipedia revision 1373695378, retrieved 2026-11-19
  5. ^ Corbi, Alberto (April–June 2024). "Manuscritos digitales en Física" [Digital Manuscripts in Physics]. Revista Española de Física (in Spanish). 38 (2). Madrid: Real Sociedad Española de Física. ISSN 0213-862X. Retrieved 2025-11-08. Wikipedia revision 1373695378, retrieved 2026-11-19
  6. ^ Basu, Saikat (2026-02-14). "I stopped wasting time on formatting in Word once I found this app". MakeUseOf. Retrieved 2026-03-26. Wikipedia revision 1373695378, retrieved 2026-11-19
  7. ^ Werner, John. "How To Scale NotebookLM". Forbes. Archived from the original on 2026-01-13. Retrieved 2026-03-26. Wikipedia revision 1373695378, retrieved 2026-11-19
  8. ^ Voynov, Andrey; Corbi, Alberto; López-Olive, Pau; Gil, David (2026-02-18). "Typst: A Modern Typesetting Engine for Science". International Journal of Interactive Multimedia and Artificial Intelligence. doi:10.9781/ijimai.2026.2269. ISSN 1989-1660. Wikipedia revision 1373695378, retrieved 2026-11-19
  9. ^ a b Lisse, Eberhard W. (2023-07-14). "Introduction to Typst". TUGboat. 44 (2): 315–316. doi:10.47397/tb/44-2/tb137abstracts. ISSN 0896-3207. Wikipedia revision 1373695378, retrieved 2026-11-19
  10. ^ a b c d e Pardue, David (November 2024). "Exploring Typst: A LaTeX Alternative". The PCLinuxOS Magazine (214): 8. Wikipedia revision 1373695378, retrieved 2026-11-19
  11. ^ "Typst: Legal information". Typst. Retrieved 2024-12-02. Wikipedia revision 1373695378, retrieved 2026-11-19
  12. ^ a b Phillips, Lee (2025-06-04). "The importance of free software to science". LWN.net. Retrieved 2025-11-02. Wikipedia revision 1373695378, retrieved 2026-11-19
  13. ^ a b Barth, Gregor (2024-10-13). "Typst – Ein Next-Gen-Textsatzsystem?" [Typst – A Next-Gen Typesetting System? - Teuderun] (in German). Retrieved 2025-06-21. Wikipedia revision 1373695378, retrieved 2026-11-19
  14. ^ "Media Types". iana.org. IANA. 2026-04-09. Retrieved 2026-04-12. Wikipedia revision 1373695378, retrieved 2026-11-19
  15. ^ Haug, Martin (June 2022). Fast Typesetting with Incremental Compilation (Thesis). doi:10.13140/RG.2.2.15606.88642. Wikipedia revision 1373695378, retrieved 2026-11-19
  16. ^ Mädje, Laurenz. Typst A Programmable Markup Language for Typesetting (PDF) (Thesis). Archived from the original (PDF) on 2023-01-16. Retrieved 2024-04-27. Wikipedia revision 1373695378, retrieved 2026-11-19
  17. ^ "Typst starts its public beta test and goes open source". 2023-03-21. Retrieved 2025-06-21. Wikipedia revision 1373695378, retrieved 2026-11-19
  18. ^ "Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1". GitHub. 2025-10-28. Retrieved 2026-04-03. Wikipedia revision 1373695378, retrieved 2026-11-19
  19. ^ Hersel, Ralf (2023-03-22). "Typst ist einfacher als LaTeX" [Typst is easier than LaTeX] (in German). Verein GNU/Linux.ch. Retrieved 2025-06-21. Wikipedia revision 1373695378, retrieved 2026-11-19
  20. ^ "Author guidelines". International Journal of Interactive Multimedia and Artificial Intelligence. 2025-10-09. Retrieved 2026-01-02. Wikipedia revision 1373695378, retrieved 2026-11-19
  21. ^ "Submissions | JUTI: Jurnal Ilmiah Teknologi Informasi". juti.if.its.ac.id. Retrieved 2026-04-15. Wikipedia revision 1373695378, retrieved 2026-11-19
  22. ^ "Typst 0.14: Now accessible". typst.app. Retrieved 2025-11-02. Wikipedia revision 1373695378, retrieved 2026-11-19
  23. ^ Myriad-Dreamin (2024-12-09), Myriad-Dreamin/tinymist, retrieved 2024-12-09 Wikipedia revision 1373695378, retrieved 2026-11-19
  24. ^ Wickham, Charlotte (2024-01-24). "Quarto 1.4". Quarto. Retrieved 2024-12-02. Wikipedia revision 1373695378, retrieved 2026-11-19
  25. ^ MacFarlane, John (2023-03-23). "Release pandoc 3.1.2 · jgm/pandoc". GitHub. Retrieved 2024-12-02. Wikipedia revision 1373695378, retrieved 2026-11-19
  26. ^ Chandra, Sarat; Sharma, Karan (2024-02-14). "1.5+ million PDFs in 25 minutes". Zerodha Tech Blog. Retrieved 2024-12-02. Wikipedia revision 1373695378, retrieved 2026-11-19
  27. ^ Cockett, Rowan; Koch, Franklin; Purves, Steve (2025-07-10). SciPy Proceedings: An Exemplar for Publishing Computational Open Science. 24th Python in Science Conference. doi:10.25080/frwc3537. Wikipedia revision 1373695378, retrieved 2026-11-19
edit edit source

Text derived from https://en.wikipedia.org/w/index.php?oldid=1373695378 under CC BY-SA 4.0; modifications have been made.

Words in each sectionExampleExampleExample: 281 words281Typesetting systemTypesetting systemTypesetting system: 255 words255Compatibility and conve…Compatibility and convertersCompatibility and converters: 157 words157HistoryHistoryHistory: 95 words95
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

Provenance

snapshot enwiki-001373695378 · captured 2026-09-07 · ledger · version history

Cite this page as: encyclopegia.org, “Typst”, snapshot enwiki-001373695378. https://encyclopegia.org/a/typst