Tables of contents

Bookly defines several commands to create tables of contents. Their titles are translated according to the lang argument of #bookly.with.

Book outlines

#show: main-matter

#tableofcontents
#listoffigures
#listoftables

Mini table of contents

A mini table of contents listing the sections of the current chapter is generated by the #minitoc command. Its style is defined by the current theme.

= First chapter

#minitoc

== First section
Note
#minitoc is a wrapper of the suboutline function provided by the suboutline package. When you use the #chapter function with toc: true (the default), the mini table of contents is inserted automatically (see Chapters).