12.07.2015 Views

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

17. BACK MATTER\begin{theindex}\item Alf, v, 1-3\subitem Bet\subsubitem Con, 8\subitem Dan, 9\item \textit{Alf}, 7\item Alfabet, \see{Bet}{5}\indexspace\item Bet, \textbf{7}\end{theindex}Alf, v, 1-3BetCon, 8Dan, 9Alf, 7Alfabet, see BetBet, 7Figure 17.2: Processed index: (left) alphabeticized ind file; (right) typeset index\index{item!sub item!sub sub item}<strong>The</strong> @ characterAn indexable item may be represented in two portions, separated by the actual specifier,which by default is the @ character. <strong>The</strong> portion before the @ is used when MakeIndex sortsthe raw index data, and the portion after the @ is used as the entry text. For example:\index{MakeIndex@\textit{MakeIndex}}will result in the final index entry of \textit{MakeIndex} in the alphabetic positionaccorded to MakeIndex. <strong>The</strong> same treatment can be applied for subitems:\index{program!MakeIndex@\textit{MakeIndex}!commands}<strong>The</strong> | characterAnything after the encap specifier, which by default is the | character, is treated as applyingto the page number. In general\index{...|str}will produce a page number, say n, in the form\str{n}For example, if you wanted the page number of one particular entry to be in a bold font,say to indicate that this is where the entry is defined, you would do\index{entry|textbf}As a special case, if you want an index item to have a page range put the two characters|( at the end of the argument on the first page, and the character pair |) at the end of theargument on the last page. For example:... \index{range|(} pages about range \index{range|)} ...<strong>The</strong> two arguments must match exactly except for the final ( and ). You can also do\index{...|(str}which will produce a page range of the form\str{n-m}In this case, if the range is only a single page, the result is simply\str{n}308

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!