Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • +1 This has also the advantage that spaces around commas will be ignored. Commented Dec 29, 2020 at 10:47
  • +1 Another advantage is that blankness/emptiness between commas will not lead to mapping to an empty element. I.e., with \ppath{File, ,,New,Document,} neither you get three triangles behind "File" but you get only one triangle, nor you get a triangle behind "Document". Commented Dec 29, 2020 at 15:44
  • 1
    To be even more complete, one can use a void group {} to have a blank item that is not discarded: with \ppath{File, {} ,{},New,Document,{}} you obtain as many triangles as there are commas. Commented Dec 29, 2020 at 16:05
  • 1
    Since May 2021, it's no longer needed to set a variable, so the group is unnecessary and \clist_use:nn { #2 } { #1 } is even fully expandable. Commented Feb 8, 2022 at 16:23