Creating a list of tables

You already know all you need to create and customize a list of tables! The file, where LaTeX collects the captions of the tables, has the extension .lot, and that's why the first argument of \addtocontents would be lot. Everything works analogous, like \listoftables, \tablename, and \listtablename.

Get LaTeX Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.