Introduction
1.
About
1.1.
Installation
1.2.
Limitations
1.3.
FAQ
1.4.
Changelog
2.
Examples
2.1.
Simple Thesis
2.2.
Simple Theorems
Elements
3.
Creating elements
3.1.
Declaring
3.2.
Specifying fields
3.3.
Accessing context
3.4.
Custom constructor and parsing
3.5.
Labels and references
3.6.
Outline
3.7.
Extra options
4.
Styling elements
4.1.
Constructing elements
4.2.
Set rules
4.3.
Show rules
4.4.
Filtered rules
4.5.
Conditional set rules
4.6.
Revoking rules
4.7.
Typst selectors
5.
Scripting with elements
5.1.
Fields and reflection
5.2.
Get rules
5.3.
Query
6.
Element filters
6.1.
Fields
6.2.
Logic operators
6.3.
Nested elements
6.4.
Custom filters
Types
7.
Type system
7.1.
Special types
7.2.
Type combinators
7.3.
Wrapping types
7.4.
Native types
7.5.
Element types
7.6.
Helper functions
8.
Custom types
8.1.
Declaring
8.2.
Equality
8.3.
Casts
8.4.
Other options
Misc
9.
Reference
9.1.
Elements
9.2.
Data
9.3.
Types
Light
Rust
Coal
Navy
Ayu
The Elembic Handbook
Examples
This chapter contains useful sample usages of
elembic
, with more to be added over time.