From: Hans Hagen <pragma@wxs.nl>
Subject: Re: table questions
Date: Fri, 18 Aug 2006 00:08:42 +0200 [thread overview]
Message-ID: <44E4E8EA.2080305@wxs.nl> (raw)
In-Reply-To: <44E4ED08.17422.14478CF@wwl.musensturm.de>
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
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-08-17 22:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.357.1155686115.2039.ntg-context@ntg.nl>
2006-08-17 20:26 ` wwl
2006-08-17 22:08 ` Hans Hagen [this message]
[not found] <mailman.392.1155890252.2039.ntg-context@ntg.nl>
2006-08-18 15:09 ` wwl
2006-08-15 23:58 wwl
-- strict thread matches above, loose matches on Subject: below --
2005-04-22 8:21 Hans Hagen
2005-04-27 12:15 ` Eckhart Guthöhrlein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44E4E8EA.2080305@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).