diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math-spacing-ignorant.png | bin | 0 -> 686 bytes | |||
| -rw-r--r-- | tests/suite/math/spacing.typ | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/math-spacing-ignorant.png b/tests/ref/math-spacing-ignorant.png Binary files differnew file mode 100644 index 00000000..6fead62e --- /dev/null +++ b/tests/ref/math-spacing-ignorant.png diff --git a/tests/suite/math/spacing.typ b/tests/suite/math/spacing.typ index 2a387f92..707c09bb 100644 --- a/tests/suite/math/spacing.typ +++ b/tests/suite/math/spacing.typ @@ -49,6 +49,16 @@ $integral f(x) thin dif x$, // Both are weak, collide $integral f(x) #h(0.166em, weak: true)dif x$ +--- math-spacing-ignorant --- +// Test spacing with ignorant elements +$#metadata(none) "text"$ \ +$#place(dx: 5em)[Placed] "text"$ \ +// Operator spacing +$#counter("test").update(3) + b$ \ +$#place(dx: 5em)[a] + b$ +// Validate that ignorant elements are layouted +#context test(counter("test").get(), (3,)) + --- issue-1052-math-number-spacing --- // Test spacing after numbers in math. $ |
