* Table: horizontal border lines, but not everywhere
@ 2000-10-12 11:17 Tobias Burnus
2000-10-12 13:07 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Burnus @ 2000-10-12 11:17 UTC (permalink / raw)
Hi,
How can I create something like:
-----------------------------------
Row 1 Row 2 Row 3 Row 4 Row 5
------------- -------
Row 1 Row 2 Row 3 Row 4 Row 5
------ --------------
Row 1 Row 2 Row 3 Row 4 Row 5
COL 4a ----------------------------
Row 1 Row 2 Row 3 Row 4 Row 5
-----------------------------------
Best would be if the Row1-Col4a-Row1 part be one cell (since it prevents
the need to hyphenate oneself; I haven't tried \LOW yet since I my main
problem is the rules between the table rows.
I tried \DL \DC \DL[4] \DR to get:
Time Mo Tu We Th Fr
---- -----------
But it produces errors. Using \DL \DC \DL \DL \DL \DL \DR doesn't
produce errors, but it doen't work either (wrong output).
Tobias
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Table: horizontal border lines, but not everywhere
2000-10-12 11:17 Table: horizontal border lines, but not everywhere Tobias Burnus
@ 2000-10-12 13:07 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-10-12 13:07 UTC (permalink / raw)
Cc: NTG-ConTeXt
At 01:17 PM 10/12/00 +0200, Tobias Burnus wrote:
>Hi,
>
>How can I create something like:
>
>
>-----------------------------------
>Row 1 Row 2 Row 3 Row 4 Row 5
>------------- -------
>Row 1 Row 2 Row 3 Row 4 Row 5
>------ --------------
>Row 1 Row 2 Row 3 Row 4 Row 5
>COL 4a ----------------------------
>Row 1 Row 2 Row 3 Row 4 Row 5
>-----------------------------------
>
>Best would be if the Row1-Col4a-Row1 part be one cell (since it prevents
>the need to hyphenate oneself; I haven't tried \LOW yet since I my main
>problem is the rules between the table rows.
>
>I tried \DL \DC \DL[4] \DR to get:
>
>Time Mo Tu We Th Fr
>---- -----------
>
>But it produces errors. Using \DL \DC \DL \DL \DL \DL \DR doesn't
>produce errors, but it doen't work either (wrong output).
This has to do with the fact that \omits and \spans are interfering and
that's about the worst part of tex once you try to write macros -)
How about the following, awful sequence of commands:
\setupTABLE[frame=off,width=3em]
\setupTABLE[c][each][align={middle,lohi}]
\setupTABLE[r][1,4][topframe=on]
\setupTABLE[r][3,4][bottomframe=on]
\setupTABLE[1,4][2][topframe=on,bottomframe=on]
\setupTABLE[2][2][topframe=on]
\setupTABLE[3][2][bottomframe=on]
\bTABLE
\bTR \bTD1/1\eTD \bTD1/2\eTD \bTD1/3\eTD \bTD1/4\eTD
\bTD1/5\eTD \eTR
\bTR \bTD2/1\eTD \bTD2/2\eTD \bTD2/3\eTD \bTD2/4\eTD
\bTD2/5\eTD \eTR
\bTR \bTD[nr=2]3/1 34/1 4/1\eTD \bTD3/2\eTD \bTD3/3\eTD \bTD3/4\eTD
\bTD3/5\eTD \eTR
\bTR \bTD4/2\eTD \bTD4/3\eTD \bTD4/4\eTD
\bTD4/5\eTD \eTR
\eTABLE
I hope you don't hate me for this -)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-10-12 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-12 11:17 Table: horizontal border lines, but not everywhere Tobias Burnus
2000-10-12 13:07 ` Hans Hagen
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).