A blog by Rob J Hyndman 

Twitter Gplus RSS

Indexing in LaTeX

Published on 16 November 2007

I’m in the final stages of prepar­ing my new expo­nen­tial smooth­ing book for pub­li­ca­tion and have been learn­ing about some LaTeX index­ing tools.

The stan­dard sub­ject index is cre­ated using the fol­low­ing procedure:

  1. Include \index{entry} com­mands wher­ever you want an index entry.
  2. Include \usepackage{makeidx} and \makeindex in the preamble.
  3. Put a \printindex com­mand where the index is to appear, nor­mally before the \end{document} command.

The details are well-​​documented in this tuto­r­ial (start­ing on p9).

An author index can be gen­er­ated auto­mat­i­cally from the \cite com­mands (assum­ing bib­tex is used) using the authorindex pack­age. How­ever, you do need to have perl installed on your com­puter to use it. To cre­ate hyper­links in the author index, use

\def\theaipage{\string\hyperpage{\thepage}}

We also wanted back ref­er­ences in the bib­li­og­ra­phy to show on which pages each ref­er­ence was cited. This is eas­ily accom­plished using

\usepackage[backref=page]{hyperref}
\def\backref#1{{\scriptsize [#1]}}

in the preamble.

The final results can be seen here.


Related Posts:


 
Tags:
No Comments  comments