[texhax] Using "see also" in an index
Axel E. Retif
axel.retif at mac.com
Thu Dec 3 04:00:29 CET 2009
On 2 Dec, 2009, at 19:44, Axel E. Retif wrote:
> On 2 Dec, 2009, at 14:06, Steven Chapin wrote:
>
>> Hi,
>>
>> I've been using the package makeindex to create an index for a book and I would like to use "see also". For example, something like: path, 76, see also curve. I found a macro for this, but I couldn't get it to work properly.
>
> The *package* is makeidx (7 characters); the *program* or application LaTeX calls is
> makeindex (9 characters).
I regret my oversimplification ---it isn't LaTeX that calls the makeindex program, but your LaTeX editor when you ask it to run Makeindex.
Best,
Axel
> The package makeidx already has the macro for see also, the command |seealso (with |, not \). So in your preamble put
>
> \usepackage{makeidx}
> \makeindex
>
> and where the word ``path'' appears use
>
> ...path\index{path}
>
> and almost at the end of your text, when no more \index calls are made, you can put all you seealso commands:
>
> \index{path|seealso{curve}}%
>
> Best,
>
> Axel
More information about the texhax
mailing list