From 42b93b7b534557205a6dc3dfda8fe3cfccfcc458 Mon Sep 17 00:00:00 2001 From: HarmoGlace <23212967+HarmoGlace@users.noreply.github.com> Date: Thu, 20 Apr 2023 16:09:41 +0200 Subject: Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` (#890) --- tests/typ/layout/enum-numbering.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typ/layout') 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], -- cgit v1.2.3