Autype can automatically generate indices from your document content. All indices use inline directive syntax (::directive{attrs}).
Table of Contents
Generate a TOC from all headings in the document:
With options
::toc{title="Table of Contents" maxLevel=3 hyperlink=true}
Attributes
| Attribute | Values | Default | Description |
|---|
title | String | (none) | Title displayed above the TOC |
maxLevel | 1–6 | 3 | Maximum heading level to include |
hyperlink | true, false | true | Make entries clickable |
The TOC is generated as a document field. When opening in Word or LibreOffice, you may be prompted to update fields to populate the TOC with page numbers.
Example
# My Document
::toc{title="Contents" maxLevel=2}
---
## Chapter 1
Content...
## Chapter 2
Content...
Generate a list of all figures (images and charts with captions):
Short alias:
With options
::listOfFigures{title="List of Figures"}
::lof{title="Abbildungsverzeichnis" tabStyle=hyphen}
Attributes
| Attribute | Values | Default | Description |
|---|
title | String | (none) | Title displayed above the list |
tabStyle | dot, hyphen, underscore, none | dot | Tab leader style between caption and page number |
Figures are automatically numbered based on:
- Images with alt text (alt text becomes the caption):

- Images with explicit
caption attribute: {caption="Sales Dashboard"}
- Charts with a
caption attribute: :::chart{caption="Revenue 2024"}
The figure prefix (e.g., "Figure", "Abb.") and caption styling are configured in your document’s style settings.
List of Tables
Generate a list of all tables with captions:
Short alias:
With options
::listOfTables{title="List of Tables"}
::lot{title="Tabellenverzeichnis" tabStyle=hyphen}
Attributes
| Attribute | Values | Default | Description |
|---|
title | String | (none) | Title displayed above the list |
tabStyle | dot, hyphen, underscore, none | dot | Tab leader style between caption and page number |
How tables are numbered
Tables are automatically numbered based on tables that have the caption attribute in the :::table directive:
:::table{caption="Revenue by Quarter"}
| Quarter | Revenue |
|---------|---------|
| Q1 | €150,000 |
:::
The table prefix (e.g., "Table", "Tabelle") and caption styling are configured in your document’s style settings.
List of Abbreviations
Generate a list of all abbreviations used in the document:
Short alias:
With options
::listOfAbbreviations{title="List of Abbreviations" sortOrder=alphabetical}
::loa{title="Abkürzungsverzeichnis" sortOrder=document}
Attributes
| Attribute | Values | Default | Description |
|---|
title | String | (none) | Title displayed above the list |
sortOrder | alphabetical, document | alphabetical | Sort order |
alphabetical — abbreviations sorted A–Z
document — abbreviations in the order they first appear
See Abbreviations for how to mark abbreviations in your text with ~ABK~ syntax.
Tab leader styles
The tabStyle attribute controls the visual separator between the entry text and the page number:
| Style | Appearance |
|---|
dot | Chapter 1 .............. 3 |
hyphen | Chapter 1 ------------ 3 |
underscore | Chapter 1 ____________ 3 |
none | Chapter 1 3 |
Full example: Academic document
---page{align=center}---
# Research Paper Title
**Author Name**
{{date/D. MMMM YYYY}}
---/page---
---
::toc{title="Table of Contents" maxLevel=3}
---
::lof{title="List of Figures"}
---
::lot{title="List of Tables"}
---
::loa{title="List of Abbreviations" sortOrder=alphabetical}
---
## Introduction {#intro}
The ~WHO~ has published guidelines on this topic @[who2023].
## Results
:::chart{type="bar" caption="Survey Results" anchor="chart-results"}
labels: Group A, Group B, Group C
dataset: Score | 85, 72, 91 | #3b82f6
:::
:::table{caption="Detailed Scores"}
| Group | Mean | SD |
|-------|------|----|
| A | 85.2 | 4.1 |
| B | 72.1 | 6.3 |
| C | 91.0 | 2.8 |
:::
As shown in [Figure {num}](#chart-results), Group C performed best.
## References
::bibliography{title="References"}