On Thu, Sep 30 2010, Patrick Gundlach wrote:
> 
> I still have some problems with TABLE:
> 
> \bTABLE[frame=on]

We need to know the values for rulethickness and offset, so let's define them:

\bTABLE[frame=on, rulethickness=0.5pt, offset=0.1em]


>   \bTD[frame=off,rightframe=on,rulethickness=1mm] abc \eTD

Now, it gets ugly:

  \bTD[frame=off,rightframe=on,rulethickness=1mm,
    offset=\dimexpr 0.1em + 0.5pt - 1mm \relax, roffset=0.1em] abc \eTD

See also: http://tracker.luatex.org/view.php?id=427


>   \bTD[nc=2,nr=2,background=color, backgroundcolor=yellow]
>   \externalfigure[cow][width=.2\textwidth]  \eTD

2 options:

- The cow gets smaller: \externalfigure[cow][width=\localhsize]
  (does not work, I don't know why...)

- The table cells get bigger. You have to define the width. If you want to
  span the cow 50%/50%, then
  \setupTABLE[c][2,3][width=0.1\textwidth]

I wonder, why there is no such problem with the height... ?

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


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

maillist : ntg-context@ntg.nl / 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