From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67147 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: How to get rounded corners and a thicker line with \startframedtext Date: Sat, 19 Mar 2011 00:24:31 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1117156333==" X-Trace: dough.gmane.org 1300490695 25027 80.91.229.12 (18 Mar 2011 23:24:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2011 23:24:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 00:24:51 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 1Q0j2J-0005q2-Fc for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 00:24:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E583CAAF9; Sat, 19 Mar 2011 00:24:46 +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 hngpieHFTR76; Sat, 19 Mar 2011 00:24:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A03ACAAEC; Sat, 19 Mar 2011 00:24:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67012CAAEC for ; Sat, 19 Mar 2011 00:24:41 +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 1VGN-Zn3Cot9 for ; Sat, 19 Mar 2011 00:24:30 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id C3681CAAD9 for ; Sat, 19 Mar 2011 00:24:29 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2INOWqA010994 for ; Sat, 19 Mar 2011 00:24:32 +0100 Original-Received: by fxm18 with SMTP id 18so5391792fxm.14 for ; Fri, 18 Mar 2011 16:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=MLJ3AnvXn0PANuvCN1LdNprKTRe2hNinvrhF1kkEbHY=; b=XwGJgOyQ6fzcbbaD+EJcr7CnzQevCMG+Q4BUXoD2aHj5t28KkYFbQlnOVeHYRo8jw+ mH7dP/Pc7o8XmcJZzOvEbYY/v5tHZpiijkZngHT6wzppsU31TKQRVBsvLJkXfy1AY6nN AXCDnvDCi2T4t8RuNlkRMh9egXAwlQqdNg9lk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=t8165NziHW5ThNBbKgGRSCnVkNT4jPQpmFSt2vqRHQdveHeyGYmh2tHwPYyXqIt63C kbZkgWDk0e0Ph5e5BWKaItJcH4x6gUulCvhhYcXt3m4vhAnSYmX6bHLa+OKONajDdBUK 2g+KOZ3DiJqPO3swGv2KhUPJerJMSXEkLfj0M= Original-Received: by 10.223.81.79 with SMTP id w15mr1947968fak.12.1300490671903; Fri, 18 Mar 2011 16:24:31 -0700 (PDT) Original-Received: by 10.223.110.71 with HTTP; Fri, 18 Mar 2011 16:24:31 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03EkLowQ6 - 29071cdf3c71 - 20110319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:67147 Archived-At: --===============1117156333== Content-Type: multipart/alternative; boundary=20cf3054a5a988541e049eca14ff --20cf3054a5a988541e049eca14ff Content-Type: text/plain; charset=ISO-8859-1 2011/3/18 luigi scarso > also > http://wiki.contextgarden.net/Framed > A very interesting read. I changed my macro to: \define[2]\Citation{ \blank \startframedtext[middle][ align=middle, background=color, backgroundcolor=lightgray, corner=round, rulethickness=2bp ] {\bf #2} \blank[small] \rightaligned{\it #1} \stopframedtext \blank } This results in an even more pleasing effect. (In my opinion.) -- Cecil Westerhof --20cf3054a5a988541e049eca14ff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/3/18 luigi scarso <luigi.scarso@gmail.com>
also
http://w= iki.contextgarden.net/Framed

A very interestin= g read. I changed my macro to:
\define[2]\Citation{
=A0 \blank
=A0= \startframedtext[middle][
=A0=A0=A0 align=3Dmiddle,
=A0=A0=A0 background=3Dcolor,
=A0=A0=A0 bac= kgroundcolor=3Dlightgray,
=A0=A0=A0 corner=3Dround,
=A0=A0=A0 rulethi= ckness=3D2bp
=A0=A0=A0 ]
=A0=A0=A0 {\bf #2}
=A0=A0=A0 \blank[small= ]
=A0=A0=A0 \rightaligned{\it #1}
=A0 \stopframedtext
=A0 \blank
}

This results in an even more pleasing effect. (In my= opinion.)

--
Cecil Westerhof
--20cf3054a5a988541e049eca14ff-- --===============1117156333== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1117156333==--