Am 23.03.2009 um 18:27 schrieb Jelle Huisman:
Hi all,
I try to get text flowing nicely around a figure but since I'm
working in a columns environment \placefloat related stuff doesn't
work. Using \starthangaround I get precisely what I want but I need
to place figures to the right instead of to the left. I modified the
definition for \starthangaround (from cont-new.tex) but I'm afraid I
don't understand enough of it to get it working, anyone who can help?
\unprotect
\def\stopmyhangaround
{\endgraf
\egroup}
\def\startmyhangaround
{\noindent\bgroup
\dowithnextbox
{\ifdim\nextboxht>\strutht\setbox\nextbox\tbox{\flushnextbox}\fi
\setbox\nextbox\hbox{\hskip\@@hadistance\flushnextbox}%
\getboxheight\scratchdimen\of\box\nextbox
\getnoflines\scratchdimen
\nextboxht\strutht
\nextboxdp\strutdp
\hangindent-\nextboxwd
\hangafter-\noflines
\rlap{\hskip\hsize\llap{\flushnextbox}}\ignorespaces}
\hbox}
\protect
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________