[NTG-context] How to increase left and right padding of cells in a natural table?

Nicolas Grilly nicolas.grilly at garden-paris.com
Thu Jun 22 14:49:41 CEST 2006



Vit,

I just tried your solution, but it doesn't work: it adds space to the four
side of table cells. But I want to add space ONLY TO LEFT AND RIGHT, not to
top and bottom, like in the following illustration:

---------------------------------
|            My text            |
---------------------------------

 <--offset-->       <--offset-->


> Nicolas Grilly wrote:
> > Hello,
> >  
> > I'm using natural tables (\bTABLE ... \eTABLE) and/ /I want to 
> > increase the space between the cells borders and the text 
> inside the 
> > cells (CSS calls that left-padding and right-padding).
> >  
> > I didn't use parameter "offset" because I want to increase 
> only left 
> > and right padding. I don't want to increase top and bottom padding.
> 
> Let try
>     offset=2pt,                    % hor+vert each cell
>     distance=\zeropoint,           % individual column
>     columndistance=\zeropoint,     % each column (whole table)
>     leftmargindistance=\zeropoint, % whole table
>     rightmargindistance=\zeropoint,% whole table
> 
> Vit




More information about the ntg-context mailing list