# Automatic Tables of Contents

## Templates

`db2html.autotoc.css`

- Create CSS for tables of contents

`db2html.autotoc.label`

- Generate a label for an entry in a table of contents

`db2html.autotoc.flat`

- Create a table of contents

db2html.autotoc.css

Create CSS for tables of contents

### Parameters

This template has no parameters.

db2html.autotoc.label

Generate a label for an entry in a table of contents

### Parameters

`node`

- The element for which to generate a label

db2html.autotoc.flat

Create a table of contents

### Parameters

`node`

- The node for which to create a table of contents

`info`

- The info child element of `node`

`divisions`

- The division-level child elements of `node`

`toc_depth`

- How deep to create table of content entries

`depth_of_chunk`

- The depth of the containing chunk in the document