macrolist__source

List operations for LaTeX2e

Version:
2.1.0
Copyright:
Dennis Chen
License:
lppl1.3
Packaged on:
08/01/2021 20:11:04
Number of files:
3
Size on disk:
18.39 kB

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.