Am 02.09.2010 um 22:47 schrieb Jan Pohanka:
Hello,
is it possible to increase border width of single row (or column) without affecting "inner" (between cell) borders using TABLE macro?
On the wiki, there is a solution for wider border around whole table using additional \framed, would work something similar for single row?
You can metapost to draw another border behind the cell. \startuniqueMPgraphic{row:left} draw leftboundary OverlayBox withpen pensquare scaled 2pt ; draw topboundary OverlayBox withpen pensquare scaled 2pt ; draw bottomboundary OverlayBox withpen pensquare scaled 2pt ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{row:middle} draw topboundary OverlayBox withpen pensquare scaled 2pt ; draw bottomboundary OverlayBox withpen pensquare scaled 2pt ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{row:right} draw rightboundary OverlayBox withpen pensquare scaled 2pt ; draw topboundary OverlayBox withpen pensquare scaled 2pt ; draw bottomboundary OverlayBox withpen pensquare scaled 2pt ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[row:left] [\uniqueMPgraphic{row:left}] \defineoverlay[row:middle][\uniqueMPgraphic{row:middle}] \defineoverlay[row:right] [\uniqueMPgraphic{row:right}] \starttext \setupTABLE[row] [2][background=row:middle] \setupTABLE[first][2][background=row:left] \setupTABLE[last] [2][background=row:right] \bTABLE \bTR \bTD 1 \eTD\bTD 2 \eTD\bTD 3 \eTD \eTR \bTR \bTD 4 \eTD\bTD 5 \eTD\bTD 6 \eTD \eTR \bTR \bTD 7 \eTD\bTD 8 \eTD\bTD 9 \eTD \eTR \eTABLE \stoptext Wolfgang