From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67667 Path: news.gmane.org!not-for-mail From: "Reviczky, Adam" Newsgroups: gmane.comp.tex.context Subject: frames within frame Date: Wed, 6 Apr 2011 17:11:46 +0100 Message-ID: <7B4626C28B06A7418E938BF73D6DEE18F9F571EA08@KCL-MAIL05.kclad.ds.kcl.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302106357 29399 80.91.229.12 (6 Apr 2011 16:12:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2011 16:12:37 +0000 (UTC) To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 06 18:12:33 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7VLL-0003TA-HA for gctc-ntg-context-518@m.gmane.org; Wed, 06 Apr 2011 18:12:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B93D1CABFD; Wed, 6 Apr 2011 18:12:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gxSBUB-Iz1+n; Wed, 6 Apr 2011 18:12:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CD19CABF8; Wed, 6 Apr 2011 18:12:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BFC10CABF8 for ; Wed, 6 Apr 2011 18:12:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pu3XzVqp3RUN for ; Wed, 6 Apr 2011 18:12:15 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 251B5CABF6 for ; Wed, 6 Apr 2011 18:12:15 +0200 (CEST) Original-Received: from mail72.messagelabs.com (mail72.messagelabs.com [193.109.255.147]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p36GCB6i009409 for ; Wed, 6 Apr 2011 18:12:12 +0200 X-VirusChecked: Checked X-Env-Sender: adam.reviczky@kcl.ac.uk X-Msg-Ref: server-8.tower-72.messagelabs.com!1302106330!23704671!1 X-StarScan-Version: 6.2.9; banners=-,-,- X-Originating-IP: [137.73.2.214] Original-Received: (qmail 6404 invoked from network); 6 Apr 2011 16:12:10 -0000 Original-Received: from ob.test.kcl.ac.uk (HELO outbound.kcl.ac.uk) (137.73.2.214) by server-8.tower-72.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 6 Apr 2011 16:12:10 -0000 Original-Received: from ml-relay1.kcl.ac.uk ([137.73.2.230] helo=hazel) by outbound.kcl.ac.uk outbound with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) id 1Q7VKe-0006w8-DK for ntg-context@ntg.nl; Wed, 06 Apr 2011 17:11:48 +0100 Original-Received: from [194.83.7.243] (helo=KCL-ETS04.ds.kcl.ac.uk) by hazel mlmx with esmtp id 1Q7VKe-0006w3-6u for ntg-context@ntg.nl; Wed, 06 Apr 2011 17:11:48 +0100 Original-Received: from KCL-HTS04.kclad.ds.kcl.ac.uk (10.12.7.211) by KCL-ETS04.ds.kcl.ac.uk (10.12.4.23) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 6 Apr 2011 17:11:47 +0100 Original-Received: from KCL-MAIL05.kclad.ds.kcl.ac.uk ([193.63.72.94]) by KCL-HTS04.kclad.ds.kcl.ac.uk ([10.12.7.211]) with mapi; Wed, 6 Apr 2011 17:11:47 +0100 Thread-Topic: frames within frame Thread-Index: AQHL9HVTb/uv3xVcmkuiuOahC4SxDw== Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-Bayes-Prob: 0.0311 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=193.109.255.147; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07EsgcbVK - 7d6e07d7c6c8 - 20110406 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:67667 Archived-At: 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. Adam ___________________________________________________________________________________ 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 ___________________________________________________________________________________