![](https://secure.gravatar.com/avatar/ab73c799733cb79686500b0adbf33bb8.jpg?s=120&d=mm&r=g)
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 ---------------------- 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{}?
\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!
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 ----------------------
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
wwl@musensturm.de