CTAN Comprehensive TeX Archive Network

Directory macros/generic/listofitems




Maintainer : Christian Tellechea
E-mail     : unbonpetit@netc.fr (CT)
             Comments, bug reports and suggestions are welcome.
Translation: Steven B. Segletes
Licence    : Released under the LaTeX Project Public License v1.3c or
             later, see http://www.latex-project.org/lppl.txt


Cette extension permet de capturer tous les éléments d'une liste dont
le séparateur a été choisi par l'utilisateur et d'accéder à tout
élément par une syntaxe simple.


This package allows one to capture all the items of a list, for which
the parsing character has been selected by the user, and to access any
of these items with a simple syntax.

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

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.

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
Guest Book Sitemap Contact Contact Author