summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/numbering.pngbin0 -> 13751 bytes
-rw-r--r--tests/typ/math/numbering.typ11
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ref/math/numbering.png b/tests/ref/math/numbering.png
new file mode 100644
index 00000000..3b9db84f
--- /dev/null
+++ b/tests/ref/math/numbering.png
Binary files differ
diff --git a/tests/typ/math/numbering.typ b/tests/typ/math/numbering.typ
new file mode 100644
index 00000000..71049a09
--- /dev/null
+++ b/tests/typ/math/numbering.typ
@@ -0,0 +1,11 @@
+// Test equation numbering.
+
+---
+#set page(width: 150pt)
+#set math.equation(numbering: "(I)")
+
+We define $x$ in preparation of @fib:
+$ phi.alt := (1 + sqrt(5)) / 2 $ <ratio>
+
+With @ratio, we get
+$ F_n = floor(1 / sqrt(5) phi.alt^n) $ <fib>