From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20087 Path: news.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: Re: dotted line for \framed ? Date: Sat, 23 Apr 2005 14:05:26 +0200 Message-ID: <20050423120526.GA1556@cebitec.uni-bielefeld.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114257667 12221 80.91.229.2 (23 Apr 2005 12:01:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2005 12:01:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 23 14:01:04 2005 Return-path: 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 1DPJJZ-0001J1-CV for gctc-ntg-context-518@m.gmane.org; Sat, 23 Apr 2005 14:00:49 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D34C1282F; Sat, 23 Apr 2005 14:05:35 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28019-03; Sat, 23 Apr 2005 14:05:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 979B212804; Sat, 23 Apr 2005 14:05:30 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0638312804 for ; Sat, 23 Apr 2005 14:05:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28055-01 for ; Sat, 23 Apr 2005 14:05:28 +0200 (CEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (sauron.cebitec.uni-bielefeld.de [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 4553C127A2 for ; Sat, 23 Apr 2005 14:05:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 830DD3CC for ; Sat, 23 Apr 2005 14:05:27 +0200 (MEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02398-03-10 for ; Sat, 23 Apr 2005 14:05:26 +0200 (MEST) Original-Received: from gollum.Genetik.Uni-Bielefeld.DE (gollum.CeBiTec.Uni-Bielefeld.DE [129.70.160.29]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id A0F593C7 for ; Sat, 23 Apr 2005 14:05:26 +0200 (MEST) Original-Received: by gollum.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id 87D78120C; Sat, 23 Apr 2005 14:05:26 +0200 (MEST) Original-To: mailing list for ConTeXt users Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de X-Virus-Scanned: by 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20087 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20087 On Sat, 23 Apr 2005 at 10:59:14+0200, Steffen Wolfrum wrote: > is there a command for \framed and \inframed > like for \setupunderbar[alternative=b]: > > that gives a dotted (bottom) line? You could do this by using a metpost graphic as background. I'm in a hurry, so untested, but something similar should work. \startuniqueMPgraphic{DottedFrame} draw (0,0) --(\overlaywidth,0) dashed withdots; \stopuniqueMPgraphic \defineoverlay[DottedFrame]{\uniqueMPgraphic{DottedFrame}} \starttext \framed[frame=off,offset=overlay,background=DottedFrame]{How nice!} \stoptext -- Eckhart