Indentation after \placefigure
![](https://secure.gravatar.com/avatar/67d9f9f4ba171c7673178ba08015b98c.jpg?s=120&d=mm&r=g)
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 Thanks! Best, Sylvain
![](https://secure.gravatar.com/avatar/114f07f31e228d83eece631b0937df73.jpg?s=120&d=mm&r=g)
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. Massi
![](https://secure.gravatar.com/avatar/67d9f9f4ba171c7673178ba08015b98c.jpg?s=120&d=mm&r=g)
On Tue, 10 Nov 2020 at 10:05, mf
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.
Massi
Hi Massi, It works! Thanks for the help! Sylvain
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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 Aditya
![](https://secure.gravatar.com/avatar/67d9f9f4ba171c7673178ba08015b98c.jpg?s=120&d=mm&r=g)
On Tue, 10 Nov 2020 at 18:05, Aditya Mahajan
On Tue, 10 Nov 2020, mf wrote:
Dear List,
Does anyone know how to indent the paragraph beneath \placefigure in
Il 10/11/20 09:42, Sylvain Hubert ha scritto: 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
participants (3)
-
Aditya Mahajan
-
mf
-
Sylvain Hubert