ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* specify column-width, with option=stretch
@ 2020-11-04 14:04 Peter Münster
  2020-11-06  6:53 ` Peter Münster
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Münster @ 2020-11-04 14:04 UTC (permalink / raw)
  To: ConTeXt users

Hi,

I would like to specify the column-width of the first column to 5mm:

--8<---------------cut here---------------start------------->8---
\starttext
\setupTABLE[textwidth=99mm, option=stretch]
\setupTABLE[c][each][align={lohi, middle}]
\setupTABLE[c][1][height=5mm, style=\tfxx]
\framed[width=5mm, offset=0pt]{5}
\bTABLE
\bTR \bTD[nr=2] \setupinterlinespace[1.8ex] 1\\2\\3 \eTD
     \bTD bla \eTD \bTD blablabla \eTD \eTR
\bTR \bTD[nc=2] blabla \eTD \eTR
\eTABLE\par
\framed[width=99mm, offset=0pt]{99}
\stoptext
--8<---------------cut here---------------end--------------->8---

How could I do that please?

TIA for any hints,
-- 
           Peter
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: specify column-width, with option=stretch
  2020-11-04 14:04 specify column-width, with option=stretch Peter Münster
@ 2020-11-06  6:53 ` Peter Münster
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Münster @ 2020-11-06  6:53 UTC (permalink / raw)
  To: ConTeXt users

On Wed, Nov 04 2020, Peter Münster wrote:

> I would like to specify the column-width of the first column to 5mm:
>
> \starttext
> [...]
> \stoptext

Sorry, that wasn't really a minimal example.

Here a better file, to show what I'm looking for:

\setupTABLE[textwidth=10cm, option=stretch]
\setupTABLE[c][1][width=15mm]
\starttext
Width of first column should be 15mm, but it is not:\par
\bTABLE
\bTR \bTD ? \eTD \bTD bla \eTD \bTD blablablabla \eTD \eTR
\eTABLE\par
\stoptext

TIA for any help,
-- 
           Peter
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-06  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 14:04 specify column-width, with option=stretch Peter Münster
2020-11-06  6:53 ` Peter Münster

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).