[OS X TeX] Controlling white space in wrapfig ~OT

Bob Kerstetter bkerstetter at mac.com
Sat Jun 26 12:13:00 EDT 2004


On Jun 25, 2004, at 1:18 PM, Samuel Lelievre wrote:

> Bob wrote:
>> \newenvironment{compactwrapfigure}
>>     {\setlength{\intextsep}{.5\intextsep}%
>>      \wrapfloat{figure}}
>>     {\endwrapfloat}
>>
>> Cutting \intextsep in half by using {.5\intextsep} reduces the white 
>> space some below, but little, if any, above the image. Making it even 
>> smaller as in {.2\intextsep} again reduces the space below the image 
>> and does nothing above the image.
>>
>> From the wrapfig.sty document, \intextsep appears to be the 
>> controlling factor both above and below the image, but there must be 
>> others.
>
<snip>

> You could suppress the space by setting \intextsep to 0pt.
>
> What I sometimes do is just set \intextsep before I call
> wrapfigure, like in
>
>   ...Blah-blah-blah.
>   \setlength{\intextsep}{0pt}
>   \begin{wrapfigure}......
>   \end{wrapfigure}
>   Wrapped-blah-blah...
>   \setlength{\intextsep}{3pt}

thanks! there is hope here. this works well.

<snip>

> Also check whether your image doesn't *contain* a lot of
> white space on the top. If that is the case, you could
> consider setting \intextsep to a negative value before
> calling wrapfigure, then reset it to a reasonable value.

negative \intextsep produces more white space above than below, but too 
much top white space in the image was not a problem.



-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list