Am 14.05.2013 um 23:00 schrieb Sietse Brouwer <sbbrou...@gmail.com>:
> Hi Hans, > > I believe that in MkIV some \framed[location=...] keys are not > working, namely `depth`, `height`, and `hanging`. In MkIV these all > place the bottom of the frame flush with the baseline, like > [location=]. In MkII they behave more sensibly, as follows: > > * depth: place bottom of frame flush with bottom of the line (i.e. > \strutdepth below baseline) > * height: place top of frame flush with top of line > * hanging: place top of frame flush with baseline The reason why all the location alternatives don’t work is because the original \vbox for the content is converted to a \hbox which ignores the changed values (even though the changed values for the height/depth are used as seen at the surrounding box). The process to create a \hbox happens when the background is applied with: \def\pack_framed_add_background {\setbox\b_framed_normal\hbox % was vbox ... \egroup}} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________