How to add indent to a list only if it's not a sublist?

Thank you, your solution is very simple and works, but only to unordered lists inside unordered lists. I’ve changed it a little bit, to work in lists that mix order and unordered [sub]lists:

#set enum(indent: 0.4cm)
#show enum: it => {
  set enum(indent: 0pt)
  set list(indent: 0pt)
  it
}
#set list(indent: 0.4cm)
#show list: it => {
  set enum(indent: 0pt)
  set list(indent: 0pt)
  it
}
2 Likes