[texhax] Adjusting display skips

Donald Arseneau asnd at triumf.ca
Wed May 12 09:53:16 CEST 2010

"J. Douglas Faires" <jfaires at ysu.edu> writes:

> Is there a package that assists in adjusting the \abovedisplayskip,
> respectively  \belowdisplayskip, parameter   based on the width
> of the display and the width of the line  above, respectively, below it?
> For example, when the line above the display runs over the display, then the
> spacing above the display is perfect, but
> if the line above is short and the display is also short, there is too much
> space above the display. This also

What you ask for is already done by \abovedisplayshortskip.  However,
there is no facility for smart handling of the space below the display,
despite the presence of \belowdisplayshortskip (which you should ignore).

However, some alignment displays are "full width" despite much of that 
width being blank space.  I thought several of the AMS alignments worked
properly, though, whereas {eqnarray} works poorly.  

> occurs when using \intertext with a short word, for example, \intertext{and}

Ah yes, you are using amsmath alignments.  I always thought that \intertext
had a poor behavior in inserting the above/below skips.

Donald Arseneau                          asnd at triumf.ca

More information about the texhax mailing list