mirror of
https://github.com/typst/typst
synced 2025-05-16 18:15:29 +08:00
16 lines
291 B
Typst
16 lines
291 B
Typst
// Test that placed elements don't add extra block spacing.
|
|
|
|
---
|
|
#show figure: set block(spacing: 4em)
|
|
|
|
Paragraph before float.
|
|
#figure(rect(), placement: bottom)
|
|
Paragraph after float.
|
|
|
|
---
|
|
#show place: set block(spacing: 4em)
|
|
|
|
Paragraph before place.
|
|
#place(rect())
|
|
Paragraph after place.
|