diff options
| author | HarmoGlace <23212967+HarmoGlace@users.noreply.github.com> | 2023-04-20 16:09:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-20 16:09:41 +0200 |
| commit | 42b93b7b534557205a6dc3dfda8fe3cfccfcc458 (patch) | |
| tree | 924171b6c1299fef0b628e0ac8c89c5775fea8be /tests/typ/layout/enum-numbering.typ | |
| parent | c117e2dc276d19b022abccac0d252bd7fc1cd44e (diff) | |
Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` (#890)
Diffstat (limited to 'tests/typ/layout/enum-numbering.typ')
| -rw-r--r-- | tests/typ/layout/enum-numbering.typ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/layout/enum-numbering.typ b/tests/typ/layout/enum-numbering.typ index 3eaf352e..7efe195f 100644 --- a/tests/typ/layout/enum-numbering.typ +++ b/tests/typ/layout/enum-numbering.typ @@ -22,7 +22,7 @@ spacing: 0.65em - 3pt, tight: false, numbering: n => text( - fill: (red, green, blue).at(calc.mod(n, 3)), + fill: (red, green, blue).at(calc.rem(n, 3)), numbering("A", n), ), [Red], [Green], [Blue], [Red], |
