typst/tests/typ/library/spacing.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

19 lines
321 B
XML

// Test the `h` and `v` functions.
---
// Ends paragraphs.
Tightly #v(0pt) packed
// Eating up soft spacing.
Inv #h(0pt) isible
// Multiple spacings in a row.
Add #h(10pt) #h(10pt) up
// Relative to font size.
Relative #h(100%) spacing
// Missing spacing.
// Error: 12 missing argument: spacing
Totally #h() ignored