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*

5
  • 2
    Very clever fix for the first item bit. Commented Dec 17, 2012 at 23:35
  • As highlighted in adding \chapter in KOMA scrbook generates a “! LaTeX Error: \do undefined.”, using the \do command might lead to errors because numerous other packages/macros redefines it (e.g. notably \chapter of KOMA's classes). egreg thus suggests here a variant of this answer without using \do. Commented May 1, 2017 at 13:41
  • Is it possible to handle the last item differently like making \ppah{a,b,c} produce "a, b and c"? Commented Aug 23, 2017 at 13:17
  • 1
    @Mr.Ree: Try this code (output). Commented Aug 23, 2017 at 20:13
  • @Werner Thanks for your nice code! I've only found some codes which are too complicated to understand before. Commented Aug 25, 2017 at 9:45