# [texhax] too big space after equation with index or nomenclature entry

Lars Madsen daleif at imf.au.dk
Fri Nov 9 17:38:16 CET 2007

Natércia Fernandes :

> Hi
>
> I've noticed an interesting behavior when inserting an index entry or a
> nomenclature entry during the preparation of a book with LaTeX:
>
> If a paragraph ends with an equation the space after the equation gets too big
> if an index entry (or alternatively a nomenclature entry) is added after the
> equation and before the paragraphs ends.
>
> The following produces too big space:
>
>         Some text
>
>         a=b.
>
>         \index{Something}
>
>         More text.
>
> But the following produces a correct space:
>
>         Some text
>
>         a=b.
>
>
>         \index{Something}
>         More text.
>
> I'm attaching a minimal example for the case of nomenclature entries (index
> entries
> present the very same behavior): in example3 the problem appears; in example4
> the prob doesn't appear.
>
> Can this too big spacement visible in example3 be avoided in a better way than
> moving the entry to the following paragraph as I did in example4?
>
> Thanks,
> Natércia
>

Have you tried just adding the index inside the math instead? I have had
exactly the same problem, and the answer that I got (from people who knows
about these sorts of things) is that there is not good way of fixing this.

/daleif