CTAN Comprehensive TeX Archive Network

listofitems – Grab items in lists using user-specified sep char

This simple package is designed to read a list of items whose parsing character may be selected by the user.

Once the list is read, its items are stored in a structure that behaves as a dimensioned array. As such, it becomes very easy to access an item in the list by its number.

For example, if the list is stored in the macro \foo, the item #3 is designated by \foo[3].

A component may, in turn, be a list with a parsing delimiter different from the parent list, paving the way for nesting and employing a syntax reminiscent of an array of several dimensions of the type \foo[3,2] to access the item #2 of the list contained within the item #3 of the top-tier list.

Sources/macros/generic/listofitems
Documentation
Version1.65 2024-03-09
LicensesThe Project Public License 1.3c
Copyright2016–2024 Christian Tellechea
MaintainerChristian Tellechea
Contained inTeX Live as listofitems
MiKTeX as listofitems
TopicsText manip
List

Download the contents of this package in one zip archive (433.5k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author