Pseudomanifold / latex-credits

A package for generating CRediT (Contributor Role Taxonomy) statements
BSD 3-Clause "New" or "Revised" License
24 stars 6 forks source link

Correct addition of commas #4

Closed jannisborn closed 11 months ago

jannisborn commented 11 months ago

Closes #3.

The MWE described in #3 renders as expected with the code provided in this PR. Other examples from the README render as before.

The old code checked for each author of each concept whether there will be another author added after the current one. The new code instead checks for each author and each concept whether there another author was already added before the current one. This seems to be more robust but it requires an additional counter to track how many authors were already added. Not beautiful, but my first ever step in writing latex code, so bare with me..

Pseudomanifold commented 11 months ago

Looks good to me, thanks so much! LaTeX code is always messy, IMO—don't worry! :slightly_smiling_face: