[NTG-context] one line caption

2010-10-01 Thread Patrick Gundlach
Hi,

how do I get the caption as wide as possible?


\starttext
\placefigure
[here]
[foo]
{A very long caption, isn't it?}
{\externalfigure[cow][width=2cm]}
\stoptext


I also tried without luck

\setupcaptions[minwidth=fit] (no effect)

and \setupcaptions[minwidth=\textwidth] (left aligned)

Patrick

___
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
___


Re: [NTG-context] one line caption

2010-10-01 Thread Mojca Miklavec
On Fri, Oct 1, 2010 at 21:43, Patrick Gundlach wrote:
 Hi,

 how do I get the caption as wide as possible?

 
 \starttext
 \placefigure
 [here]
 [foo]
 {A very long caption, isn't it?}
 {\externalfigure[cow][width=2cm]}

Don't sue me; this is what I sometimes use:
{\hbox to .9\textwidth{\hss\externalfigure[cow][width=2cm]\hss}}

But I bet that there exists an option to fix that globally.

Mojca
___
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
___


Re: [NTG-context] one line caption

2010-10-01 Thread Peter Münster
On Fri, Oct 01 2010, Patrick Gundlach wrote:

 I also tried without luck
 
 \setupcaptions[minwidth=fit] (no effect)
 
 and \setupcaptions[minwidth=\textwidth] (left aligned)

\setupcaptions[minwidth=\textwidth, align=middle]

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/
___
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
___


Re: [NTG-context] one line caption

2010-10-01 Thread Patrick Gundlach
 
 \setupcaptions[minwidth=fit] (no effect)
 
 and \setupcaptions[minwidth=\textwidth] (left aligned)
 
 \setupcaptions[minwidth=\textwidth, align=middle]

[palm-slap to the forehead] Yes. Thanks!

Patrick


___
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
___