I’ve got a big document that has lots of numbered lists (among other things) and I’ve added padding to par so that all the text is in a narrow column but other things like tables and images can use the full width of the page.
Unfortunately, I’m getting unexpected behavior with my numbered lists that only have a single item. They don’t seem to respect the par padding. Or more accurately, they only don’t respect the padding when using automatic numbering shorthand.
Is there a different way to approach this or some creative trickery that I could use so my single item numbered lists are padded appropriately?
#show par: it => pad(right: 2.25in, it)
#set enum(numbering: "1.a.i.", tight:false)
= Single Item Numbered Lists Behaving Differently
When using the automatic numbering shortcut, padding is not respected:
+ All the small things true care, truth brings I'll take one lift Your ride, best trip Always, I know You'll be at my show Watching, waiting Commiserating
But when using the full syntax, padding _is_ respected:
#enum([All the small things true care, truth brings I'll take one lift Your ride, best trip Always, I know You'll be at my show Watching, waiting Commiserating])
= Multi Item Examples
A multi item numbered list respects the padding:
+ All the small things true care, truth brings I'll take one lift Your ride, best trip Always, I know You'll be at my show Watching, waiting Commiserating
+ All the small things true care, truth brings I'll take one lift Your ride, best trip Always, I know You'll be at my show Watching, waiting Commiserating
But when a child item is a single item in a multi item list, it does not:
+ All the small things true care, truth brings I'll take one lift Your ride, best trip Always, I know You'll be at my show Watching, waiting Commiserating
+ All the small things true care, truth brings I'll take one lift Your ride, best trip Always, I know You'll be at my show Watching, waiting Commiserating
+ All the small things true care, truth brings I'll take one lift Your ride, best trip Always, I know You'll be at my show Watching, waiting Commiserating
