From a8728be9b03f6f19df6adf1ea26a4713562dc0ae Mon Sep 17 00:00:00 2001 From: Pg Biel <9021226+PgBiel@users.noreply.github.com> Date: Fri, 12 May 2023 06:00:55 -0300 Subject: Initial support for breakable figures (#1121) --- tests/ref/meta/figure.png | Bin 54464 -> 71757 bytes tests/typ/meta/figure.typ | 9 ++++++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ref/meta/figure.png b/tests/ref/meta/figure.png index 4969e5a0..593c6438 100644 Binary files a/tests/ref/meta/figure.png and b/tests/ref/meta/figure.png 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]) -- cgit v1.2.3