[NTG-context] Images run into each other when using side floats

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed Oct 30 16:57:45 CET 2019


Aditya Mahajan schrieb am 30.10.2019 um 16:55:
> On Wed, 30 Oct 2019, Marco Patzer wrote:
>
>> Hi!
>>
>> Some images run into each other when using floats. The following
>> example illustrates this. The second image (or frame) runs into the
>> side figure frame. How to prevent this?
>>
>> \setupfloat [figure] [default=left]
>>
>> \starttext
>>  \samplefile{knuth}
>>
>>  \startplacefigure [title=Foo]
>>    \framed [width=5cm, height=5cm]{}
>>  \stopplacefigure
>>
>>  \samplefile{ward} \blank
> Add:
>
> \dontleavehmode
You need also \par or a blank line after the frame.

\dontleavehmode\framed [width=4cm, height=4cm]{}\par

Wolfgang



More information about the ntg-context mailing list