From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2963 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Table: horizontal border lines, but not everywhere Date: Thu, 12 Oct 2000 15:07:29 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001012150729.01331580@pop.wxs.nl> References: <39E59DE4.697D7B98@gmx.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393733 13167 80.91.224.250 (23 Oct 2002 17:22:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:22:13 +0000 (UTC) Cc: NTG-ConTeXt Original-To: Tobias Burnus In-Reply-To: <39E59DE4.697D7B98@gmx.de> Xref: main.gmane.org gmane.comp.tex.context:2963 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2963 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 -------------------------------------------------------------------------