There is an interaction in the placement of float captions when their width is set and background coloring switched.
Minimal example included here, the jpeg is arbitrary of course. Output shown.
Setting the width of the caption effectively shifts the caption to the left.
See the change between the last two floats where [background=] changes the game.

I wonder, is this intended behaviour? Or should one expect something different?

\starttext

Testing figure captions with \tex{setupframed[background="">

\setupframed[background="">
\placefigure[][]{\tex{setupframed[background="">

Add \tex{setupcaption[align=middle,width=\makeupwidth]} as setting here:\par
\setupcaption[align=middle,width=\makeupwidth]
\setupframed[background="">
\placefigure[][]{\type{\setupcaption[align=middle,width=\makeupwidth]}}{\externalfigure[test.jpg]}

\setupframed[background="">
\placefigure[][]{\tex{setupframed[background="">

\stoptext

dr. Hans van der Meer

Attachment: captionshift.pdf
Description: Adobe PDF document



___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to