From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53862 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Dashed and dotted lines Date: Fri, 30 Oct 2009 10:04:12 +0100 Message-ID: <58220F8D-BEA9-4BB0-98D2-82FE09404628@googlemail.com> References: 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 1256893490 8090 80.91.229.12 (30 Oct 2009 09:04:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2009 09:04:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 30 10:04:43 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 1N3nPW-0004qX-8s for gctc-ntg-context-518@m.gmane.org; Fri, 30 Oct 2009 10:04:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63FFCC9AB7; Fri, 30 Oct 2009 10:03:18 +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 K0QnVssB4yoQ; Fri, 30 Oct 2009 10:03:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CE67C9A8A; Fri, 30 Oct 2009 10:03:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4508EC9A8A for ; Fri, 30 Oct 2009 10:03:07 +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 WeuLQxrGhRNo for ; Fri, 30 Oct 2009 10:02:58 +0100 (CET) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id 236E0C9A41 for ; Fri, 30 Oct 2009 10:02:57 +0100 (CET) Original-Received: by bwz20 with SMTP id 20so3299992bwz.34 for ; Fri, 30 Oct 2009 02:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=fp1WbgWM3mAWVDaMBTvbUFcgxPzIHmVQNb45RAwFUww=; b=AtMONDliBDDsl/og+T+o7TBuWJnlxVVbbvjDFw0KpL9lg06Dbl/SF2RMw5Z6Ja+RNc zzoQ6o0HBUO0+pPqCE5EggUvvX5juljBNYombdE+G4qShNgEspoPU4NFgpBMFEqmPQIa UxxdakzN9TsDXN5yrX6HKGVCSzROhhA1YpYsQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=fRKbaZNebM694VF2AH5qBTnWiCRfCjWJHo0xJBMIMTjzlkOtLhA539E5TH/63QQ88P 2kqEOU1jGN+qRHl5m2u8wB26LQePVuLbiX6+nvPIB6EfsalyCp9LEHmX377gVW54Q8gY 1MIBnN0py9OlWzvUKKbFo+CAkkgpPJdgJUeaI= Original-Received: by 10.204.156.24 with SMTP id u24mr872938bkw.172.1256893456952; Fri, 30 Oct 2009 02:04:16 -0700 (PDT) Original-Received: from ?192.168.2.23? (p54955381.dip.t-dialin.net [84.149.83.129]) by mx.google.com with ESMTPS id 16sm111122bwz.15.2009.10.30.02.04.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 Oct 2009 02:04:15 -0700 (PDT) In-Reply-To: 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:53862 Archived-At: Am 27.10.2009 um 15:45 schrieb Steffen Wolfrum: > Hi, > > does someone has a solution for setting dashed and dotted lines in > TABLE? \startuniqueMPgraphic{dottedline:top} draw topboundary OverlayBox dashed withdots withcolor red withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{dashedline:bottom} draw bottomboundary OverlayBox dashed evenly withcolor blue withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{dashedline:left} draw leftboundary OverlayBox dashed dashpattern(on 3mm off 3mm) withcolor green withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{solidline:bottomright} draw origin--(OverlayWidth,0)--(OverlayWidth,OverlayHeight) withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[dottedline:top] [\uniqueMPgraphic{dottedline:top}] \defineoverlay[dashedline:bottom] [\uniqueMPgraphic {dashedline:bottom}] \defineoverlay[dashedline:left] [\uniqueMPgraphic{dashedline:left}] \defineoverlay[solidline:bottomright][\uniqueMPgraphic {solidline:bottomright}] \setupTABLE[frame=off] \setupTABLE[1][1][background=dottedline:top] \setupTABLE[2][1][background=dashedline:bottom] \setupTABLE[1][2][background=dashedline:left] \setupTABLE[2][2][background=solidline:bottomright] \starttext \bTABLE \bTR\bTD\input knuth \eTD\bTD\input ward \eTD\eTR \bTR\bTD\input knuth \eTD\bTD\input ward \eTD\eTR \eTABLE \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________