ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: rows and columns in TABLE (fwd)
@ 2008-09-11 20:56 Peter Münster
  0 siblings, 0 replies; only message in thread
From: Peter Münster @ 2008-09-11 20:56 UTC (permalink / raw)
  To: ConTeXt list

Hello,

I would like to adjust the height of each row. But I manage to get the
desired result only with a seventh dummy column. Consider this example with
and without the mode "seven":

%\enablemode[seven]
\starttext
\setupTABLE[r][2,3,4,5,6,7][height=6ex]
\bTABLE[width=0.125\textwidth]
\bTR
\bTH 1. col\eTH
\bTH 2. col\eTH
\bTH 3. col\eTH
\bTH 4. col\eTH
\bTH 5. col\eTH
\bTH 6. col\eTH
\doifmode{seven}{\bTH 7. col\eTH}
\eTR
\bTR
\bTD[nr=6]6 rows in 1. col\eTD
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=6]6 rows in 3. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD 1 row in 5. col\eTD
\bTD[nr=2]2 rows in 6. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2] 2 rows in 5. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD[nr=4]4 rows in 6. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2] 2 rows in 5. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD 1 row in 5. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\eTABLE
\stoptext

Any hints, you to adjust the heights without the dummy column?

TIA for any help!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-11 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-11 20:56 rows and columns in TABLE (fwd) 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).