From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54360 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: framed items Date: Mon, 16 Nov 2009 03:33:59 -0500 (EST) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258360467 8263 80.91.229.12 (16 Nov 2009 08:34:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 08:34:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 16 09:34:20 2009 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.50) id 1N9x2S-0003fx-CX for gctc-ntg-context-518@m.gmane.org; Mon, 16 Nov 2009 09:34:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3C017C9ADD; Mon, 16 Nov 2009 09:32:03 +0100 (CET) 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 4YcxEKyg2JyN; Mon, 16 Nov 2009 09:32:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A85F7C9AB7; Mon, 16 Nov 2009 09:32:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7003C9AB7 for ; Mon, 16 Nov 2009 09:31:58 +0100 (CET) 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 6+8zx4oG4vF8 for ; Mon, 16 Nov 2009 09:31:46 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by balder.ntg.nl (Postfix) with ESMTP id 6D909C9AAF for ; Mon, 16 Nov 2009 09:31:46 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By hackers.mr.itd.umich.edu ID 4B010E79.151EF.6541 ; Authuser adityam; 16 Nov 2009 03:34:01 EST In-Reply-To: User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) 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:54360 Archived-At: On Mon, 16 Nov 2009, Thomas A. Schmitz wrote: > Hi all, > > maybe there is already code for that, but I haven't found it: is it possible > to have itemgroups where every single item is within a frame (this is > something that may be interesting for presentations)? Just to give you an > idea of what I want to achieve, here's a short example: > > \setuplayout[width=10cm] > > \starttext > \setupframed[offset=2mm, > corner=round, > background=color, > backgroundcolor=blue, > foregroundcolor=white, > frame=off, > strut=no, > align=normal, > width=\textwidth] > > \startitemize[n] > \item \framed{The text of this item is made very long because it is intended > to > show the effect of what happens when an item extends to more than just one > line.} > \item \framed{This item is relatively short, but also fills more than one > line.} > \stopitemize > > \stoptext > > The problem is the vertical alignment of the item number, which should be at > the top of the frame. Is this possible? Add location=top to \setupframed. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________