About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Latest news 2019-12-05: new blog post "RSS Feeds and Other Notifications."


2.7 Iteration

[Repeating a command n times] [Repeating something for each ‘thing’ in a set] This section covers iterating over data. The datatool package provides a way of iterating over rows of a database, discussed in §2.7.1 Iterating Through a Database, but you may also find you need to iterate over a comma-separated list, so this is discussed in §2.7.2 Iterating Over a Comma-Separated List. If you want to manually build up a list and then iterate over it, you may prefer to use etoolbox's internal lists, discussed in §2.7.3 Iteration With etoolbox's Internal Lists. For a more general purpose loop ability, you may prefer to use TeX's \loop, discussed in §2.7.4 General Iteration with TeX's \loop.


This book is also available as A4 PDF or 12.8cm x 9.6cm PDF or paperback (ISBN 978-1-909440-07-4).

© 2015 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs