Am 06.04.2011 um 18:11 schrieb Reviczky, Adam:

> Hi
> 
> If I have two frames within one frame, how can I vertically align the first 
> (well, or both) framed to top or middle.
> Here's a minimal example:
> 
> \starttext
> \framed[strut=no,height=fit,framecolor=green,background=screen,backgroundscreen=.80]
> {\framed[height=fit,width=100pt,background=screen,backgroundscreen=.90,frame=on,autowidth=force,align=middle]{first
>  box wants to be on top/middle}
> \framed[offset=none,height=100pt,width=100pt,background=screen,backgroundscreen=.90,frame=on]{second
>  box}}
> \stoptext
> 
> So here the second framed defines the hight, and the first framed is on the 
> bottom of the "big outer" frame.
> All I want is to have the first box on top or middle respectively.
> I've tried location, but that didn't work.

You need “location=middle” for the *inner* frames.

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
___________________________________________________________________________________

Reply via email to