From 6275dfd062ca4c519b908ed56feb219879116265 Mon Sep 17 00:00:00 2001 From: Dmitrij Date: Tue, 12 Sep 2023 16:01:59 +0300 Subject: Add figure separator field (#1791) --- tests/ref/meta/figure.png | Bin 49894 -> 66110 bytes tests/typ/meta/figure.typ | 9 +++++++++ 2 files changed, 9 insertions(+) (limited to 'tests') diff --git a/tests/ref/meta/figure.png b/tests/ref/meta/figure.png index 90f59d14..37386698 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 62d163a9..7d618d06 100644 --- a/tests/typ/meta/figure.typ +++ b/tests/typ/meta/figure.typ @@ -100,3 +100,12 @@ We can clearly see that @fig-cylinder and #show figure: set block(breakable: true) #figure(table[a][b][c][d][e], caption: [A table]) + +--- +// Test custom separator for figure caption +#set figure.caption(separator: [ --- ]) + +#figure( + table(columns: 2)[a][b], + caption: [The table with custom separator.], +) -- cgit v1.2.3