Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to put floatingfigure to the top or bottom corners?

200 views
Skip to first unread message

Stefan Bach

unread,
Dec 12, 2007, 6:38:30 AM12/12/07
to
Hey there,

I'm currently having some trouble to include figures into my text so
that the text floats around them. Until now I've found floatingfigure,
which allows exactly that, but it seems it can only align figures to the
top of new paragraphs.

Unfortunately this doesn't look very pretty. I'd prefer to have the
figures put to the corners of the page, e.g. at the outer page border
(possible through [p]) *and* aligned to the top/bottom of the page,
whatever fits.

Since the pictures I'm dealing with have greater height than width, a
normal figure environment doesn't really fit, since it wastes lots of
space. Has anybody an idea for my problem? I've searched a lot online
and couldn't find anything helpful...

Thanks a lot!

Stefan

anon k

unread,
Dec 12, 2007, 11:24:14 AM12/12/07
to

You might want to try wrapfig as well, but the impression that I get
from various on-line commentary is that LaTeX was written on the tacit
assumption that there wouldn't be word-wrapping, and so word-wrapping is
hard to implement. Very often wrapfig will overflow a figure or its
caption into the bottom margin, and there will be a weird empty space
where lines were shortened to accommodate it at the top of the following
page.

You can sometimes get around this by placing the figure earlier on the
page. But that isn't always possible.

If your captions are long, you might find some compromise by placing
them alongside the figure, so that the figure and caption take up the
full page width.

But if you have a lot of this to deal with, it may be more immediately
productive to switch to something like InDesign, FrameMaker or PageMaker
instead.

Donald Arseneau

unread,
Dec 13, 2007, 9:19:30 PM12/13/07
to
On Dec 12, 8:24 am, anon k <nos...@nul.nul> wrote:
> Stefan Bach wrote:
> > Hey there,
>
> > I'm currently having some trouble to include figures into my text so
> > that the text floats around them. ... I'd prefer to have the

> > figures put to the corners of the page, e.g. at the outer page border
> > (possible through [p]) *and* aligned to the top/bottom of the page,
> > whatever fits.
> You might want to try wrapfig as well,

wrapfig either places the figures in the exact spot they are specified
(non-floating) or floats to the start of some paragraph.

(Aside: the restriction to the start of paragraphs can be a bugger if
you have long paragraphs! A wrapped figure has to float much too
far to find a paragraph that starts with enough space left on the
page.)

> from various on-line commentary is that LaTeX was written on the tacit
> assumption that there wouldn't be word-wrapping, and so word-wrapping is
> hard to implement.

Huh? "word wrap" usually means something else.

Although LaTeX doesn't implement it, wrapping text around blocks of
stuff is easy in TeX. The problem is that the formatting of
paragraphs
and the formatting of pages are basically independent, so the two
can't interact decently.

> Very often wrapfig will overflow a figure or its
> caption into the bottom margin, and there will be a weird empty space
> where lines were shortened to accommodate it at the top of the following
> page.

Hmmm. When floating, that happens rarely. When using manual
placement, it happens as often as *you* do it :-)

Donald Arseneau as...@triumf.ca

0 new messages