summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-09-06 12:15:27 +0200
committerLaurenz <laurmaedje@gmail.com>2023-09-06 12:15:27 +0200
commit65aeea31423ec9ea872c52f41469ad6adbeded17 (patch)
tree8d29c1bbb9b91a82be8d0a7e8d1fd23e95523d43 /tests
parentfe402759c03eb93cefc2879e751b8e732891bd3e (diff)
Fix spacing after number in math
Fixes #1052
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/math-number-spacing.pngbin0 -> 1188 bytes
-rw-r--r--tests/ref/math/frac.pngbin28884 -> 33582 bytes
-rw-r--r--tests/typ/bugs/math-number-spacing.typ9
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/bugs/math-number-spacing.png b/tests/ref/bugs/math-number-spacing.png
new file mode 100644
index 00000000..5ec65df3
--- /dev/null
+++ b/tests/ref/bugs/math-number-spacing.png
Binary files differ
diff --git a/tests/ref/math/frac.png b/tests/ref/math/frac.png
index 59357cff..b4d52fc8 100644
--- a/tests/ref/math/frac.png
+++ b/tests/ref/math/frac.png
Binary files differ
diff --git a/tests/typ/bugs/math-number-spacing.typ b/tests/typ/bugs/math-number-spacing.typ
new file mode 100644
index 00000000..9450caca
--- /dev/null
+++ b/tests/typ/bugs/math-number-spacing.typ
@@ -0,0 +1,9 @@
+// Test spacing after numbers in math.
+
+---
+$
+10degree \
+10 degree \
+10.1degree \
+10.1 degree
+$