Formatting an index

When you insert an index, index-specific text styles are created and applied automatically. These styles can be customized via the Text Styles panel.

Styling the whole index

The Index and Index Entry paragraph styles are 'parent' styles which let you apply formatting to the whole index or just index entries, respectively.

The Index Section Heading paragraph style affects the large letters and numbers by which entries are organized.

An example index (A) styled entirely by the Index text style.

Example text ranges affected by the Index Section Heading (B) and Index Entry (C) text styles.

Styling specific parts

Sub topics

A sequence of paragraph styles is created for however many levels of sub topic exist in the index, e.g. Index Entry 1, Index Entry 2, Index Entry 3 and so on.

This allows each level of nested index entry to have different formatting than Index Entry and other 'higher level' index entries. For example, you might choose to show entries for sub topics at a smaller font size than top-level topics.

Example text ranges affected by numbered Index Entry text styles: Index Entry 1 (D), Index Entry 2 (E) and Index Entry 3 (F) paragraph styles, which modify any formatting already applied by the parent Index Entry text style.

Page numbers and separators

The Index Entry Page Number and Index Entry Number Separator character styles allow specific details in index entries—meaning text added to entries by the Labels and Separators options on the Index panel—to deviate from the Index Entry parent style.

For example, you may wish for page numbers/ranges and punctuation between them to be differently colored than topic names, and from each other.

Example text ranges in an index entry affected by the Index Entry Page Number (G) and Index Entry Number Separator (H) text styles.

Cross-references

The various components of cross-reference text in index entries can be customized using the Index Cross-reference, Index Cross-reference Label and Index Cross-referenced Topic character styles.

Example text ranges in an index entry's cross-references affected by the Index Cross-reference (I), Index Cross-reference Label (J), and Index Cross-referenced Topic (K) text styles.

When inserting an index mark, any character style can be applied to it. The style is applied to the corresponding page number(s)—or page range, if applied to index marks across consecutive pages—on the index entry. This can be used to indicate the most important pages about a topic.

How to add leader lines between index topic names and their references

How would you rate the help you received from this article?