typst/tests/typ/library/lang.typ
Laurenz 76fc4cca62 Refactor alignments & directions 📐
- Adds lang function
- Refactors execution context
- Adds StackChild and ParChild enums
2021-03-25 21:32:33 +01:00

17 lines
177 B
XML

// Test the `lang` function.
---
Left to right.
#lang("ar")
Right to left.
#lang(dir: ltr)
Back again.
---
// Ref: false
// Error: 12-15 must be horizontal
#lang(dir: ttb)