ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* one line caption
@ 2010-10-01 19:43 Patrick Gundlach
  2010-10-01 20:04 ` Mojca Miklavec
  2010-10-01 20:05 ` Peter Münster
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick Gundlach @ 2010-10-01 19:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: one line caption
  2010-10-01 19:43 one line caption Patrick Gundlach
@ 2010-10-01 20:04 ` Mojca Miklavec
  2010-10-01 20:05 ` Peter Münster
  1 sibling, 0 replies; 4+ messages in thread
From: Mojca Miklavec @ 2010-10-01 20:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: one line caption
  2010-10-01 19:43 one line caption Patrick Gundlach
  2010-10-01 20:04 ` Mojca Miklavec
@ 2010-10-01 20:05 ` Peter Münster
  2010-10-01 20:07   ` Patrick Gundlach
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Münster @ 2010-10-01 20:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: one line caption
  2010-10-01 20:05 ` Peter Münster
@ 2010-10-01 20:07   ` Patrick Gundlach
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Gundlach @ 2010-10-01 20:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>> 
>> \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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-01 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-01 19:43 one line caption Patrick Gundlach
2010-10-01 20:04 ` Mojca Miklavec
2010-10-01 20:05 ` Peter Münster
2010-10-01 20:07   ` Patrick Gundlach

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