diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-10-12 14:01:31 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-10-15 15:06:36 +0200 |
| commit | 4e46fb1e5ec1bafe25ffa8ef64dc2a4bfb094090 (patch) | |
| tree | 23084b45791f52051dc7e791b6e160e765f7441a /tests/suite/model | |
| parent | 41d8ecd1c347375256397315594afcf4f2a39ca9 (diff) | |
Fix logical ordering of floats and footnotes (#5185)
Diffstat (limited to 'tests/suite/model')
| -rw-r--r-- | tests/suite/model/figure.typ | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/suite/model/figure.typ b/tests/suite/model/figure.typ index fbd0ab29..19e81116 100644 --- a/tests/suite/model/figure.typ +++ b/tests/suite/model/figure.typ @@ -267,3 +267,25 @@ HI#footnote.entry(clearance: 2.5em)[There] // Test that figure caption separator is synthesized correctly. #show figure.caption: c => test(c.separator, [#": "]) #figure(table[], caption: [This is a test caption]) + +--- issue-4966-figure-float-counter --- +#let c = context counter(figure.where(kind: image)).display() +#set align(center) + +#c + +#figure( + square(c), + placement: bottom, + caption: [A] +) + +#c + +#figure( + circle(c), + placement: top, + caption: [B] +) + +#c |
