vm via ntg-context schrieb am 15.04.2024 um 13:15:
I'm probably using the \starttable incorrectly:
with this code I only get only *one* horizontal line in the header
[...]
with this code I get two horizontal lines, but the second is too short.
[...]
with this code I get two horizontal lines, with correct length, but
above the wrong columns
[...]
diff:
\NC\DC\DC\DC\DL[4]\DL[4]\AR
\NC\DC\DC\DC\DL[4]\DL[3]\AR
\NC\DC\DC\DL[4]\DL[4]\AR
There is (probably) a correct way to solve this.
My suggestion is to switch to either natural table or extreme tables but
it seems to me there is a problem with the division lines which always
leave an empty column afterwards.
The following example should add horizontal lines above the first and
third column but this setting results in an error. When I omit the last
\DC the error disappears but as can be seen in the output the second
line appears above the fourth column.
\starttext
\starttable[||||||]
%\DL \DC \DL \DC \DC \DR
\DL[red] \DC \DL[red] \DC \DR
\VL 01 \VL 02 \VL 03 \VL 04 \VL 05 \VL\SR
\stoptable
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________