All, How come I don't get frames (rightframe=on, bottomframe=on) in my table with this? \setupTABLE[background=screen,screen=0.8,color=darkred,frame=off] \setupTABLE[column][first][rightframe=on] \setupTABLE[row][first][bottomframe=on] \placetable[none]{}{% \bTABLE[align={middle,lohi},width=3em] \bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR \bTR \bTD $x_1$ \eTD \bTD $y_1$ \eTD \eTR \bTR \bTD $x_2$ \eTD \bTD $y_2$ \eTD \eTR \bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR \bTR \bTD $x_n$ \eTD \bTD $y_n$ \eTD \eTR \eTABLE}
Hi, When testing your code, indeed there are no partial frames as setup by \setupTABLE. What I detected is, that you can only switch on the outer lines of the table \setupTABLE[column][first][leftframe=on]%was:\setupTABLE[column][first][rightframe=on] \setupTABLE[row][last][bottomframe=on]%was:\setupTABLE[row][first][bottomframe=on] This is porbably something Hans should look at. I can't imagine that this is a feature :-) Willi David Arnold wrote:
All,
How come I don't get frames (rightframe=on, bottomframe=on) in my table with this?
\setupTABLE[background=screen,screen=0.8,color=darkred,frame=off] \setupTABLE[column][first][rightframe=on] \setupTABLE[row][first][bottomframe=on]
\placetable[none]{}{% \bTABLE[align={middle,lohi},width=3em] \bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR \bTR \bTD $x_1$ \eTD \bTD $y_1$ \eTD \eTR \bTR \bTD $x_2$ \eTD \bTD $y_2$ \eTD \eTR \bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR \bTR \bTD $x_n$ \eTD \bTD $y_n$ \eTD \eTR \eTABLE} _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
% Table test: frames % David Arnold % 1-11-2004 \setupoutput[pdftex] \setupcolors[state=start] \starttext \setupTABLE[background=screen,screen=0.8,color=darkred,frame=off] \setupTABLE[column][first][leftframe=on]%was:\setupTABLE[column][first][rightframe=on] \setupTABLE[row][last][bottomframe=on]%was:\setupTABLE[row][first][bottomframe=on] \placetable[none]{}{% \bTABLE[align={middle,lohi},width=3em] \bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR \bTR \bTD $x_1$ \eTD \bTD $y_1$ \eTD \eTR \bTR \bTD $x_2$ \eTD \bTD $y_2$ \eTD \eTR \bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR \bTR \bTD $x_n$ \eTD \bTD $y_n$ \eTD \eTR \eTABLE} \stoptext
Willi Egger wrote:
Hi,
When testing your code, indeed there are no partial frames as setup by \setupTABLE. What I detected is, that you can only switch on the outer lines of the table
\setupTABLE[column][first][leftframe=on]%was:\setupTABLE[column][first][rightframe=on]
\setupTABLE[row][last][bottomframe=on]%was:\setupTABLE[row][first][bottomframe=on]
This is porbably something Hans should look at. I can't imagine that this is a feature :-)
it's a side effect of table cells overlapping the linewidth \setupTABLE[background=screen,screen=0.8,color=darkred,frame=off] \setupTABLE[column][2][leftframe=on] \setupTABLE[row] [2][topframe=on] shows that. An alternative is: \setupTABLE[frame=off] \setupTABLE[column][1][rightframe=on] \setupTABLE[row] [1][bottomframe=on] \setupfloat[table][background=screen,screen=0.8,color=darkred] \placetable {} {\bTABLE[align={middle,lohi},width=3em] \bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR \bTR \bTD $x_1$ \eTD \bTD $y_1$ \eTD \eTR \bTR \bTD $x_2$ \eTD \bTD $y_2$ \eTD \eTR \bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR \bTR \bTD $x_n$ \eTD \bTD $y_n$ \eTD \eTR \eTABLE} 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 -----------------------------------------------------------------
Hi, Hans Hagen wrote:
Willi Egger wrote:
Hi,
When testing your code, indeed there are no partial frames as setup by \setupTABLE. What I detected is, that you can only switch on the outer lines of the table
\setupTABLE[column][first][leftframe=on]%was:\setupTABLE[column][first][rightframe=on]
\setupTABLE[row][last][bottomframe=on]%was:\setupTABLE[row][first][bottomframe=on]
This is porbably something Hans should look at. I can't imagine that this is a feature :-)
it's a side effect of table cells overlapping the linewidth
\setupTABLE[background=screen,screen=0.8,color=darkred,frame=off] \setupTABLE[column][2][leftframe=on] \setupTABLE[row] [2][topframe=on]
Indeed, this snippet works and gives two dividing lines within the table.
shows that. An alternative is:
\setupTABLE[frame=off] \setupTABLE[column][1][rightframe=on] \setupTABLE[row] [1][bottomframe=on]
Still, I do not understand this, when setting up the table with the above options, no lines do show up.??? Willi
\setupfloat[table][background=screen,screen=0.8,color=darkred]
\placetable {} {\bTABLE[align={middle,lohi},width=3em] \bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR \bTR \bTD $x_1$ \eTD \bTD $y_1$ \eTD \eTR \bTR \bTD $x_2$ \eTD \bTD $y_2$ \eTD \eTR \bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR \bTR \bTD $x_n$ \eTD \bTD $y_n$ \eTD \eTR \eTABLE}
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 -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (3)
-
David Arnold
-
Hans Hagen
-
Willi Egger