1.
About
The Book
2.
Typst Basics
2.1.
Tutorial by Examples
2.1.1.
Markup language
2.1.2.
Functions
2.1.3.
Basic styling
2.1.4.
Advanced styling
2.1.5.
Templates
2.2.
Must-know
2.2.1.
Boxing & Blocking
2.2.2.
Spacing
2.2.3.
Placing, Moving, Scale & Hide
2.2.4.
Align & Padding
2.2.5.
Tables & Grids
2.2.6.
Project structure
2.3.
Scripting
2.3.1.
Basics
2.3.2.
Braces, brackets and default
2.3.3.
Types, part I
2.3.4.
Types, part II
2.3.5.
Conditions & loops
2.3.6.
Advanced arguments
2.3.7.
Tips
2.4.
States, Query, Context Dependence
2.4.1.
States
2.4.2.
Counters
2.4.3.
Measure, Layout
2.4.4.
Query
2.4.5.
Metadata
2.5.
Math
2.5.1.
Symbols
2.5.2.
Grouping
2.5.3.
Alignment
2.5.4.
Limits
2.5.5.
Operators
2.5.6.
Location and sizes
2.5.7.
Vectors, Matrices, Semicolon syntax
2.5.8.
Classes
2.6.
Special symbols
2.7.
Extra
3.
Typst Snippets
3.1.
Demos
3.2.
Logos & Figures
3.3.
Labels
3.4.
Chapters
3.4.1.
Headings
3.4.2.
Page numbering
3.4.3.
Outlines
3.4.4.
Bibliography
3.5.
General layout
3.5.1.
Page setup
3.5.2.
Hiding
3.5.3.
Multiline detection
3.5.4.
Duplicate content
3.5.5.
Lines between list items
3.5.6.
Shadowed shape
3.6.
Code formatting
3.7.
Tables & grids
3.8.
Hyphenation
3.9.
Scripting
3.10.
Numbering
3.11.
Math
3.11.1.
Numbering
3.11.2.
Operations
3.11.3.
Scripts
3.11.4.
Vectors & Matrices
3.11.5.
Fonts
3.11.6.
Text & Content
3.11.7.
Calligraphic letters
3.12.
Color & Gradients
3.13.
Pretty things
3.14.
Text
3.14.1.
Individual language fonts
3.14.2.
Fake italic & Text shadows
3.15.
Special documents
3.16.
Use with external tools
4.
Typst Packages
4.1.
Overview
4.2.
Drawing
4.3.
Graphs
4.4.
Custom boxes
4.5.
Math
4.6.
Physics
4.7.
Tables
4.8.
Code
4.9.
Presentations
4.10.
Themes
4.11.
Layout
4.11.1.
Wrapping figures
4.12.
Scripting
4.13.
Misc
4.13.1.
Headers
4.13.2.
Glossary
4.13.3.
Counting words
4.14.
External
5.
Typstonomicon, or The Code You Should Not Write
5.1.
Image with original size
5.2.
Word count
5.3.
Try & Catch
5.4.
Breakpoints on broken blocks
5.5.
Extracting plain text
5.6.
Inline with
5.7.
Create zero-level chapters
5.8.
Make all math display
5.9.
Empty pages without numbering
5.10.
Multiple show rules
5.11.
Removing indent of nested lists
Light
Rust
Coal
Navy
Ayu
Typst Examples Book
Typst Snippets
Useful snippets for common (and not) tasks.