Typst Markup-Based Document Typesetting System
Typst is a modern markup-based typesetting system designed to replace LaTeX with a faster, easier-to-learn alternative. It features built-in markup, a scripting system, math typesetting, bibliography management, and incremental compilation for near-instant builds.
npx skills add agentskillexchange/skills --skill typst-markup-typesetting-system
Typst is an open-source, markup-based typesetting system built in Rust that compiles documents to PDF. Created as a modern alternative to LaTeX, Typst dramatically reduces the complexity of document preparation while retaining full control over layout and formatting.
What this skill actually does
Core Capabilities
The Typst CLI (typst compile and typst watch) takes .typ source files and produces PDF output. The system includes built-in markup for headings, emphasis, lists, and other common formatting tasks, eliminating the need for preambles or package imports that LaTeX requires. For advanced formatting, Typst provides set rules and show rules that let you configure or completely redefine how elements appear.
Scripting and Math
Typst embeds a tightly integrated scripting language directly in documents. Variables, functions, loops, and conditionals work inline using hash-prefixed expressions. Math typesetting uses dollar-sign delimiters with a clean syntax โ no backslashes needed for common symbols like sqrt, floor, or Greek letters. Bibliography management is built in, supporting BibTeX and other citation formats.
Agent Integration
AI coding agents can use the Typst CLI to programmatically generate reports, papers, invoices, and formatted documents from structured data. The typst compile command converts markup to PDF in a single step, and typst watch enables live recompilation during iterative editing. Agents can template documents using Typst scripting, passing data through variables and functions to produce consistently formatted output. The Typst package ecosystem on Typst Universe provides community templates for academic papers, resumes, slides, and more.
Installation and Usage
Install via your package manager: brew install typst (macOS), winget install Typst.Typst (Windows), cargo install --locked typst-cli (Rust), or download pre-built binaries from the releases page. Docker images are also available at ghcr.io/typst/typst. Full documentation is at typst.app/docs.