diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-08 11:21:35 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-08 11:21:35 +0200 |
| commit | f3e3061a7ff0307c9ad0efc06b58b3ce8a9553cd (patch) | |
| tree | e26cbcc4c51c546015e9b61b9211680f643d72bf /tests/typ/bugs | |
| parent | 10ae0a2c2b54ee1dc1119de528fd209eea5284b4 (diff) | |
Fix a bug in footnote together-keeping logic
Diffstat (limited to 'tests/typ/bugs')
| -rw-r--r-- | tests/typ/bugs/footnote-keep-multiple.typ | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/bugs/footnote-keep-multiple.typ b/tests/typ/bugs/footnote-keep-multiple.typ new file mode 100644 index 00000000..3aa0b9d9 --- /dev/null +++ b/tests/typ/bugs/footnote-keep-multiple.typ @@ -0,0 +1,10 @@ +// Test that the logic that keeps footnote entry together with +// their markers also works for multiple footnotes in a single +// line or frame (here, there are two lines, but they are one +// unit due to orphan prevention). + +--- +#set page(height: 100pt) +#v(30pt) +A #footnote[a] \ +B #footnote[b] |
