CTAN
Comprehensive TeX Archive Network

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

This sim­ple pack­age is de­signed to read a list of items whose pars­ing char­ac­ter may be se­lected by the user.

Once the list is read, its items are stored in a struc­ture that be­haves as a di­men­sioned ar­ray. As such, it be­comes very easy to ac­cess an item in the list by its num­ber.

For ex­am­ple, if the list is stored in the macro \foo, the item #3 is des­ig­nated by \foo[3].

A com­po­nent may, in turn, be a list with a pars­ing de­lim­iter dif­fer­ent from the par­ent list, paving the way for nest­ing and em­ploy­ing a syn­tax rem­i­nis­cent of an ar­ray of sev­eral di­men­sions of the type \foo[3,2] to ac­cess the item #2 of the list con­tained within the item #3 of the top-tier list.

Sources /macros/generic/listofitems
Doc­u­men­ta­tion
Bug tracker https://fra­m­agit.org/un­bon­petit/listof­items/is­sues
Re­pos­i­tory https://fra­m­agit.org/un­bon­petit/listof­items/tree/mas­ter
Ver­sion 1.5
Li­cense The Project Public Li­cense 1.3c
Main­tainer Chris­tian Tel­lechea
Steven B. Se­gletes
Con­tained in TeX Live as listof­items
MiKTeX as listof­items
Topics ma­nip­u­late strings (typ­i­cally in to­ken lists)

Down­load the con­tents of this pack­age in one zip archive (702.3k).

Com­mu­nity Com­ments

Load­ing...

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Guest Book Sitemap Contact Contact Author