[NTG-context] [***SPAM***] Finetuning distances in cells

Aditya Mahajan adityam at umich.edu
Wed Apr 17 08:32:50 CEST 2013


On Wed, 17 Apr 2013, "H. Özoguz" wrote:

> In this example
>
> \starttext
> \starttable[|l|c|l|]
> \HL
> \NC \THREE\JustCenter \it Natürliche Methoden \NC \AR
> \HL
> \stoptable
> \stoptext
>
> (which, by the way, gives an syntax-error with "\startTABLE")
> the entry "Natürliche Methoden" is not perfectly vertically centered. The 
> distance above to the horizontal line is (very) little smaller than the 
> distance at the bottom. How to correct that? Perfectly it would be exactly 
> reversed, the distance above should be smaller, than at the bottom.

It is much easier to fine-tune details with Natural Tables. Each cell of a 
natural table is a frame, so you can use settings for frames to change the 
style.

\startsetups table:setups
\setupTABLE[align={lohi}, toffset=1pt, bottset=3pt, align=flushleft]
\stopsetups

\bTABLE[setup=table:setups]
\bTR
   \bTD[nc=3, align=middle, style=italic]
        Natürliche Methoden
   \eTD
\eTR
\bTR
   \bTD One    \eTD
   \bTD Two    \eTD
   \bTD Three  \eTD
\eTR
\eTABLE

Aditya


More information about the ntg-context mailing list