From: Sylvain Hubert <champignoom@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indentation after \placefigure
Date: Tue, 10 Nov 2020 18:08:41 +0100 [thread overview]
Message-ID: <CACNy3NAdSL+Giuw2VMQTyA7dh-ZRWPJpF0-XHv788tTzqgawRw@mail.gmail.com> (raw)
In-Reply-To: <nycvar.YAK.7.78.908.2011101157160.747246@nqv-guvaxcnq>
[-- Attachment #1.1: Type: text/plain, Size: 1249 bytes --]
On Tue, 10 Nov 2020 at 18:05, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 10 Nov 2020, mf wrote:
>
> > Il 10/11/20 09:42, Sylvain Hubert ha scritto:
> > > Dear List,
> > >
> > > Does anyone know how to indent the paragraph beneath \placefigure in
> the
> > > following example?
> > >
> > > \indenting[2em]
> > > \setupindenting[yes]
> > >
> > > \starttext
> > >
> > > \dorecurse{50}{a b c }
> > >
> > > \placefigure[here,none][indentnext=yes]{}{
> > > \startMPcode
> > > draw fullcircle scaled 1cm;
> > > \stopMPcode
> > > }
> > >
> > > \dorecurse{50}{d e f } % not indented
> > >
> > > \dorecurse{50}{g h i }
> > > \stoptext
> > >
> >
> > The second bracket group of \placefigure is for references.
> > Instead of
> >
> > \placefigure[here,none][indentnext=yes]{}{...
> >
> > write
> >
> > \setupfloat[figure][indentnext=yes]
> > \placefigure[here,none]{}{...
> >
> > That way you enable indentation after every figure.
>
> If you want to change the behavior for a particular figure, you can also
> use the \start...stop variant:
>
> \startplacefigure[location={here,none}, indentnext=yes]
> ....
> \stopplacefigure
>
Thanks for the information, Aditya!
Sylvain
[-- Attachment #1.2: Type: text/html, Size: 1938 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2020-11-10 17:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 8:42 Sylvain Hubert
2020-11-10 9:04 ` mf
2020-11-10 9:15 ` Sylvain Hubert
2020-11-10 16:58 ` Aditya Mahajan
2020-11-10 17:08 ` Sylvain Hubert [this message]
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=CACNy3NAdSL+Giuw2VMQTyA7dh-ZRWPJpF0-XHv788tTzqgawRw@mail.gmail.com \
--to=champignoom@gmail.com \
--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).