On 2012-02-08 Wagner Macedo
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 are talking about the width of the caption. It adaptes to the with of the figure. There is the “minwidth” parameter for \setupcaptions, but since the short captions will not be centred it's probably not what you aim for. I don't have a solution, but a workaround that alters the global width setting for an individual caption: \useMPlibrary [dum] \starttext \startplacefigure [title=Foo Bar] \externalfigure [placeholder] \stopplacefigure \setupcaptions [width=.8\textwidth] \startplacefigure [title={\input tufte\par}] \externalfigure [placeholder] \stopplacefigure \setupcaptions [width=fit] \startplacefigure [title=Foo Bar] \externalfigure [placeholder] \stopplacefigure \input knuth \stoptext Marco