ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Aditya Mahajan <adityam@umich.edu>
Subject: Re: Images run into each other when using side floats
Date: Wed, 30 Oct 2019 16:57:45 +0100	[thread overview]
Message-ID: <c7a9998c-e5b0-14be-15f4-52d303d1bf36@gmail.com> (raw)
In-Reply-To: <nycvar.YAK.7.76.1910301154440.168402@ervasbepr.pvz.zptvyy.pn>

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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-10-30 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-30 15:41 Marco Patzer
2019-10-30 15:55 ` Aditya Mahajan
2019-10-30 15:57   ` Wolfgang Schuster [this message]
2019-10-30 16:16   ` Marco Patzer
2019-10-30 17:48     ` Wolfgang Schuster
2019-10-30 18:40       ` Marco Patzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c7a9998c-e5b0-14be-15f4-52d303d1bf36@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).