typst/tests/typ/library/paragraph.typ
Laurenz ca3df70e2a Add basic paragraph function 📑
Allows to change:
- (paragraph) spacing
- leading
- word-spacing
2021-03-19 13:32:12 +01:00

14 lines
334 B
XML

// Test the `paragraph` function.
---
// Test configuring paragraph properties.
#paragraph(spacing: 10pt, leading: 25%, word-spacing: 1pt)
But, soft! what light through yonder window breaks? It is the east, and Juliet
is the sun.
---
// Test that it finishes an existing paragraph.
Hello #paragraph(word-spacing: 0pt) t h e r e !