[NTG-context] Vertical alignment in Natural tables

Wolfgang Schuster wolfgang.schuster at gmail.com
Mon Aug 27 20:45:46 CEST 2012


Am 27.08.2012 um 20:37 schrieb Aditya Mahajan <adityam at umich.edu>:

> Hi,
> 
> How do I set the vertical alignment of cells in natural tables? I remember that
> 
> \setupTABLE[align={middle,middle}]
> 
> used to set center align vertically and horizontally. Currently, \setupTABLE[align={middle,high}] and \setupTABLE[align={middle,low}] work as expected, but \setupTABLE[align={middle,middle}] does not work.
> 
> I also tried \setupTABLE[location={low}] (or lohi, or middle), but the calculation of height is wrong in those cases.
> 
> Minimal example:
> 
> 
>    \startsetups table
>      \setupTABLE[align={middle,middle}]
>    \stopsetups
> 
>    \starttext
> 
>    \startTABLE[setups=table]
>      \NC Ward \NC \input ward \endgraf \NC \NR
>    \stopTABLE
> 
>    \stoptext

Can you show your output because I can’t see something odd with \setupTABLE[align={middle,loci}]

Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 8627 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120827/9f3d009e/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/octet-stream
Size: 170 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120827/9f3d009e/attachment.obj>
-------------- next part --------------




More information about the ntg-context mailing list