Added support for the theorion package, and used it as the default math theorem environment.
🌌 Theorion
Theorion (The Orion) is an out-of-the-box, customizable and multilingual theorem environment package for Typst. Quick start:
#import "@preview/theorion:0.3.0": *
#import cosmos.fancy: *
// #import cosmos.rainbow: *
// #import cosmos.clouds: *
#show: show-theorion
#theorem(title: "Euclid's Theorem")[
There are infinitely many prime numbers.
] <thm:euclid>
#theorem-box(title: "Theorem without numbering", outlined: false)[
This theorem is not numbered.
]
Current features:
- Out-of-the-box styles 🎨:
- 📄 Simple - Clean and minimalistic
- 🌈 Rainbow - Colorful and vibrant
- ☁️ Clouds - Soft and elegant
- ✨ Fancy - Professional and polished
- Highly customizable ⚙️:
- Custom counters and numbering styles
- Configurable inheritance levels
- Custom theorem environments
- Custom rendering functions
- Built-in multilingual support 🌐
- Rich theorem environments 📚: theorem, definition, lemma, corollary, example, proof, and many more presets
- Theorem restatement 🔄:
#theorion-restate(filter: it => it.outlined and it.identifier == "theorem")
- Additional features 📑:
- Theorem table of contents
- Appendix numbering adjustments
- Complete label and reference system
- Optional outline and numbering display
- Touying animation support