CTAN Comprehensive TeX Archive Network

New on CTAN: macrolist

Date: July 14, 2021 12:55:50 PM CEST
Dennis Chen submitted the macrolist package. Version: 1.0.0 License: lppl1.3 Summary description: List operations for LaTeX 2e Announcement text:
The macrolist package provides the list data structure and common list functions. Included are - \newlist{listname} - \listadd{listname}{Item} - \listremove{listname}{index} - \listforeach{listname}{\element}{Action on \element} - \listjoin{listname}{joiner} All internal macros are namespaced to prevent package conflicts.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/macrolist The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/macrolist/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

macrolist – List operations for

This package provides a list data structure and common list functions such as \macrolistadd, \macrolistremove, \macrolistforeach, as well as \macrolistremovelast (similar to C++’s pop_back) and \macrolistjoin (similar to Javascript’s arr.join).

Unlike most programming languages, the lists in this package are 1-indexed, meaning the first element is numbered 1, the second element numbered 2, and so on.

Version2.1.0 2021-07-31
Copyright2021 Dennis Chen
MaintainerDennis Chen



Guest Book Sitemap Contact Contact Author