Dear Mikael!

 

Many thanks, that works great!

 

Uschi

 

Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Mikael Sundqvist via ntg-context
Gesendet: Montag, 13. März 2023 14:16
An: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mikael Sundqvist <mickep@gmail.com>
Betreff: Re: [NTG-context] Table

 

Hi Uschi,

 

On Mon, Mar 13, 2023 at 1:03 PM Ursula Hermann via ntg-context <ntg-context@ntg.nl> wrote:

I’d like to do a Table lik this one

enter image description here

I have no example. How can I do that? 

 

Many thanks

Uschi

 

There are probably better ways, but this seems to give something like what you look for:

 

\starttext

 

\setupTABLE[c][align=middle]

\setupTABLE[c][odd][width=2em]

\setupTABLE[c][even][width=1mm]

\setupTABLE[r][2][height=1mm]

\setupTABLE[c][1][leftframe=off]

\setupTABLE[c][5][rightframe=off]

 

\bTABLE

  \bTR

    \bTD 1 \eTD \bTD \eTD \bTD 2 \eTD \bTD \eTD \bTD 3 \eTD

  \eTR

  \bTR

    \bTD   \eTD \bTD \eTD \bTD   \eTD \bTD \eTD \bTD   \eTD

  \eTR

  \bTR

    \bTD 4 \eTD \bTD \eTD \bTD 5 \eTD \bTD \eTD \bTD 6 \eTD

  \eTR

  \bTR

    \bTD 7 \eTD \bTD \eTD \bTD 8 \eTD \bTD \eTD \bTD 9 \eTD

  \eTR

\eTABLE

 

\stoptext

 

/Mikael