diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-5244-consecutive-weak-space-heading.png | bin | 0 -> 346 bytes | |||
| -rw-r--r-- | tests/ref/issue-5244-consecutive-weak-space.png | bin | 0 -> 194 bytes | |||
| -rw-r--r-- | tests/ref/issue-5253-consecutive-weak-space-math.png | bin | 0 -> 138 bytes | |||
| -rw-r--r-- | tests/suite/layout/spacing.typ | 18 |
4 files changed, 18 insertions, 0 deletions
diff --git a/tests/ref/issue-5244-consecutive-weak-space-heading.png b/tests/ref/issue-5244-consecutive-weak-space-heading.png Binary files differnew file mode 100644 index 00000000..c1ef7924 --- /dev/null +++ b/tests/ref/issue-5244-consecutive-weak-space-heading.png diff --git a/tests/ref/issue-5244-consecutive-weak-space.png b/tests/ref/issue-5244-consecutive-weak-space.png Binary files differnew file mode 100644 index 00000000..7a102ddf --- /dev/null +++ b/tests/ref/issue-5244-consecutive-weak-space.png diff --git a/tests/ref/issue-5253-consecutive-weak-space-math.png b/tests/ref/issue-5253-consecutive-weak-space-math.png Binary files differnew file mode 100644 index 00000000..a15646ca --- /dev/null +++ b/tests/ref/issue-5253-consecutive-weak-space-math.png diff --git a/tests/suite/layout/spacing.typ b/tests/suite/layout/spacing.typ index f5938995..d5cd122c 100644 --- a/tests/suite/layout/spacing.typ +++ b/tests/suite/layout/spacing.typ @@ -58,3 +58,21 @@ This is the first line \ #h(2cm, weak: true) A new line // Non-weak-spacing, on the other hand, is not removed. This is the first line \ #h(2cm, weak: false) A new line + +--- issue-5244-consecutive-weak-space --- +#set par(linebreaks: "optimized") +#{ + [A] + h(0.3em, weak: true) + h(0.3em, weak: true) + [B] +} + +--- issue-5244-consecutive-weak-space-heading --- +#set par(justify: true) +#set heading(numbering: "I.") + += #h(0.3em, weak: true) test + +--- issue-5253-consecutive-weak-space-math --- +$= thin thin$ a |
