ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Space after caption of a float
@ 2012-09-25  8:31 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-09-25  8:42 ` Marco Patzer
  0 siblings, 1 reply; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-09-25  8:31 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

Hello,

is there a built-in parameter for \setupcaptions which would affect the space after the caption? Or any other way?

- Images here seem to me too close to each other; and I'm not able to add some extra space after the caption to get a bit bigger gap to the next object (image, text, whatever).

Here are my trials - all bad, none of them increase the space after the caption:

----
\define[1]\MyCmd{#1\blank[2*big]}

\starttext
   \placefigure[place]{Caption1}{\externalfigure[cow][width=.1\textwidth]}
   \placefigure[place]{Caption2\blank}{\externalfigure[cow][width=.1\textwidth]}
   \placefigure[place]{Caption3\blank[big]}{\externalfigure[cow][width=.1\textwidth]}
   \placefigure[place]{Caption4}{\externalfigure[cow][width=.1\textwidth]}

   \setupcaptions[command=\MyCmd]

   \placefigure[place]{Caption5}{\externalfigure[cow][width=.1\textwidth]}
   \placefigure[place]{Caption6}{\externalfigure[cow][width=.1\textwidth]}
\stoptext
----

TIA.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: t-Cap.mkiv --]
[-- Type: application/octet-stream, Size: 565 bytes --]

\define[1]\MyCmd{#1\blank[2*big]}

\starttext
  \placefigure[place]{Caption1}{\externalfigure[cow][width=.1\textwidth]}
  \placefigure[place]{Caption2\blank}{\externalfigure[cow][width=.1\textwidth]}
  \placefigure[place]{Caption3\blank[big]}{\externalfigure[cow][width=.1\textwidth]}
  \placefigure[place]{Caption4}{\externalfigure[cow][width=.1\textwidth]}

  \setupcaptions[command=\MyCmd]

  \placefigure[place]{Caption5}{\externalfigure[cow][width=.1\textwidth]}
  \placefigure[place]{Caption6}{\externalfigure[cow][width=.1\textwidth]}
\stoptext

[-- Attachment #3: 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: Space after caption of a float
  2012-09-25  8:31 Space after caption of a float Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-09-25  8:42 ` Marco Patzer
  2012-09-25  8:57   ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Patzer @ 2012-09-25  8:42 UTC (permalink / raw)
  To: ntg-context

2012-09-25 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>:

Hi Lukáš,


> is there a built-in parameter for \setupcaptions which would affect the space after the caption?

\setupcaptions
  [figure]
  [spaceafter=1cm,align=middle]

\starttext
  \placefigure[place]{Caption1}{\externalfigure[cow][width=.1\textwidth]}
  \placefigure[place]{Caption2}{\externalfigure[cow][width=.1\textwidth]}
  \placefigure[place]{Caption3}{\externalfigure[cow][width=.1\textwidth]}
\stoptext


Marco

___________________________________________________________________________________
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: Space after caption of a float
  2012-09-25  8:42 ` Marco Patzer
@ 2012-09-25  8:57   ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 0 replies; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-09-25  8:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 25 Sep 2012 10:42:30 +0200, Marco Patzer <homerow@lavabit.com> wrote:

> 2012-09-25 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>:
>
> Hi Lukáš,
>
>
>> is there a built-in parameter for \setupcaptions which would affect the space after the caption?
>
> \setupcaptions
>   [figure]
>   [spaceafter=1cm,align=middle]

... That's it, thank you.

Added to wiki: http://wiki.contextgarden.net/Command/setupcaptions

Best regards,

Lukas

>
> Marco


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
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:[~2012-09-25  8:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-25  8:31 Space after caption of a float Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-25  8:42 ` Marco Patzer
2012-09-25  8:57   ` Procházka Lukáš Ing. - Pontex s. r. o.

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).