Hello, Could you help me please? I don't get the desired result, 3 columns are added: \starttext \setupTABLE[width=\dimexpr \textwidth / 8 \relax] \bTABLE \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 \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 \eTR \bTR \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \bTD[nr=2]2 rows in 5. col\eTD \bTD[nr=4]4 rows in 6. col\eTD \eTR \bTR \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \bTD[nr=2]2 rows in 5. col\eTD \eTR \bTR \bTD 1 row in 5. col\eTD \eTR \eTABLE \stoptext Thanks in advance for any advice! Cheers, Peter -- http://pmrb.free.fr/contact/
On Mon, Sep 8, 2008 at 4:10 PM, Peter Münster
Hello,
Could you help me please? I don't get the desired result, 3 columns are added:
\starttext \setupTABLE[width=\dimexpr \textwidth / 8 \relax] \bTABLE \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 \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 \eTR \bTR \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \bTD[nr=2]2 rows in 5. col\eTD \bTD[nr=4]4 rows in 6. col\eTD \eTR \bTR \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \bTD[nr=2]2 rows in 5. col\eTD \eTR \bTR \bTD 1 row in 5. col\eTD \eTR \eTABLE \stoptext
Thanks in advance for any advice! Cheers, Peter
You should use pen and paper to contruct the table, it helps. \starttext \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 \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 \eTR \bTR \bTD[nr=2] 2 rows in 5. col\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 \eTR \bTR \bTD[nr=2] 2 rows in 5. col\eTD \eTR \bTR \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \eTR \bTR \bTD 1 row in 5. col\eTD \eTR \eTABLE \stoptext Wolfgang
On Mon, Sep 08 2008, Wolfgang Schuster wrote:
You should use pen and paper to contruct the table, it helps.
In fact, that's what I did. But now I understand better the logic how the rows must be defined. Thanks for your help! Cheers, Peter -- http://pmrb.free.fr/contact/
Now I would like to adjust the height of each row. But I manage to get the desired result only with a seventh fake 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 fake column? TIA for any help! Cheers, Peter -- http://pmrb.free.fr/contact/
participants (2)
-
Peter Münster
-
Wolfgang Schuster