Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How do I reduce the vertical spacing of \intertext?

share|improve this question
add comment

4 Answers

up vote 10 down vote accepted

The mathtools package provides the command \shortintertext, which has less vertical space than the standard \intertext.

share|improve this answer
add comment

Below the upper part of the formula comes a vertical space with the height \belowdisplayskip. Afterwards comes the text by \intertext. Before the rest of the formula, a vertical space with a height of \abovedisplayskip will be inserted.

These are usual spaces before and after displayed math environments and surrounding text. So, it's the same for inserted texts. \abovedisplayshortskip and \belowdisplayshortskip are further such skips; these short skips would be used if the line before the display ends before the formula begins, for the visual appearance.

You could change those lengths. If you need it just at a certain place, you could modify the lengths there and limit this effect by grouping with braces or \begingroup, \endgroup:

\intertext{some text}

Instead of 0 pt you could insert any other value. If you need it several times, you could consider to create a macro or to modify the behavior of \intertext.

share|improve this answer
add comment

one option, if you only want to change the spacing between lines in a certain part of your document (like one block of equations) is to use the setspace package, and use the spacing environment like this:

        a = 4
        \intertext{this is a long line of text between your equations}
        b = 3

the second argument for the spacing environment is the spacing factor. for smaller than normal, use values < 1.

share|improve this answer
add comment

It is possible to exploit \flalign to get better control of the vertical spacing.

The {\LaTeX} \verb|\intertext| command is generally unsatisfactory.
&& L_1 &= R_1 && \\
\intertext{Who needs this?}
&& L_2 &= R_2 && \\
&\text{Whatever needs to be said should be said here.}\hidewidth\\
&& L_3 &= R_3 &&
We should get good alignment this way.
share|improve this answer
@Kurt - this is an answer: he's saying don't use \intertext for text interjections. –  Charles Stewart May 1 '13 at 16:30
@CharlesStewart okay, perhaps then a sentence more would be very helpful to make it clear to all readers? For me (and perhaps my poor english) it was not ... But thanks for clarification! –  Kurt May 1 '13 at 16:39
David, could you rephrase your answer a little. In the current form it almost looks like a question. Also some explanation outside the code is generally favorable. It would also be very good if you could also add a screenshot of the result. –  Martin Scharrer May 2 '13 at 6:42
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.