Indentation in floats
![](https://secure.gravatar.com/avatar/d39338246f50cca667c8256c313d7cfd.jpg?s=120&d=mm&r=g)
Hi, how to disable indentation inside floats without using \noindenting each time? \setupindenting [yes, medium] \starttext \input ward \startplacefigure foo\par bar \stopplacefigure \startplacefigure alpha\par beta \stopplacefigure \startplacefigure \noindenting a manual\par\tex{noindenting}\par works \stopplacefigure \input ward \stoptext Marco
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 03.06.2013 um 16:59 schrieb Marco Patzer
Hi,
how to disable indentation inside floats without using \noindenting each time?
\setupindenting [yes, medium] \starttext \input ward
\startplacefigure foo\par bar \stopplacefigure
\startplacefigure alpha\par beta \stopplacefigure
\startplacefigure \noindenting a manual\par\tex{noindenting}\par works \stopplacefigure
\input ward \stoptext
There is no key for \setupfloat the disable the indentation because floats are only a container for other objects, e.g. figures or tables. For text objects like verbatim text indentation has to be part of the object and in your case you should use a environment which has a option for this. Wolfgang
![](https://secure.gravatar.com/avatar/d39338246f50cca667c8256c313d7cfd.jpg?s=120&d=mm&r=g)
On 2013–06–03 Wolfgang Schuster wrote:
how to disable indentation inside floats without using \noindenting each time? […]
There is no key for \setupfloat the disable the indentation because floats are only a container for other objects, e.g. figures or tables. For text objects like verbatim text indentation has to be part of the object and in your case you should use a environment which has a option for this.
I use the algorithmic environment. Using \setupalgorithmic [before=\noindenting] works. Maybe you can consider adding this as default, since I don't think it ever makes sense to use indentation within this environment. Marco
participants (2)
-
Marco Patzer
-
Wolfgang Schuster