[NTG-context] Cellspacing like in HTML-Tables?

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Apr 8 05:22:00 CEST 2014


Am 07.04.2014 um 23:49 schrieb Jan Heinen <JaHeinen at gmx.de>:

> Do you know cellspacing for HTML-Tables?
> How to do something simmilar for TABLE in ConTeXt?
> 
> \starttext
>    \bTABLE
>       \bTR
>           \bTD{Text 1}\eTD
>           \bTD{Text 2}\eTD
>       \eTR
>    \eTABLE
> \stoptext


\starttext

\bTABLE
  \bTR[offset=1cm]
    \bTD A \eTD
    \bTD B \eTD
  \eTR
\eTABLE

\bTABLE
  \bTR
    \bTD[loffset=1cm] A \eTD
    \bTD[toffset=1cm] B \eTD
    \bTD[roffset=1cm] C \eTD
    \bTD[boffset=1cm] D \eTD
  \eTR
\eTABLE

\bTABLE
  \bTR
    \bTD[width=1cm] A \eTD
    \bTD[height=1cm] B \eTD
  \eTR
\eTABLE

\stoptext

Wolfgang



More information about the ntg-context mailing list