[texhax] Adjusting display skips

Reinhard Kotucha reinhard.kotucha at web.de
Wed May 12 00:42:13 CEST 2010


On 11 May 2010 J. Douglas Faires wrote:

 > 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 occurs when using \intertext
 > with a short word, for example, \intertext{and}

There are TeX primitives called \abovedisplayshortskip and
\belowdisplayshortskip .  They are similar to \abovedisplayskip and
\belowdisplayskip but are used if "the line above is short and the
display is also short", as you said.

Just play with \abovedisplayshortskip and \belowdisplayshortskip and
see what happens.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the texhax mailing list