typst/tests/typ/math/numbering.typ
2023-03-18 19:54:00 +01:00

12 lines
240 B
Typst

// 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>