Am 16.07.2012 um 11:27 schrieb Peter Münster:
On Mon, Jul 16 2012, d_jan wrote:
Is it possible to set the caption position for some images to another position than the one defined in \setupcations ? The standard in my document is location=bottom but for some images I'd prefer =right.
\setupcaptions[location=bottom] \def\PlaceRightFigure#1#2{{\setupcaptions[location=right]% \placefigure{#1}{#2}}} \starttext \placefigure{caption 1}{figure 1} \PlaceRightFigure{caption 2}{figure 2} \placefigure{caption 3}{figure 3} \stoptext
It’s easier to create a real float command which has it’s own caption settings. \definefloat[rightfigure][rightfigure][figure] \setupcaption[rightfigure][location=right] \starttext \placefigure{caption 1}{\framed{figure 1}} \placerightfigure{caption 2}{\framed{figure 2}} \placefigure{caption 3}{\framed{figure 3}} \stoptext Wolfgang