Changes

Jump to navigation Jump to search
1,206 bytes removed ,  01:57, 9 January 2011
<context source=yes>
It uses eTeX and is for huge tables that can spread over several pages horizontally and vertically.
It can repeat not only rows (headers, footers) but even columns.
 
<texcode>
\setuplinetable[n=6,m={2,2,2},regels=25]
 
\startlinetable
\NC aaa\crlf aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff \NC \NR
\dorecurse{10}
{\NC aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff \NC \NR}
\stoplinetable
 
\startlinetable
\NC[style=slanted,color=green,background=color,backgroundcolor=darkred,nx=2,uitlijnen=middle] xxx
\NC yy \NC ddddd \NC eeee \NC ff \NC \NR
\dorecurse{10}
{\NC aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff \NC \NR}
\stoplinetable
</texcode>
 
The sample looks like this:
<context source=yes>
Another sample, posted by Hans to the mailing list on 2004-12-14:
<texcode>\setuplinetable[ncontext source=6,lines=40] \setuplinetable[c][1] [width=2cm,background=color,backgroundcolor=red]\setuplinetable[c][4] [width=3cm,background=color,backgroundcolor=yellow]\setuplinetable[c][6] [width=3cm,background=color,backgroundcolor=magenta]\setuplinetable[r][odd] [background=color,backgroundcolor=gray]\setuplinetable[r][even][background=color,backgroundcolor=green] \starttext \showframe \showstruts \setupcolors[state=start] \startlinetable\dorecurse{5}{\NC aaa\crlf aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff} \NC \NR\dorecurse{100}{\dorecurse{5}{\NC aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff} \NC \NR}\stoplinetable \stoptext</texcode> looks like: <contextyes>
\setuplinetable[n=6,lines=40]
303

edits

Navigation menu