From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54359 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: framed items Date: Mon, 16 Nov 2009 09:21:14 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258359712 6110 80.91.229.12 (16 Nov 2009 08:21:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 08:21:52 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 16 09:21:45 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 1N9wqD-0007hK-Vt for gctc-ntg-context-518@m.gmane.org; Mon, 16 Nov 2009 09:21:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8FBDC9ABB; Mon, 16 Nov 2009 09:19:21 +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 mQrjvj93UCy0; Mon, 16 Nov 2009 09:19:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2073C9AAA; Mon, 16 Nov 2009 09:19:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7F347C9AAA for ; Mon, 16 Nov 2009 09:19:16 +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 rjAfk1q8gHFk for ; Mon, 16 Nov 2009 09:19:14 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by balder.ntg.nl (Postfix) with ESMTP id DB302C9A9C for ; Mon, 16 Nov 2009 09:19:13 +0100 (CET) Original-Received: from [87.178.87.209] (account tschmit1@uni-bonn.de HELO [192.168.0.2]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 27329399 for ntg-context@ntg.nl; Mon, 16 Nov 2009 09:21:30 +0100 X-Mailer: Apple Mail (2.1076) 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:54359 Archived-At: 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? All best Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________