summaryrefslogtreecommitdiff
path: root/tests/typ/layout/enum.typ
blob: 2606a64db1efced53df80cffafa5a06516e3772a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Test enumerations.

---
#enum[Embrace][Extend][Extinguish]

---
0. Before first!
1. First.
   2. Indented

+ Second

---
// Test automatic numbering in summed content.
#for i in range(5) {
   [+ #numbering("I", 1 + i)]
}

---
// Mix of different lists
- Bullet List
+ Numbered List
/ Term: List

---
// In the line.
1.2 \
This is 0. \
See 0.3. \

---
// Edge cases.
+
Empty \
+Nope \
a + 0.

---
// Alignment shouldn't affect number
#set align(horizon)

+ ABCDEF\ GHIJKL\ MNOPQR
   + INNER\ INNER\ INNER
+ BACK\ HERE