Re: [NTG-context] The same Table, im Math Modus?

2023-03-23 Thread Ursula Hermann via ntg-context
Dear Yanrui,


many thanks, works great.


Uschi


Von: ntg-context  im Auftrag von Li Yanrui (李延瑞) 
via ntg-context 
Gesendet: Donnerstag, 23. März 2023 01:56:07
An: mailing list for ConTeXt users
Cc: Li Yanrui (李延瑞)
Betreff: Re: [NTG-context] The same Table, im Math Modus?



Ursula Hermann via ntg-context mailto:ntg-context@ntg.nl>> 
于2023年3月21日周二 20:45写道:

I’d like to do a Table lik this one
[enter image description here]
I have no example. How can I do that?


You can use xtable, e.g.

\startxtable[frame=off,width=1cm,align=center]
\startxrow[bottomframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $1$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $2$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $3$ \stopxcell
\stopxrow
\startxrow[topframe=on,bottomframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $4$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $5$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $6$ \stopxcell
\stopxrow
\startxrow[topframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $7$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $8$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $9$ \stopxcell
\stopxrow
\stopxtable

--
Best regards,

Li Yanrui
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] The same Table, im Math Modus?

2023-03-22 Thread 李延瑞
Ursula Hermann via ntg-context  于2023年3月21日周二 20:45写道:

>
>
> I’d like to do a Table lik this one
>
> [image: enter image description here]
>
> I have no example. How can I do that?
>
>
>
You can use xtable, e.g.

\startxtable[frame=off,width=1cm,align=center]
\startxrow[bottomframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $1$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $2$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $3$ \stopxcell
\stopxrow
\startxrow[topframe=on,bottomframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $4$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $5$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $6$ \stopxcell
\stopxrow
\startxrow[topframe=on,frameoffset=1pt]
\startxcell[rightframe=on,frameoffset=1pt] $7$ \stopxcell
\startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $8$ \stopxcell
\startxcell[leftframe=on,frameoffset=1pt] $9$ \stopxcell
\stopxrow
\stopxtable

-- 
Best regards,

Li Yanrui
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] The same Table, im Math Modus?

2023-03-21 Thread Ursula Hermann via ntg-context
Von: Ursula Hermann
Gesendet: Montag, 13. März 2023 12:51
An: 'mailing list for ConTeXt users' 
Betreff: Table

I'd like to do a Table lik this one, is this possible with Math Modus?
[enter image description here]
I have no example. How can I do that?

Many thanks
Uschi


Von: Ursula Hermann
Gesendet: Montag, 13. März 2023 12:51
An: 'mailing list for ConTeXt users' 
Betreff: Table

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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___