Am 19.04.2011 um 03:18 schrieb Reviczky, Adam:

> Hi
> 
> I stumbled upon this while making a table with rules, where I wanted to have 
> a particular row highlighted with a thicker border:
> http://www.mail-archive.com/[email protected]/msg33678.html
> 
> Since this was posted more then two years ago, I just wanted to know if 
> anything changed on this front?
> Having r|l|t|b-offsets I thought I could use the same for rulethickness, but 
> according to this, not yet.

No, there is only one value for all four borders.

> The metapost workaround works still fine, so for now I'm using that, just 
> want to know what's the status on this.

It’s the same as in the past, use MetaPost but there are better ways to change 
values of certain borders:

\startuseMPgraphic{tableborders}
draw leftboundary   OverlayBox withpen pensquare scaled 
\frameddimension{leftrulethickness}   ;
draw rightboundary  OverlayBox withpen pensquare scaled 
\frameddimension{rightrulethickness}  ;
draw topboundary    OverlayBox withpen pensquare scaled 
\frameddimension{toprulethickness}    ;
draw bottomboundary OverlayBox withpen pensquare scaled 
\frameddimension{bottomrulethickness} ;
setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\defineoverlay[tableborders][\useMPgraphic{tableborders}]

\setupTABLE
  [         background=tableborders,
     leftrulethickness=\framedparameter{rulethickness},
    rightrulethickness=\framedparameter{rulethickness},
      toprulethickness=\framedparameter{rulethickness},
   bottomrulethickness=\framedparameter{rulethickness}]

\starttext
\bTABLE\bTR
\bTD One \eTD
\bTD[toprulethickness=3pt] Two \eTD
\bTD[rightrulethickness=2pt] Three \eTD
\eTR
\eTABLE
\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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 via email to