ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: What is the best way to implement a table like this
Date: Thu, 3 Mar 2011 13:34:12 +0100	[thread overview]
Message-ID: <AANLkTikPpooeFUdDfGJR6y7OadZoxyZzmBVOUMLZBsmX@mail.gmail.com> (raw)
In-Reply-To: <32024323-07CC-4C47-92CC-F5BDCED1B6E2@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1080 bytes --]

2011/3/3 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

> \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

[-- Attachment #1.2: Type: text/html, Size: 1677 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2011-03-03 12:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 22:32 Cecil Westerhof
2011-03-03  5:27 ` Wolfgang Schuster
2011-03-03 11:56   ` Cecil Westerhof
2011-03-03 12:34   ` Cecil Westerhof [this message]
2011-03-03 13:40     ` Wolfgang Schuster
2011-03-03 14:08       ` Cecil Westerhof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikPpooeFUdDfGJR6y7OadZoxyZzmBVOUMLZBsmX@mail.gmail.com \
    --to=cldwesterhof@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).