summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-08 17:58:05 +0200
committerLaurenz <laurmaedje@gmail.com>2024-10-15 15:06:36 +0200
commit5df07ee1f7519ee633e209daeda65ad1db535ddc (patch)
tree6a89dea20a43fce5be738d8e1a54a425e27e5476 /tests
parent0253c3d8836079697ceee9690bba08c29d6828a4 (diff)
Disable line numbers for block equations (#5163)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/line-numbers-equation-number.pngbin0 -> 428 bytes
-rw-r--r--tests/suite/layout/line-numbers.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/line-numbers-equation-number.png b/tests/ref/line-numbers-equation-number.png
new file mode 100644
index 00000000..9b4959eb
--- /dev/null
+++ b/tests/ref/line-numbers-equation-number.png
Binary files differ
diff --git a/tests/suite/layout/line-numbers.typ b/tests/suite/layout/line-numbers.typ
index 25f96d98..10241976 100644
--- a/tests/suite/layout/line-numbers.typ
+++ b/tests/suite/layout/line-numbers.typ
@@ -247,3 +247,12 @@ Line 3
[DDD], [DDD],
[This is], move(dy: 3pt)[tough]
)
+
+--- line-numbers-equation-number ---
+#set page(margin: (left: 2.5em))
+#set par.line(numbering: "1")
+#set math.equation(numbering: "(1)")
+
+A
+$ x $
+B