I have trouble in writing my latex document : I have a lot of inline short math formulas in my text, and latex keep growing line spacing because of it. I'd like to force latex to keep a normal line spacing, even if it means writing the formulas over the text (in this case I would deal with it case by case).
I've tried quite every command for fixing line spacing, but latex does not care.
Here is a small picture of what I'd like to avoid (in particular, there is still much free space between lines I could reduce):
Best Answer
If you insert a formula as
its vertical size will not be considered during typesetting. However, spaces inside the formula won't stretch or shrink together with the other spaces in the line, which could change the typesetting. So, in the case of a formula with an equality you should type
I'd not do in this way, though: the enlarged line spacing is the only clue you have for manually fixing the output. So I'd leave the typesetting as is, and only then apply cautiously adjustments. In the showcase example, you could use
(requires
amsmath
) to remove the bottom vertical space.