Typst: A Modern Typesetting Engine for Science

Authors

DOI:

https://doi.org/10.9781/ijimai.2026.2269

Keywords:

Incremental Parsers, Markup Languages, Paper Composition, Performance, Reproducibility, Typesetting Systems

Abstract

Typst is a modern, markup-based document preparation system designed for producing professional documents with a strong emphasis on simplicity, performance, and powerful scripting for structured content and automated layout and styling. This paper presents a comprehensive review of the platform and its surrounding ecosystem through the systematic and comparative analysis, highlighting key features, some unique to this approach, that are relevant to both general purpose and niche use cases. It introduces the system and compares its output and functionality with LaTeX, outlines the historical development of document technologies and the core layout and composition algorithms they rely on, and explains the language through visual examples accompanied by corresponding source code. The paper also examines the official Typst compiler and web application, as well as adoption trends and ecosystem growth. It concludes with cross-domain case studies in Physics, Math, and Computer Science, intended for beginners and readers interested in modern document workflows and systems.

Downloads

Download data is not yet available.

Author Biographies

Andrey Voynov, Bauman Moscow State Technical University

Andrey Voynov is a master’s student in software engineering with a strong passion for programming and free/open-source software. He began coding in QBasic and Pascal during elementary school, actively competed in Informatics Olympiads, and earned a 2nd-degree diploma at the 2020 All-Russian Forum of Scientific Youth. Andrey has created hundreds of projects, contributed to many others, and since discovering Typst in 2023, uses it exclusively for documents and slides, promoting its adoption in Russia through teaching, curriculum updates, and feature contributions.

Alberto Corbi, Universidad Internacional De La Rioja

Alberto Corbi is a tenured professor at the Universidad Internacional de La Rioja (UNIR). He is currently involved in a variety of research fields: e-learning standards, systems interoperability, medical physics, radiological protection, STEAM education, the social implications of technology (with emphasis on social networks), e-health advancement. He has published over 20 research papers on all these subjects, and he is a speaker and knowledge disseminator on radios, podcasts, scientific workshops, magazines, academic settings, and outreach events.

Pau López-Oliver, Universitat de València

Pau López-Oliver is a theoretical physicist with a M.Sc. in Advanced Physics from Universitat de València and a B.Sc. in Physics from the University of Murcia. His research centers on understanding particle creation in quantum field theory in curved and dynamical backgrounds. He is dedicated to advancing fundamental physics while promoting science communication. He currently teaches in the Physics degree program at the Universidad Internacional de La Rioja (UNIR).

David Gil, Instituto Central Meteorológico

David Gil works at the Spanish weather service (AEMET) as an IT Specialist. He is currently pursuing a bachelor’s degree in Physics at the Universidad Internacional de La Rioja (UNIR) with the goal of becoming a meteorologist and working with Numerical Weather Prediction systems. His work involves programming (preferring functional programming languages), high-performance computing, and developing web applications that deliver weather forecast products to forecasters. He is also engaged in projects related to containerization technologies and workflow automation, aiming to bridge computer science and meteorology.

References

D. E. Knuth, The Computers & Typesetting, Vol. A: The Texbook. MA, USA: Addison-Wesley Longman Publishing Co., Inc., 1986.

L. Lamport, “LaTeX: a Document Preparation System.” Addison-Wesley Reading, MA, USA, 1994.

J. Voegler, J. Bornschein, and G. Weber, “Markdown – A Simple Syntax for Transcription of Accessible Study Materials,” in Computers Helping People with Special Needs: 14th International Conference, ICCHP 2014, Paris, France, July 9-11, 2014, Proceedings, Part I 14, 2014, pp. 545–548.

W. J. Doherty and W. G. Pope, “Computing as a tool for human augmentation,”IBM Systems Journal, vol. 25, no. 3.4, pp. 306–320, 1986.

B. Ewelina, P. Emilia, and W. Marcin, “LaTeX in Cloud—Unknown Tool in Technical Documents' Creation,” in Smart Innovations in Engineering and Technology, 2020, pp. 75–89.

B. Chagnon, “The Publishing Business: Desktop Publishing Software,” Journal of Electronic Publishing, vol. 8, no. 1, 2002.

D. Clark, “Content Management and the Separation of Presentation and Content,” Technical communication quarterly, vol. 17, no. 1, pp. 35–60, 2007.

T. Hassan and A. Hunter, “Knuth-Plass Revisited: Flexible Line-Breaking for Automatic Document Layout,” in Proceedings of the 2015 ACM Symposium on Document Engineering, 2015, pp. 17–20.

D. E. Knuth and M. F. Plass, “Breaking paragraphs into lines,” Software: Practice and Experience, vol. 11, no. 11, pp. 1119–1184, Nov. 1981.

S. Feiner, “A Grid-Based Approach to Automating Display Layout,” Book Readings in Intelligent User Interfaces, pp. 249–254, 1998.

M. F. Plass, Optimal Pagination Techniques for Automatic Typesetting Systems. CA, USA: Stanford University, 1981.

N. P. Rougier and B. Esfahbod, “Digital typography: 25 years of text rendering in computer graphics,” ACM SIGGRAPH 2018 Courses. pp. 1–29, 2018.

S. Toledo, “Typesetting Hebrew with LaTeX,” Eutupon, vol. 6, pp. 39–56, 2001.

A. Fisher, “Incremental algorithms for interactive text formatting,” Journal of Systems and Software, vol. 16, no. 1, pp. 3–16, Sept. 1991.

M. Elkhayati, Y. Elkettani, and M. Mourchid, “Segmentation of Handwritten Arabic Graphemes Using a Directed Convolutional Neural Network and Mathematical Morphology Operations,” Pattern Recognition, vol. 122, 2022.

D. Barron and M. Rees, Text processing and typesetting with UNIX. MA, USA: Addison-Wesley Longman Publishing Co., Inc., 1987.

S. J. DeRose, The SGML FAQ book: Understanding the Foundation of HTML and XML, vol. 7. NY, USA: Springer Science+Business Media, 1997.

T. W. Cole, W. H. Mischo, R. Ferrer, and T. G. Habing, “Using XML, XSLT, and CSS in a Digital Library,” in Proceedings of The Annual Meeting-American Society for Information Science, 2000, pp. 430–439.

M. Dominici, “An overview of Pandoc,” TUGboat, vol. 35, no. 1, pp. 44–50, 2014.

M. Pégourié-Gonnard, “A guide to LuaLaTeX,” DANTE e.V., vol. 5, 2013.

F. Mittelbach, “LaTeX’s hook management.” 2024.

Y. Xie, “knitr: A Comprehensive Tool for Reproducible Research in R,” Implementing reproducible research. Chapman, Hall/CRC, pp. 3–31, 2018.

F. Leisch, “Sweave: Dynamic Generation of Statistical Reports Using Literate Data Analysis,” in COMPSTAT: Proceedings in computational statistics, 2002, pp. 575–580. doi: https://doi.org/10.1007/978-3-642-57489-4_89.

B. Baumer and D. Udwin, “R Markdown,” Wiley Interdisciplinary Reviews: Computational Statistics, vol. 7, no. 3, pp. 167–177, 2015.

J. Bettels and F. A. Bishop, “Unicode: A Universal Character Code,” Digital Technical Journal, vol. 5, no. 3, pp. 21–31, 1993.

S. Kottwitz, “LaTeX Graphics with TikZ: A practitioner’s guide to drawing 2D and 3D images, diagrams, charts, and plots,” 2023, Packt Publishing, Birmingham, UK.

S. Tosi, Matplotlib for Python Developers, vol. 307. Birmingham, UK: Packt Publishing, 2009.

A. Corbi, D. Burgos, and A. M. Pérez, “Cloud-Operated Open Literate Educational Resources: The Case of the MyBinder,” IEEE Transactions on Learning Technologies, vol. 17, pp. 893–902, 2023.

D. Datta, “Bibliography with the BIBTeX Program,” LaTeX in 24 Hours: A Practical Guide for Scientific Writing, pp. 141–151, 2017.

M. Fenner, K. Scheliga, and S. Bartling, “Reference management,” Opening science: The Evolving Guide on How the Internet is Changing Research, Collaboration and Scholarly Publishing, pp. 125–137, 2014.

M. E. Haug, “Fast Typesetting with Incremental Compilation,” 2022. doi: https://doi.org/10.13140/RG.2.2.15606.88642.

L. Mädje, “A Programmable Markup Language for Typesetting,” 2022. [Online]. Available: https://laurmaedje.github.io/programmable-markup-language-fortypesetting.pdf

S. Klabnik and C. Nichols, The Rust Programming Language, 2nd Edition. CA, USA: No Starch Press, 2023.

A. Haas et al., “Bringing the web up to speed with WebAssembly,” in Proceedings of the 38th ACM SIGPLAN conference on programming language design and implementation, 2017, pp. 185–200. doi: https://doi.org/10.1145/3062341.3062363

P. K. Janert, Gnuplot in Action: Understanding Data with Graphs. NY, USA: Simon and Schuster, 2016.

G. Lacombe, K. Masalygina, A. Tahiri, C. Adam, and C. Lauradoux, “Can

You Accept LaTeX Files from Strangers? Ten Years Later,” arXiv preprint arXiv:2102.00856, 2021.

S. Kim and J. Lee, “Analysis of Security Vulnerabilities and Personal Resource Exposure Risks in Overleaf,” Journal of The Korea Society of Computer and Information, vol. 29, no. 7, pp. 109–115, 2024.

A. Lombardi, WebSocket: Lightweight Client-Server Communications. CA, USA: O'Reilly Media, Inc., 2015.

A. Chaleplioglou and A. Koulouris, “Preprint paper platforms in the academic scholarly communication environment,” Journal of Librarianship and Information Science, vol. 55, no. 1, pp. 43–56, 2023.

J. Wright, “siunitx: A comprehensive (SI) units package,” TUGboat, vol. 32, no. 1, pp. 95–98, 2011.

M. E. Peskin and D. V. Schroeder, An Introduction to Quantum Field Theory. FL, USA: CRC Press, 2018. doi: https://doi.org/10.1201/9780429503559.

G. Giachetta, Advanced Classical Field Theory. Singapore: World Scientific, 2009.

E. R. Gansner, “Drawing graphs with Graphviz,” Technical report, AT&T Bell Laboratories, Murray, Tech. Rep, Tech. Rep., 2009.

M. Hofert and M. Kohm, “Scientific Presentations with LaTeX,” The PracTEX Journal, no. 2, 2010.

Downloads

Published

2026-02-18
Metrics
Views/Downloads
  • Abstract
    849
  • PDF
    595

How to Cite

Voynov, A., Corbi, A., López-Oliver, P., and Gil, D. (2026). Typst: A Modern Typesetting Engine for Science. International Journal of Interactive Multimedia and Artificial Intelligence, 1–13. https://doi.org/10.9781/ijimai.2026.2269

Issue

Section

Regular Articles

Most read articles by the same author(s)