[NTG-context] Grid-keeping table
Johannes Kuester
jk at typoma.com
Wed Mar 28 16:16:01 CEST 2007
It seems linetable would do just what I need (at least I get rid of the
strut / unwanted vertical spacing problem, so I do get a grid-keeping
table), but:
Is there a way to use linetable in two-column mode?
(i.e. the consecutive lines of my table should be set just like normal
text would in two-column mode).
Currently linetable just streches over the whole textwidth, as it adds
white space between columns.
Johannes
%%%%%%%%%%
In my previous example below, using
\setuplinetable[n=4]
\setuplinetable[c][1] [width=6mm]
\setuplinetable[c][2] [width=5mm]
\setuplinetable[c][3] [width=51mm]
\setuplinetable[c][4] [width=1mm]
and then startlinetable / stoplinetable instead of start/stoptabulate
works fine for the vertical spacing problem.
>> %%%%%%%%%%
>>
>> \setuplayout[grid=yes]
>>
>> \showgrid
>> \showstruts
>>
>> \starttext
>>
>> \input tufte
>>
>> \starttabulate[|p(.1\textwidth)|p(.1\textwidth)|p(.5\textwidth)|p(.2\textwidth)|]%
>> \NC 002B
>> \NC $+$
>> \NC plus; Addition
>> \NC
>> \NR
>> \NC 00D7
>> \NC $\times$
>> \NC kartesisches Produkt (von Mengen);\hfill\break
>> Kreuzprodukt (Vektorprodukt);\hfill\break
>> mal; Produkt (bei Zahlwerten)
>> \NC
>> \NR
>> \NC 2217
>> \NC $*$
>> \NC (Stern, Asterisk); Konvolution; Faltung; Produkt
>> \NC
>> \NR
>> \NC 22C6
>> \NC $\star$
>> \NC (Stern); Zeichen fuer spezielle Produkte
>> \NC
>> \NR
>> \stoptabulate
>>
>> \blank
>>
>> \input tufte
>>
>> \stoptext
>>
>> %%%%%%%%%%
--
Johannes Kuester
typoma
mailto:jk at typoma.com
http://www.typoma.com
More information about the ntg-context
mailing list