Index
How to add an index to your deliverable.
Examples
Follow along with the out-of-the-box example code below.
An index improves the usability of your deliverable by helping readers find important terms and topics quickly. For longer or technical documents, including an index demonstrates professionalism and attention to detail. In t0, you can easily generate a complete, automatically sorted index for your deliverable.
Add an index
Word
In Microsoft Word, you would mark entries manually using the "References" tab, then insert an index, updating it each time the content changes.
t0 Prompt
Here are example prompts to generate an index:
Create an index of important keywords at the end of the deliverable.
Mark the words "transfer pricing" and "compliance" for the index.
Format the index in alphabetical order.
LaTeX
The LaTeX code to add an index looks as follows:
Command | Mandatory Argument | Optional Argument | Description |
---|---|---|---|
\makeindex | (none) | (none) | Prepares the document to create an index. |
\index | {entry text} | Marks a word or phrase to appear in the index. | |
\printindex | (none) | (none) | Prints the complete index, usually at the end of the deliverable. |
To create an index in t0, the makeidx
package is used along with the \index
and \printindex
commands.
This system is fully supported in the report
and article
document classes.
In the beamer
document class, indexes are not typically used, but a custom final slide can be created manually if needed.
Remember to run the index processor when generating the final PDF to properly compile the index entries.