Generating an index
Extensive documents often contain an index. An index is a list of words or phrases and page numbers pointing to where we can find related material in the document. In contrast to a full-text search feature, the index provides selective pointers to relevant information.
When it's our turn to identify and mark the words for the index, LaTeX will collect this information and typeset the index.
Suppose our example contains information about an enterprise and its structure as well as its network structure and design. We will mark places in the text where these concepts occur. Finally, we will order LaTeX to typeset the index, as follows:
- Go back to our example. In the preamble, load the
index
package and add the command to create the index:\usepackage{index} \makeindex
- In the caption of our enterprise diagram, index this point with the keyword
enterprise
:\caption{\index{enterprise}Enterprise Organizational Chart}
- In the third chapter, which...