Main Content

Title Pages, Tables of Contents, Lists of Figures, Tables, and Captions

Generate a title page, a table of contents, or lists of figures, tables, or other report elements

You can use Report API reporters to generate a title page and a table of contents in a report. You can also use reporters to generate lists of the captions or titles of images, tables, and other report elements, such as equations.

Classes

mlreportgen.report.TitlePageTitle page reporter
mlreportgen.report.TableOfContentsTable of contents reporter
mlreportgen.report.ListOfFiguresList of figures reporter (Since R2020b)
mlreportgen.report.ListOfTablesList of tables reporter (Since R2020b)
mlreportgen.report.ListOfCaptionsList of captions reporter (Since R2020b)
mlreportgen.report.TextFileText file reporter (Since R2023a)
mlreportgen.dom.TOCCreate placeholder for generating table of contents
mlreportgen.dom.LOFList of figures (Since R2020b)
mlreportgen.dom.LOTList of tables (Since R2020b)
mlreportgen.dom.LOCList of captions (Since R2020b)
mlreportgen.dom.LeaderLeader character for PDF output

Topics

Troubleshooting

Table of Contents or Generated List Is Empty in a Word Report

Troubleshoot an empty table of contents or list of figures, tables, or captions.