From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66582 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: What is the best way to implement a table like this Date: Thu, 3 Mar 2011 13:34:12 +0100 Message-ID: References: <32024323-07CC-4C47-92CC-F5BDCED1B6E2@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0979770482==" X-Trace: dough.gmane.org 1299155697 24375 80.91.229.12 (3 Mar 2011 12:34:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 12:34:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 03 13:34:53 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 1Pv7k4-0002ZE-GL for gctc-ntg-context-518@m.gmane.org; Thu, 03 Mar 2011 13:34:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B33E3CAA94; Thu, 3 Mar 2011 13:34:51 +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 dc5X2bCV7eg3; Thu, 3 Mar 2011 13:34:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75251CAA91; Thu, 3 Mar 2011 13:34:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9235DCAA91 for ; Thu, 3 Mar 2011 13:34:34 +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 Olj7autiEEfN for ; Thu, 3 Mar 2011 13:34:14 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 1E7B8CAA89 for ; Thu, 3 Mar 2011 13:34:14 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p23CYDHr010462 for ; Thu, 3 Mar 2011 13:34:13 +0100 Original-Received: by fxm5 with SMTP id 5so1344608fxm.14 for ; Thu, 03 Mar 2011 04:34:13 -0800 (PST) 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=d88Cp1NjNTBjX1kOdmGKsNWp7czB9XqXyUP88+D+HxE=; b=BLwGkXUxZCjWyXD0GW2dSRMnkUgeCbgRMO7jdtIhJ3yj7nQz3RjAxPziEHzIsYVD2d /7/35kzhDidhNdA7IDYsZ66tCRo8Qjrgu5enXTbOTDhlbLYom4RxpfSoE5XbaHZTLgmC nOOXhuW5JOZrsT+nM56wXWOxgdzHG2bMf8InU= 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=JbNhEgtxNkA/wbe+PhqGwMz3PGIvvIaAiWzg988wb7JpFwNZhxpTfQG58S2CpvDnFQ 4gWQG/IY9BYijQZp8yvWy/fkIqI9FgZ8GIsQ//Vb+0eresWQgql4DKrdoX7sstZX3GDV /8Cs73G2zj25q77gOfi6QS7i0ps6gCYftO9fw= Original-Received: by 10.223.101.129 with SMTP id c1mr1417931fao.25.1299155652489; Thu, 03 Mar 2011 04:34:12 -0800 (PST) Original-Received: by 10.223.10.4 with HTTP; Thu, 3 Mar 2011 04:34:12 -0800 (PST) In-Reply-To: <32024323-07CC-4C47-92CC-F5BDCED1B6E2@gmail.com> 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: 0cEeAydPM - d0e7d79c21e5 - 20110303 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:66582 Archived-At: --===============0979770482== Content-Type: multipart/alternative; boundary=20cf30433ef82cbd44049d933fa2 --20cf30433ef82cbd44049d933fa2 Content-Type: text/plain; charset=ISO-8859-1 2011/3/3 Wolfgang Schuster > \starttext > > \setupTABLE[r][1][height=1cm,style=bold] > \setupTABLE[c][1][width=1cm,style=normal,orientation=90] > > \bTABLE[align={middle,middle},width=4cm,height=4cm,style=\tfd] > \bTR > \bTD[frame=off] \eTD > \bTD Urgent \eTD > \bTD Non-Urgent \eTD > \eTR > \bTR > \bTD Important \eTD > \bTD I \eTD > \bTD[color=red] II \eTD > \eTR > \bTR > \bTD Unimportant \eTD > \bTD III \eTD > \bTD IV \eTD > \eTR > \eTABLE > > \stoptext > There is also a placetable necessary. So it becomes: \setupTABLE[r][1][height=1cm,style=bold] \setupTABLE[c][1][width=1cm,style=bold,orientation=90] \placetable{De TijdManagement-Matrix} {\bTABLE[align={middle,middle},width=4cm,height=4cm,style=\tfd] \bTR \bTD[frame=off] \eTD \bTD Dringend \eTD \bTD Niet Dringend \eTD \eTR \bTR \bTD Belangrijk \eTD \bTD I \eTD \bTD[color=red] II \eTD \eTR \bTR \bTD Niet Belangrijk \eTD \bTD III \eTD \bTD IV \eTD \eTR \eTABLE} -- Cecil Westerhof --20cf30433ef82cbd44049d933fa2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/3/3 Wolfgang Schuster <= ;schuster.wolfgang@goog= lemail.com>
\starttext

\s= etupTABLE[r][1][height=3D1cm,style=3Dbold]
\setupTABLE[c][1][widt= h=3D1cm,style=3Dnormal,orientation=3D90]

\bTABLE[a= lign=3D{middle,middle},width=3D4cm,height=3D4cm,style=3D\tfd]
=A0=A0\bTR
=A0=A0 =A0\bTD[frame=3Doff] \eTD
=A0=A0= =A0\bTD Urgent \eTD
=A0=A0 =A0\bTD Non-Urgent \eTD
=A0= =A0\eTR
=A0=A0\bTR
=A0=A0 =A0\bTD Important \eTD
<= div>=A0=A0 =A0\bTD I \eTD
=A0=A0 =A0\bTD[color=3Dred] II \eTD
=A0=A0\eTR
=A0=A0\bTR
=A0=A0 =A0\bTD Unimportant \= eTD
=A0=A0 =A0\bTD III \eTD
=A0=A0 =A0\bTD IV \eTD
=A0=A0\eTR
\eTABLE

\stoptext
=

There is also a placetable necessary. So it becomes:
\setupTABLE[r][= 1][height=3D1cm,style=3Dbold]
\setupTABLE[c][1][width=3D1cm,style=3Dbold= ,orientation=3D90]

\placetable{De TijdManagement-Matrix}
{\bTABLE= [align=3D{middle,middle},width=3D4cm,height=3D4cm,style=3D\tfd]
=A0 \bTR
=A0=A0=A0 \bTD[frame=3Doff] \eTD
=A0=A0=A0 \bTD Dringend \eT= D
=A0=A0=A0 \bTD Niet Dringend \eTD
=A0 \eTR
=A0 \bTR
=A0=A0=A0= \bTD Belangrijk \eTD
=A0=A0=A0 \bTD I \eTD
=A0=A0=A0 \bTD[color=3Dre= d] II \eTD
=A0 \eTR
=A0 \bTR
=A0=A0=A0 \bTD Niet Belangrijk \eTD =A0=A0=A0 \bTD III \eTD
=A0=A0=A0 \bTD IV \eTD
=A0 \eTR
\eTABLE}
--
Cecil Westerhof
--20cf30433ef82cbd44049d933fa2-- --===============0979770482== 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 ___________________________________________________________________________________ --===============0979770482==--