summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPg Biel <9021226+PgBiel@users.noreply.github.com>2023-05-12 06:00:55 -0300
committerGitHub <noreply@github.com>2023-05-12 11:00:55 +0200
commita8728be9b03f6f19df6adf1ea26a4713562dc0ae (patch)
tree5f23c21b9e510b514cd61c256260602be83278f2 /tests
parente8de8a49c57671854f657a4eb1e2d86e5b12a281 (diff)
Initial support for breakable figures (#1121)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/meta/figure.pngbin54464 -> 71757 bytes
-rw-r--r--tests/typ/meta/figure.typ9
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/ref/meta/figure.png b/tests/ref/meta/figure.png
index 4969e5a0..593c6438 100644
--- a/tests/ref/meta/figure.png
+++ b/tests/ref/meta/figure.png
Binary files differ
diff --git a/tests/typ/meta/figure.typ b/tests/typ/meta/figure.typ
index 3537bbe1..81db3edf 100644
--- a/tests/typ/meta/figure.typ
+++ b/tests/typ/meta/figure.typ
@@ -101,4 +101,11 @@ We can clearly see that @fig-cylinder and
println!("Hello, world!");
}
```
-] \ No newline at end of file
+]
+
+---
+// Test breakable figures
+#set page(width: 200pt, height: 6em)
+#show figure: set block(breakable: true)
+
+#figure(table[a][b][c][d][e], caption: [A table])