From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24681 Path: news.gmane.org!not-for-mail From: Jilani Khaldi Newsgroups: gmane.comp.tex.context Subject: Re: Red framed text Date: Fri, 23 Dec 2005 08:59:59 +0100 Message-ID: <43ABAE7F.8020403@virgilio.it> References: <43AA8088.1060101@virgilio.it> <43AA830F.7010700@elvenkind.com> <43AADD34.1070209@virgilio.it> <43AB1771.4040206@wxs.nl> <43AB2A75.9070905@virgilio.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135324664 16925 80.91.229.2 (23 Dec 2005 07:57:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2005 07:57:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 23 08:57:41 2005 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Epho5-0008Am-9S for gctc-ntg-context-518@m.gmane.org; Fri, 23 Dec 2005 08:57:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A993128BF; Fri, 23 Dec 2005 08:57:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29779-03; Fri, 23 Dec 2005 08:57:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AFF05128AA; Fri, 23 Dec 2005 08:57:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C525C128AA for ; Fri, 23 Dec 2005 08:57:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29817-07 for ; Fri, 23 Dec 2005 08:57:33 +0100 (CET) Original-Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142]) by ronja.ntg.nl (Postfix) with ESMTP id D351112884 for ; Fri, 23 Dec 2005 08:57:33 +0100 (CET) Original-Received: from [192.168.1.251] (82.57.118.7) by vsmtp2.tin.it (7.2.060.1) (authenticated as jilani.khaldi1@virgilio.it) id 43A91CBE0011E233 for ntg-context@ntg.nl; Fri, 23 Dec 2005 08:57:57 +0100 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <43AB2A75.9070905@virgilio.it> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24681 Archived-At: >> \setupcolors[state=start] >> >> \startuniqueMPgraphic{shadow} >> fill OverlayBox shifted (3pt,-3pt) withcolor .8white ; >> fill OverlayBox withcolor white ; >> draw OverlayBox withcolor red ; >> setbounds currentpicture to OverlayBox ; >> \stopuniqueMPgraphic >> >> \defineoverlay[shadow][\uniqueMPgraphic{shadow}] >> >> \framed >> [align=middle,background=shadow,frame=off] >> {\input tufte \relax} >> >> \blank >> >> \framed >> [align=middle,background=shadow,frame=off] >> {\input zapf \relax} >> > Very nice! Thank you. But is there a simple way to get the text left justified with a centered title "Attention!"? jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com