text wrapped around \textwidth sized images unwantedly.
![](https://secure.gravatar.com/avatar/2706e19063fb01e1baa9e66488588703.jpg?s=120&d=mm&r=g)
I use ConTeXt for a document with many images. The text should float around the images, if possible. The floating itself works fine, but some images are equal or larger than \textwidth (so they are maxwidth=\textwidth). Instead of breaking above the image and starting below it again, the algorithm tries to float a bit of text (about 2-4 characters each line) around the image using space outside the text area (which naturally causes overfull \hbox-es). Is there any way to prevent this? If not, I define another float for these images and assign it to the affected images, but I wonder if I can get around this. Kind Regards, Jan
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 2/1/2016 11:08 PM, d_jan wrote:
I use ConTeXt for a document with many images. The text should float around the images, if possible.
The floating itself works fine, but some images are equal or larger than \textwidth (so they are maxwidth=\textwidth). Instead of breaking above the image and starting below it again, the algorithm tries to float a bit of text (about 2-4 characters each line) around the image using space outside the text area (which naturally causes overfull \hbox-es).
Is there any way to prevent this?
If not, I define another float for these images and assign it to the affected images, but I wonder if I can get around this.
try this: \setupfloat[figure][criterium=10cm,fallback=here] \placefigure[left]{}{\framed[width=5cm]{}} \input tufte \placefigure[left]{}{\framed[width=\textwidth]{}} \input tufte ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
d_jan
-
Hans Hagen