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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the difference between these two?



I don't know why, but it seems to work unusually.


u_{i,t} = u_{i,t-1} + v_t
u_{i,t-1} = u_{i,t-2} + v_{t-1}
\Delta u_{it} = u_{i,t} - u_{i,t-1} = u_{i,t-1} + v_t - u_{i,t-1} =

So why does it look like this:

the formulae

I expected the short display skip to be between consecutive formulae and the regular skip to be before and after the first and last in the series, or something like that. In any case, why the heck would it do this?

share|improve this question
up vote 7 down vote accepted

Others have well described when the "short" skips are selected; as to why, it's easy: the purpose is avoiding large gaps between text and a centered equation.

How to avoid unbalanced spacing before and after equations? The answer is simple: use amsmath that provides many environments in order to accommodate multiple equations or alignments. For example, your case study should be input as

u_{i,t} = u_{i,t-1} + v_t \\
u_{i,t-1} = u_{i,t-2} + v_{t-1} \\
\Delta u_{it} = u_{i,t} - u_{i,t-1} = u_{i,t-1} + v_t - u_{i,t-1} =

which avoids the "unbalancedness" and also prevents bad page breaks. By default amsmath will never allow a display environment to be broken across pages, but it's possible to override locally this behavior at final revision time with a suitably placed \displaybreak command.

share|improve this answer
Thanks for that, amsmath works much better. Would you know how to set the spacing between environments and paragraphs? – Aram Kocharyan Oct 8 '11 at 13:14
The environments honor the settings of \abovedisplayskip and friends. – egreg Oct 8 '11 at 13:18

The short versions are used when the line above or below (as appropriate) is 'short'. Now, that leaves the question of what is 'short'. To quote the excellent TeX by Topic

The ‘short’ variants of the glue are taken if there is no \leqno left equation number, and if the last line of the paragraph above the display is short enough for the display to be raised a bit without coming too close to that line. In order to decide this, the effective width of the preceding line is saved in \predisplaysize. This value is calculated immediately after the opening $$ of the display has been scanned, together with the \displaywidth and \displayindent explained above.

Thus the short skips are used where there is a visual 'overlap' between the paragraph text and the math mode material.

share|improve this answer

I want to recommend the great work of Herbert Voß called mathmode (available on CTAN or simple texdoc mathmode).

He wrote on page 11

The short skips are used if the formula starts behind the end of the foregoing last line. Only for demonstration the shortskips are set to 0pt in the following examples and the normal skips to 20pt without any glue:

For more information please read this manual.

share|improve this answer

The short variants gets inserted when the previous/preceding paragraph is short, to compensate for the (optical) whitespace.

To paraphrase The TeXbook:

Let z, s, and p be the current values of \displaywidth, \displayindent, and \predisplaysize.


TEX computes a displacement d, to be used later when positioning box b,


If d + s ≤ p, or if there was a left equation number (\leqno), TeX sets g_a and g_b to glue items specified by the parameters \abovedisplayskip and \belowdisplayskip; respectively; otherwise, g_a and g_b become glue items corresponding to \abovedisplayshortskip and \belowdisplayshortskip. [Translation: If the predisplaysize is short enough so that it doesn't overlap the displayed formula, the glue above and below the display will be "short" by comparison with the glue that is used when there is an overlap.]

share|improve this answer
what defines a short paragraph? – Aram Kocharyan Oct 8 '11 at 11:36
@Aram: A "short" paragraph is one with horizontal whitespace between the end of its last line and the start of the displayed equation. – lockstep Oct 8 '11 at 11:44
Hmm. So there's no way to define a spacing before the first and last equation and another spacing in between equations? – Aram Kocharyan Oct 8 '11 at 11:47
@AramKocharyan That's why one should never chain two equation environments, but rather use the environments provided by amsmath. – egreg Oct 8 '11 at 12:04

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.