Lovelace

→ Universe

Line number customization

Other than none, you can assign anything listed here to line-numbering.

So maybe you happen to think about the Roman Empire a lot and want to reflect that in your pseudocode?

#set text(font: "Cinzel")

#pseudocode-list(line-numbering: "I:")[
+ explore European tribes
+ *while* not all tribes conquered
+ *for each* tribe *in* unconquered tribes
+ try to conquer tribe
+ *end*
+ *end*
]
page5-example0

Alignment

By default, line numbers are placed with the alignment horizon + right, which can look weird when a single step in the algorithm spans multiple typesetting lines. You can modify the line numbering alignment using the line-number-alignment option:

#pseudocode-list(line-number-alignment: top + right)[
+ Single line
+ Multiple \ lines
]
page5-example1