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*

7
  • 1
    You need to use \@for \el:=#2\do{\nextitem\el}%. But this really should have been a separate question. Commented Dec 18, 2012 at 22:26
  • 1
    It looks like you forgot a % at the end of line 6: \@for ... \el}%. Commented Dec 18, 2012 at 22:27
  • I should have made it far more clear it was rhetorical (but I was actually about to ask a separate question, funnily enough). That clears up on side of it, but not the other. I found that (in the original) the macro was padding the output with a single space. It makes sense that your fix takes care of the one on the right and not on the left. I'm wondering now if the \def is giving us an intermittent space for some reason. Commented Dec 18, 2012 at 22:30
  • Found it, and I'm dumb. Missed a % after the first line in my typeup. Edited. Commented Dec 18, 2012 at 22:31
  • 1
    @SeanAllred thanks for the quick reply. Tricky indeed, very clever. Your explanation made me realize now why I didn't understand: I mixed up the parameters, thinking #2 was the triangle. Now it all makes sense! Either way, clever solution, nice and simple. Commented Feb 9, 2022 at 10:40