Time for action – marking words and building the index

Suppose our example would contain information about an enterprise and its structure and further about its network structure and design. We shall mark places in the text where these concepts occur. Finally, we will order LaTeX to typeset the index:

  1. Go back to our example. In the preamble, load the index package and add the command to create the index:
    \usepackage{index}
    \makeindex
  2. In the caption of our enterprise diagram, index this point with the keyword enterprise:
    \caption{\index{enterprise}Enterprise Organizational Chart}
  3. In the third chapter, which contains our diagrams, index by the keyword network:
    \index{network}
  4. Directly before \end{document}, create an entry for the index for the table of ...

Get LaTeX Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.