ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* table questions
@ 2006-08-15 23:58 wwl
  0 siblings, 0 replies; 6+ messages in thread
From: wwl @ 2006-08-15 23:58 UTC (permalink / raw)


Hallo!

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
----------------------

Wolfgang

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.392.1155890252.2039.ntg-context@ntg.nl>]
[parent not found: <mailman.357.1155686115.2039.ntg-context@ntg.nl>]
* table questions
@ 2005-04-22  8:21 Hans Hagen
  2005-04-27 12:15 ` Eckhart Guthöhrlein
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2005-04-22  8:21 UTC (permalink / raw)


Hi,

I'm fighting deadlines right now, but later i'll try to get a look at the 
current table thread (maybe someone can summarize the problem)

Hans


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-18 15:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-15 23:58 table questions wwl
     [not found] <mailman.392.1155890252.2039.ntg-context@ntg.nl>
2006-08-18 15:09 ` wwl
     [not found] <mailman.357.1155686115.2039.ntg-context@ntg.nl>
2006-08-17 20:26 ` wwl
2006-08-17 22:08   ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2005-04-22  8:21 Hans Hagen
2005-04-27 12:15 ` Eckhart Guthöhrlein

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).