diff options
Diffstat (limited to 'tests/typ/layout/par.typ')
| -rw-r--r-- | tests/typ/layout/par.typ | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/typ/layout/par.typ b/tests/typ/layout/par.typ deleted file mode 100644 index 45b60cf5..00000000 --- a/tests/typ/layout/par.typ +++ /dev/null @@ -1,36 +0,0 @@ -// Test configuring paragraph properties. - ---- -// Test ragged-left. -#set align(right) -To the right! Where the sunlight peeks behind the mountain. - ---- -// Test changing leading and spacing. -#set block(spacing: 1em) -#set par(leading: 2pt) -But, soft! what light through yonder window breaks? - -It is the east, and Juliet is the sun. - ---- -// Test that paragraph spacing loses against block spacing. -// TODO -#set block(spacing: 100pt) -#show table: set block(above: 5pt, below: 5pt) -Hello -#table(columns: 4, fill: (x, y) => if calc.odd(x + y) { silver })[A][B][C][D] - ---- -// While we're at it, test the larger block spacing wins. -#set block(spacing: 0pt) -#show raw: set block(spacing: 15pt) -#show list: set block(spacing: 2.5pt) - -```rust -fn main() {} -``` - -- List - -Paragraph |
