From f88ef45ee6e285df59c7aa5cec935de331b4b6e0 Mon Sep 17 00:00:00 2001 From: Pg Biel <9021226+PgBiel@users.noreply.github.com> Date: Wed, 3 May 2023 09:20:53 -0300 Subject: Function scopes (#1032) --- tests/typ/layout/enum.typ | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/typ/layout/enum.typ') diff --git a/tests/typ/layout/enum.typ b/tests/typ/layout/enum.typ index 2606a64d..a90e1896 100644 --- a/tests/typ/layout/enum.typ +++ b/tests/typ/layout/enum.typ @@ -35,6 +35,18 @@ Empty \ +Nope \ a + 0. +--- +// Test item number overriding. +1. first ++ second +5. fifth + +#enum( + enum.item(1)[First], + [Second], + enum.item(5)[Fifth] +) + --- // Alignment shouldn't affect number #set align(horizon) -- cgit v1.2.3