Am 27.10.2009 um 15:45 schrieb Steffen Wolfrum:
Hi,
does someone has a solution for setting dashed and dotted lines in TABLE?
\startuniqueMPgraphic{dottedline:top} draw topboundary OverlayBox dashed withdots withcolor red withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{dashedline:bottom} draw bottomboundary OverlayBox dashed evenly withcolor blue withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{dashedline:left} draw leftboundary OverlayBox dashed dashpattern(on 3mm off 3mm) withcolor green withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \startuniqueMPgraphic{solidline:bottomright} draw origin--(OverlayWidth,0)--(OverlayWidth,OverlayHeight) withpen pencircle scaled 2 ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[dottedline:top] [\uniqueMPgraphic{dottedline:top}] \defineoverlay[dashedline:bottom] [\uniqueMPgraphic {dashedline:bottom}] \defineoverlay[dashedline:left] [\uniqueMPgraphic{dashedline:left}] \defineoverlay[solidline:bottomright][\uniqueMPgraphic {solidline:bottomright}] \setupTABLE[frame=off] \setupTABLE[1][1][background=dottedline:top] \setupTABLE[2][1][background=dashedline:bottom] \setupTABLE[1][2][background=dashedline:left] \setupTABLE[2][2][background=solidline:bottomright] \starttext \bTABLE \bTR\bTD\input knuth \eTD\bTD\input ward \eTD\eTR \bTR\bTD\input knuth \eTD\bTD\input ward \eTD\eTR \eTABLE \stoptext Wolfgang