From: Herbert Voss <Herbert.Voss@FU-Berlin.DE>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \startlinetable
Date: Sat, 13 Nov 2010 11:01:10 +0100 [thread overview]
Message-ID: <4CDE61E6.8050201@FU-Berlin.DE> (raw)
An example drom the wiki:
\setuplinetable[n=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
! Missing number, treated as zero.
<to be read again>
d
\!!depth ->d
epth
\domakeblackrule ...!!height \@@bjheight \!!depth
\@@bjdepth \stopcolor
\complexblackrule ...[\??bj ][#1]\domakeblackrule
\egroup
<argument> ...depth }, \c!width =\wd \scratchbox ]
\hskip -\wd
\scratchbox \b...
\firstoftwoarguments #1#2->#1
...
l.16 ...aa \NC bb \NC c \NC ddddd \NC eeee \NC ff}
\NC \NR
?
current minimal mkii and mkiv
Herbert
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2010-11-13 10:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4CDE61E6.8050201@FU-Berlin.DE \
--to=herbert.voss@fu-berlin.de \
--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).