Indentation in floats
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
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
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