From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11337 Path: main.gmane.org!not-for-mail From: "Willi Egger" Newsgroups: gmane.comp.tex.context Subject: Re: How to change linewidth of a frame? Date: Tue, 11 Mar 2003 22:38:09 +0100 Organization: BOEDE Sender: ntg-context-admin@ntg.nl Message-ID: <001801c2e816$87cf27a0$0100a8c0@vademecum> References: <5.1.0.14.1.20030306100240.02e950d0@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1047418916 24891 80.91.224.249 (11 Mar 2003 21:41:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 21:41:56 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Mar 11 22:41:52 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18srTi-0006Kq-00 for ; Tue, 11 Mar 2003 22:40:06 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8613C10B55; Tue, 11 Mar 2003 22:40:47 +0100 (MET) Original-Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by ref.ntg.nl (Postfix) with ESMTP id CD15E10AB6 for ; Tue, 11 Mar 2003 22:38:24 +0100 (MET) Original-Received: from vademecum (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtpzilla2.xs4all.nl (8.12.0/8.12.0) with SMTP id h2BLcLri028553 for ; Tue, 11 Mar 2003 22:38:24 +0100 (CET) Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11337 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11337 > > \setuphead[Topic] > > [textcommand=\doTitle] > > \def\doTitle#1{% > > \bgroup > > \setupframed [offset=0.3ex,linewidth=2pt,framecolor=red] > ^^^^^^^^^^^^ > use that one with care since framed is used all over the place in context, > better pass these settings to \framed directly or create a framed > (\defineframed) > > > \framed{\blue \ss #1}% > > \egroup% > > } > > > >But the linewidth as no effect (it is not in the documented > >\setuphead options, but a just try it. > > rulethickness=2pt > > >Also, is it possible to set the linestyle to "daashed" or something > >like that? > > \startuniqueMPgraphic{dashed} > draw OverlayBox dashed evenly ; > \stopuniqueMPgraphic > > \defineoverlay[dashed][\uniqueMPgraphic{dashed}] > > \framed[background=dashed]{I didn't test this} I would not have expected differently than that this works! If you use this mechanism, the frame will have to be set to off. If you still want to change the thickness of the dashed box you will do this in the Metapost code. Then it will be time to consult the Metafun manual ;-) \startuniqueMPgraphic{dashed} pickup pencircle scaled 2pt draw OverlayBox dashed evenly ; \stopuniqueMPgraphic Willi