Re: [NTG-context] How to make Figure captions justify if long?

2012-02-09 Thread Wagner Macedo
In your example, the caption is limited to image width. What I want is something as \setupcaption[figure][width=\textwidth, align=middle] does. But long texts should behave as document text (hyphenated, including). Thanks by attention. -- Wagner Macedo On 9 February 2012 04:34, Steffen

Re: [NTG-context] How to make Figure captions justify if long?

2012-02-09 Thread Peter Münster
On Thu, Feb 09 2012, Wagner Macedo wrote: My layout style require that table or figure captions stay centered only if short. If long, it needs that the caption be justified (like normal text, but less width). --8---cut here---start-8---

Re: [NTG-context] How to make Figure captions justify if long?

2012-02-09 Thread Wagner Macedo
Yes, thank you. And to not need to enclose \externalfigure with \FullWidth, I found that I can set the command attribute on \setupfloat[figure] as following: \defineframed[FullWidth][offset=overlay, width=\textwidth, frame=off, align=middle] \setupfloat[figure][command=\FullWidth] --

Re: [NTG-context] How to make Figure captions justify if long?

2012-02-09 Thread Marco
On 2012-02-09 Peter Münster pmli...@free.fr wrote: \defineframed[FullWidth][offset=overlay, width=\textwidth, frame=off, align=middle] \starttext \placefigure[here]{\input tufte\relax} {\FullWidth{\externalfigure[any][width=3cm]}} \placefigure[here]{Short}

[NTG-context] How to make Figure captions justify if long?

2012-02-08 Thread Wagner Macedo
Hello, The title is not self explaining, I'll try to do this. My layout style require that table or figure captions stay centered only if short. If long, it needs that the caption be justified (like normal text, but less width). In LaTeX, I know that this works on article document class, like

Re: [NTG-context] How to make Figure captions justify if long?

2012-02-08 Thread Marco
On 2012-02-08 Wagner Macedo wagnerluis1...@gmail.com wrote: My layout style require that table or figure captions stay centered only if short. If long, it needs that the caption be justified (like normal text, but less width). I don't know if I get you right, but I think you

Re: [NTG-context] How to make Figure captions justify if long?

2012-02-08 Thread Wagner Macedo
Thanks by the answer, but I had already thought in this. I would like something more definitive. By the way, at http://wiki.contextgarden.net/Reference/en/setupcaptions I can see a command argument. I was wondering if a custom command can do the trick, but I don't know how I should use this arg

Re: [NTG-context] How to make Figure captions justify if long?

2012-02-08 Thread Steffen Wolfrum
Am 09.02.2012 um 02:13 schrieb Wagner Macedo: Thanks by the answer, but I had already thought in this. I would like something more definitive. How about this: \starttext \placefigure[here]{This is just an example for this is just an example for this is just an example for this is just an