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---
\defineframed[FullWidth][offset=overlay, width=\textwidth,
  frame=off, align=middle]
\starttext
\placefigure[here]{\input tufte\relax}
            {\FullWidth{\externalfigure[any][width=3cm]}}
\placefigure[here]{Short}
            {\FullWidth{\externalfigure[any][width=3cm]}}
\stoptext
--8<---------------cut here---------------end--------------->8---

Is this a solution?

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

Reply via email to