From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26696 Path: news.gmane.org!not-for-mail From: "Robert Engelhardt" Newsgroups: gmane.comp.tex.context Subject: Rows and lines in tables Date: Fri, 31 Mar 2006 23:23:35 +0200 Message-ID: <200603312123.k2VLNYDQ016349@svr14.dnsteam.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143840342 14699 80.91.229.2 (31 Mar 2006 21:25:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Mar 2006 21:25:42 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 31 23:25:37 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FPR7Z-0006VU-Mq for gctc-ntg-context-518@m.gmane.org; Fri, 31 Mar 2006 23:25:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C0B96127A0; Fri, 31 Mar 2006 23:25:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13179-01; Fri, 31 Mar 2006 23:25:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 349411278D; Fri, 31 Mar 2006 23:23:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1669C1278D for ; Fri, 31 Mar 2006 23:23:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11815-07 for ; Fri, 31 Mar 2006 23:23:39 +0200 (CEST) Original-Received: from svr14.dnsteam.de (srv14.dnsteam.de [213.9.46.20]) by ronja.ntg.nl (Postfix) with SMTP id 44BE01277C for ; Fri, 31 Mar 2006 23:23:38 +0200 (CEST) Original-Received: from [192.168.1.1] (213-172-122-093.dsl.aktivanet.de [213.172.122.93]) (authenticated bits=0) by svr14.dnsteam.de (8.13.3/8.12.10/SuSE Linux 0.7) with ESMTP id k2VLNYDQ016349 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 31 Mar 2006 23:23:36 +0200 Original-To: ConTeXt-Mailinglist Priority: normal X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-description: Mail message body X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26696 Archived-At: Hello all, I'm a new ConTeXt user (started using it a few days ago) and I do have three problems now with tables which I could not solve reading the manual and the content of the ConTeXt wiki. I've created a minimal example (see below) illustrating my problems: 1. How can create lines with different widths using the "\DL" command as I do with "\HL[]" oder "\VL[]"? This would, in my example, allow to align the "dummy" text in the first table with the numbers in the second table. 2. How can I create a carriage return in the text of a table cell? Neither "\crlf" nor "\\" do work (tried it with the "AAA" and "BBB" text in the first table to get them into the same cell. 3. How can I synchronize the height of the first two lines of the first table with those of the second table, no matter if there's a line between the rows (as in the second table, a thin one as in my example or even a fat one) or not (like in the first table which visually has a "big cell")? Can I create an "invisible line"? How do I line up the "BBB" with the "YYY / ZZZ" line? Or, another possibility, how do I control the rows independently, having the "BBB" in the first table very close to the "AAA", perhaps even three lines of text there, and at the same time only two rows of text in the second table? What about having only one line of text in the first table, vertically centered to the corresponding two rows of the second table? === [example] === \starttext \define\bold{8} \startcombination[2*1] {\starttable[|c|] \HL[\bold] \VL[\bold] AAA \VL[\bold]\FR \VL BBB \VL\LR \HL[\bold] \VL dummy1 \VL\SR \HL \VL dummy2 \VL\SR \HL \VL dummy3 \VL\SR \HL[\bold] \VL dummy4 \VL\SR \HL \VL dummy5 \VL\SR \HL \VL dummy6 \VL\SR \HL[\bold] \VL dummy7 \VL\SR \HL \VL dummy8 \VL\SR \HL \VL dummy9 \VL\SR \HL[\bold] \stoptable}{} {\starttable[|c|cw(3cm)|] \HL[\bold] \VL[\bold] \use{2} XXX \VL[\bold]\FR \HL \VL YYY \VL[1] ZZZ \VL\LR \HL[\bold] \VL 1 \VL \VL \SR \DL\VL\DR \VL 2 \VL \VL \SR \DL\VL\DR \VL 3 \VL \VL \SR \DL\VL\DR \VL 4 \VL \VL \SR \DL\VL\DR \VL 5 \VL \VL \SR \DL\VL\DR \VL 6 \VL \VL \SR \DL\VL\DR \VL 7 \VL \VL \SR \DL\VL\DR \VL 8 \VL \VL \SR \DL\VL\DR \VL 9 \VL \VL \SR \HL[\bold] \stoptable}{} \stopcombination \stoptext === [/example] === I know, a layout with all these horizontal lines and two tables sitting next to each other is not the best one, but I'm trying to reconstruct an existing document which is designed that way. Thanks for your help! Regards, Robert