On 5/23/2010 6:32 PM, Amir wrote:
I have an inline equation that results in uneven spacing of the lines. How can I
fix that?
LaTeX will add extra space between lines if it perceives the equation to
be expanding too far into the existing space (crowding the next line
above or below too much). So you have multiple options:
1. Reduce the vertical dimension of the equation by replacing
\frac{a}{b} with a/b, eliminating large symbols, etc. This only works
if you can make changes that reduce the vertical dimension without
screwing up the content of the equation.
2. Reduce the vertical dimension of the equation by shrinking the font
size within the equation. This may result in the equation looking odd
(or possibly even being small enough to be difficult to read).
3. Increase the spacing between lines (go from single space to
space-and-a-half or double space, for instance). This presumably would
have to be applied to the whole document.
4. Make the equation a display equation (and leave it unnumbered).
I personally tend to use option 1 if it works, option 4 otherwise. To
quote (well, paraphrase) the immortal philosopher Dolly Parton, this is
what happens when you try to put 10 pounds of mud in a five pound sack.
/Paul