Here’s one way to do it:
#let list-counter = counter("list")
#show list: set text(14pt)
#show list: it => {
list-counter.step()
context {
set text(10pt) if list-counter.get().first() == 2
set text(20pt) if list-counter.get().first() >= 3
it
}
list-counter.update(i => i - 1)
}
- A bit larger
- smol
- smol
- well this is large!
- A bit larger
- smol
