CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/macrolist

README.md

The package macrolist - version 2.1.0 (2021/07/31)

Copyright (C) 2021 Dennis Chen <proofprogram@gmail.com>

>

This file may be distributed and/or modified under
the conditions the Project Public License (LPPL),
either version 1.3 of this license or (at your option)
any later version. The latest version of this license
can be found in
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of
version 2005/12/01 or later.

macrolist provides lists and common list functions, such as add, remove, foreach, as well as removelast and join.

Package contents

  • README.md this file
  • macrolist.pdf documentation PDF with implementation details
  • macrolist.dtx contains package and documentation code
  • macrolist.ins generates .sty from .dtx

File generation

A working installation is required.

Run

tex macrolist.ins

to generate macrolist.sty. To use it, you need to put macrolist.sty into a directory searched by .

Run

pdflatex macrolist.dtx

to generate macrolist.pdf, which contains the package documentation.

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

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.

Packagemacrolist
Repositoryhttps://github.com/chennisden/macrolist
Version2.1.0 2021-07-31
LicensesThe Project Public License 1.3
Copyright2021 Dennis Chen
MaintainerDennis Chen
Contained inTeX Live as macrolist
MiKTeX as macrolist
TopicsList
Macro support
...
Guest Book Sitemap Contact Contact Author