* Indentation in floats
@ 2013-06-03 14:59 Marco Patzer
2013-06-03 16:44 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Marco Patzer @ 2013-06-03 14:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 364 bytes --]
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
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Indentation in floats
2013-06-03 14:59 Indentation in floats Marco Patzer
@ 2013-06-03 16:44 ` Wolfgang Schuster
2013-06-03 17:11 ` Marco Patzer
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2013-06-03 16:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 03.06.2013 um 16:59 schrieb Marco Patzer <homerow@lavabit.com>:
> 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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Indentation in floats
2013-06-03 16:44 ` Wolfgang Schuster
@ 2013-06-03 17:11 ` Marco Patzer
0 siblings, 0 replies; 3+ messages in thread
From: Marco Patzer @ 2013-06-03 17:11 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 693 bytes --]
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
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-03 17:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03 14:59 Indentation in floats Marco Patzer
2013-06-03 16:44 ` Wolfgang Schuster
2013-06-03 17:11 ` Marco Patzer
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).