From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30380 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: table questions Date: Fri, 18 Aug 2006 00:08:42 +0200 Message-ID: <44E4E8EA.2080305@wxs.nl> References: <44E4ED08.17422.14478CF@wwl.musensturm.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 1155852547 3856 80.91.229.2 (17 Aug 2006 22:09:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2006 22:09:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 18 00:09:05 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 1GDq2u-0007AY-OW for gctc-ntg-context-518@m.gmane.org; Fri, 18 Aug 2006 00:09:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B6BD1FE78; Fri, 18 Aug 2006 00:09:00 +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 09606-01; Fri, 18 Aug 2006 00:08:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA9811FE91; Fri, 18 Aug 2006 00:08:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C3AFA1FE91 for ; Fri, 18 Aug 2006 00:08:50 +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 08635-03-3 for ; Fri, 18 Aug 2006 00:08:45 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with SMTP id B2BBD1FE78 for ; Fri, 18 Aug 2006 00:08:44 +0200 (CEST) Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 1546 for ; Fri, 18 Aug 2006 00:08:44 +0200 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) Original-To: mailing list for ConTeXt users In-Reply-To: <44E4ED08.17422.14478CF@wwl.musensturm.de> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:30380 Archived-At: wwl@musensturm.de wrote: > Hallo! > > Has anybody same effects? Or is this me alone? > Should this work, or is tableenvironment still experimental and those > effects normal? > > Wolfgang > > >> I have studied the table examples at contextgarden and have some >> questions. >> ---------------------- >> \|10 as a relacement for \VL gives me thicker vert. lines in that >> position only. How can I define a thicker vert. Line for the whole >> column? My attempts in \starttable[..\|10..] doesn't work. >> ---------------------- >> Why is there so little space between the two rows of the table >> below? >> >> \starttable[|l|p(.7\textwidth)|] >> \HL >> \NC bla1 \VL Eins \type{zwei} drei. Eins zwei drei. Eins zwei drei >> \type{vier} >> oder \type{sechs}l. Das ist der Leerraum zwischen den Spalten >> \type{n}. \FR >> \NC bla2 \VL Eins, zwei \type{drei} \LR >> \HL >> \stoptable >> \NC \FR and \NC \LR you need to finish the column >> ---------------------- >> The two tables in the example below are differing and show, that >> \SetTableToWidth{0pt} doesn't reset the situation. >> >> What is the defaultvalue/resetvalue for \SetTableToWidth{}? >> i had to look that one up in thrd-tab -) it sets a token list \unprotect [\the\!taTableSpread] \protect This is a better definition than the orginal TaBlE one: \def\SetTableToWidth#1% {\doifelsenothing{#1}{\!taTableSpread\emptytoks}{\!taTableSpread{to #1}}} >> \starttable[|l|l|] >> \VL 11 \VL 12 \VL\FR >> \VL 21 \VL 22 \VL\LR >> \stoptable >> >> \SetTableToWidth{\textwidth} >> % some other table stuff >> \SetTableToWidth{0pt} >> >> \starttable[|l|l|] >> \VL 11 \VL 12 \VL\FR >> \VL 21 \VL 22 \VL\LR >> \stoptable >> ---------------------- >> Look at the example below: >> >> Without any \SetTableToWidth{} this table has neither hor. Lines nor >> green color. The gray is there. Why? >> >> Variant 1: >> This is an combination of two wiki-examples. The first column of the >> table is about \textwidth (a little bit smaller). Why? >> Between the gray and the second hor. Line there is a small white >> area. Same between green and fourth hor. Line. Hmm! >> colors in those tables are a bit of a hack; i need to reimplement this (i.e. merge the original and the patches) aftwr which i can improve the code >> Variant 2: >> Hor. Line and green area are .2\textwidth as expected. But gray area >> is about .6\textwidth and so is the column as a whole. Why that? >> >> Variant 3: >> All ok now. Even the spacing between coloured areas and lines is >> ok. >> >> \setupcolors[state=start] >> \starttext >> >> %\SetTableToWidth{.2\textwidth} % Variant 2 >> \SetTableToWidth{\textwidth} % Variant 1 >> \starttable[|lp(.45\textwidth)|lp(.45\textwidth)|] >> \HL >> \BL[1]\SR >> %\VL Command \VL Meaning \VL\SR % Variant 3 >> \NC Command \NC Meaning \SR >> \HL >> \NC \tex{NC} \NC next column \FR >> \NC \tex{NR} \NC next row \LR >> \HL >> \CL[green]\SR >> \NC \tex{AR} \NC automatic row \SR >> \HL >> \stoptable >> \stoptext >> ---------------------- >> > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------